Wednesday, November 26, 2025
Show HN: Safe-NPM – only install packages that are +90 days old https://ift.tt/oG9In2x
Show HN: Safe-NPM – only install packages that are +90 days old This past quarter has been awash with sophisticated npm supply chain attacks like [Shai-Hulud]( https://ift.tt/CKMe0h6... () and the [Chalk/debug Compromise]( https://www.wiz.io/blog/widespread-npm-supply-chain-attack-b... ). This CLI helps protect users from recently compromised packages by only downloading packages that have been public for a while (default is 90 days or older). Install: npm install -g @dendronhq/safe-npm Usage: safe-npm install react@^18 lodash How it works: - Queries npm registry for all versions matching your semver range - Filters out anything published in the last 90 days - Installs the newest "aged" version Limitations: - Won't protect against packages malicious from day one - Doesn't control transitive dependencies (yet - looking into overrides) - Delays access to legitimate new features This is meant as a 80/20 measure against recently compromised NPM packages and is not a silver bullet. Please give it a try and let me know if you have feedback. https://ift.tt/C8WFPtb November 24, 2025 at 03:44AM
Subscribe to:
Post Comments (Atom)
Show HN: Nodea, an open-source AI canvas for working through complex projects https://ift.tt/IDxUipY
Show HN: Nodea, an open-source AI canvas for working through complex projects https://nodea.ai/demo June 9, 2026 at 11:14PM
-
Show HN: Music player for big local collections with mpd support mpz is a C++/Qt music player focused on UX, with derectory tree and playlis...
-
Show HN: Stickerbox, a kid-safe, AI-powered voice to sticker printer Bob and Arun here, creators of Stickerbox. If AI were built for kids, w...
-
Show HN: HCB Mobile – financial app built by 17 y/o, processing $6M/month Hey everyone! I just built a mobile app using Expo (React Native) ...
No comments:
Post a Comment