News for hackers. Stuff that matters.
Re:Self Propagating NPM Malware Compromises over 40 Packages by mewpmewp2 on Tuesday September 16, 2025 @08:03AM (#45261088)
Which programming languages/frameworks do you use? Do you use 1Password to load secrets to env where you run whatever thing you are working on? Or does the app load them during boot?
Re:Self Propagating NPM Malware Compromises over 40 Packages by diggan on Tuesday September 16, 2025 @08:07AM (#45261127)
A bunch, ranging from JS to Clojure and everything in-between, depends on the project.

The approach also depends on the project. There is a bunch of different approaches and I don't think there is one approach that would work for every project, and sometimes I requires some wrangling but takes 5-10 minutes tops.

Some basic information about how you could make it work with 1Password: https://developer.1password.com/docs/cli/secrets-environment...

Re:Self Propagating NPM Malware Compromises over 40 Packages by mewpmewp2 on Tuesday September 16, 2025 @08:26AM (#45261319)
How long have you been using that method? I didn't feel it's been very popular so far, although it makes a lot of sense. I've always seen people using gitignored .env files/config dirs in projects with many hardcoded credentials.