safe-npm
audit-ci
safe-npm | audit-ci | |
---|---|---|
2 | 1 | |
2 | 254 | |
- | 0.0% | |
0.0 | 4.1 | |
about 2 years ago | about 1 month ago | |
JavaScript | TypeScript | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
safe-npm
audit-ci
-
NPM Audit: Broken by Design
For those hoping to run npm audit in your CI/CD pipeline, I recommend this tool from IBM: https://github.com/IBM/audit-ci
In highly regulated industries, shipping code flagged as having a vuln without a manual approval could be a liability.
This wrapper around npm takes an allowlist argument, and our procedure is for an engineer to review the failing build, determine if the vulnerability (ugh, usually regex ddos or prototype pollution) is present in code that runs only at build time with trusted inputs, only on the client which is by definition untrusted, or in our webserver which takes in untrusted input.
As long as it's either of the first two, we document it in a commit and comment and redeploy. It's annoying, but it's far better than npm audit forcing a fix.
What are some alternatives?
node-safe - 🤠 Make using Node.js safe again with Deno-like permissions
enquirer - Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and many others! Please follow Enquirer's author: https://github.com/jonschlinkert
node-fast-ratelimit - :umbrella: Fast and efficient in-memory rate-limit for Node, used to alleviate most common DOS attacks.
is-number - JavaScript/Node.js utility. Returns `true` if the value is a number or string number. Useful for checking regex match results, user input, parsed strings, etc.
safe-node
salus - We would like to request that all contributors please clone a *fresh copy* of this repository since the September 21st maintenance.
password-generator - A fast, simple, and powerful open-source utility tool for generating strong, unique, and random passwords. The Password Generator supports various types of passwords including base64-encoded, memorable, and complex strong passwords.
pinst - 🍺 dev only postinstall hooks (package.json)
npq - 🎖safely* install packages with npm or yarn by auditing them as part of your install process
pwndoc - Pentest Report Generator
pkg-vuln-collab-space - Project for work on improved Package Vulnerability Management & Reporting
isolate-package - Isolate a monorepo package with its internal dependencies to form a self-contained directory with a pruned lockfile