npq
safe-npm
npq | safe-npm | |
---|---|---|
4 | 2 | |
863 | 2 | |
- | - | |
7.7 | 0.0 | |
3 months ago | about 2 years ago | |
JavaScript | JavaScript | |
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.
npq
-
I wish more developers understood the constant stream of malware that is posted to npm
You might also want to look at npq which is an open source project that helps you proactively defend against potentially bad (malicious) npm packages before installing them.
-
The rising trend of malicious packages in open source ecosystems | Snyk
You just described my project called npq: https://github.com/lirantal/npq :-)
-
Packj sandbox for “safe installation” of Ruby gems
That's pretty cool. I was just recently publishing about Ruby gem lockfile injection attacks (read here: https://snyk.io/blog/ruby-gem-installation-lockfile-injection-attacks/). I also wrote something related to this for npm users, but not a sandbox, called npq: https://github.com/lirantal/npq/
-
npm package node-ipc was found to contain malicious code that wipes files on disk
In any case, proactively protecting against is indeed the more difficult thing to do, but also the rarer and sort of 0 day vulnerabilities that happen. That said, I built a module called npq (see here https://github.com/lirantal/npq/) that helps me, and others, countermeasure against these sort of malicious incidents. In light of recent malicious incidents, it calls for updating some of the capabilities there (referred to as marshalls)
safe-npm
What are some alternatives?
pwndoc - Pentest Report Generator
audit-ci - Audit NPM, Yarn, and PNPM dependencies in continuous integration environments, preventing integration if vulnerabilities are found at or above a configurable threshold while ignoring allowlisted advisories
v8-vulnerabilities - Corpus of public v8 vulnerability PoCs.
node-safe - 🤠 Make using Node.js safe again with Deno-like permissions
lockfile-lint - Lint an npm or yarn lockfile to analyze and detect security issues
node-fast-ratelimit - :umbrella: Fast and efficient in-memory rate-limit for Node, used to alleviate most common DOS attacks.
download-node-nightly-executable - Download node nightly executable
safe-node
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.