
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Accurately detect which Node dependencies are in-use with V8 Coverage 🔥
$ npx deps [...command]
eg. npx deps npm run build
Install globally if you don't want to use it via npx.
npm i -g deps
Prefix your Node command with deps
and it will analyze and output the dependencies it used
$ deps ...
eg. deps npm run build
Prerequisite: install deps
globally
$ . deps-start
npm run dev
npm run build
npm run lint
$ deps analyze
deps analyze -o output.json
deps -f output.json
$ . deps-stop
deps
detects which modules are loaded by using V8's code coverage feature, so it's very accurate. However, it doesn't detect file-system reads, as they are simply read as text rather than actually being parsed and executed. That means it can't detect what files are statically analyzed by bundlers (eg. Webpack, Rollup, etc.). I am considering supporting FS reads in the future.
depcheck
?depcheck
statically analyzes your project to see which dependencies are imported, avoiding the need to execute code. In contrast, deps
executes code to analyze which dependencies were loaded during run-time. They work in completely different ways, but a major drawback for me is that depcheck
requires a "special" for supporting whether a module was loaded via dev-tools.
MIT
FAQs
Node dependency usage checker using V8 Coverage
The npm package deps receives a total of 6,577 weekly downloads. As such, deps popularity was classified as popular.
We found that deps demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.