npm Security Best Practices
github.com · Open source · Active
Community guide to protecting against npm supply chain attacks
- Security & privacy
- Open source
- PowerShell
- Day-7 check
- Day-30 check
- npm
- supply chain
- security
- deno
- javascript
- list
- nodejs
- pnpm
- yarn
- awesome
- Stars
- 859
- Forks
- 23
- Open issues
- 4
- Last commit
- Releases
- 12
- Found
- 14 months ago
GitHub figures as of . They are context, not a ranking.
npm Security Best Practices is a continuously updated list of tips for staying safe from npm supply chain attacks, maintained as a GitHub repository. Contributors are invited to add their own practices. It suits developers who want a checklist for securing npm dependencies.
Repository description on GitHub: “[Updated for AI 🤖] Continuous updates on how to stay safe from NPM supply chain attacks”
What it does
- Tips for avoiding npm supply chain attacks
- Advises disabling lifecycle scripts and setting release cooldowns
- Covers npm, bun, deno, pnpm and yarn
Good for
- Harden npm installs against supply chain attacks
- Work through an immediate-actions list after a dependency compromise
Suits: Developers who want a checklist for securing npm dependencies.
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw npm Security Best Practices on , when bodash posted it to Show HN. The oldest published release on GitHub is v2025.9.30, dated . Its first tagged release came 9 days after it was found. 12 releases have been published in total; the latest is v2026.11.12 ().
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 96 points, 55 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 2 releases shipped
- 2 releases in the first 30 days: v2025.9.30 (30 Sep 2025), v2025.10.8 (8 Oct 2025)
- Show HN discussion at check time: 96 points, 55 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: bodadotsh/npm-security-best-practices
- Found: bodash posted it to Show HN. Show HN
- Release v2025.9.30
- Release v2026.3.31
- Release v2026.4.30
- Release v2026.5.29
- Release v2026.6.30
- Release v2026.9.24
- Release v2026.11.12
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Showing the first and the 6 latest of 12 releases. All releases on GitHub
Quick answers
- When was npm Security Best Practices released?
- Its first tagged release on GitHub is dated 30 Sep 2025. Kip found it on Show HN on 21 Sep 2025.
- Is npm Security Best Practices open source?
- Its source is public on GitHub at bodadotsh/npm-security-best-practices under the MIT licence.
- Is npm Security Best Practices free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is npm Security Best Practices still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | bodadotsh/npm-security-best-practices REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-45326754. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
- DepsGuardMaintained
CLI that hardens npm, pnpm, yarn, bun, and uv configs against supply chain attacks
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.