Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@trumbitta/nx-plugin-unused-deps
Advanced tools
[![NPM Version](https://badge.fury.io/js/%40trumbitta%2Fnx-plugin-unused-deps.svg)](https://www.npmjs.com/@trumbitta/nx-plugin-unused-deps) [![License](https://img.shields.io/npm/l/@trumbitta/nx-plugin-unused-deps)]()
Check the dependency graph of your monorepo, looking for unused NPM packages.
It's a plugin for cross checking the dependency graph of a Nx monorepo with its package.json
and finding seemingly unused NPM packages.
Add it to your postinstall script, wire it up into the linting phase of your CI pipeline, run it manually every once in a while... or let me know how you use it!
npm install -D @trumbitta/nx-plugin-unused-deps
nx generate @trumbitta/nx-plugin-unused-deps:check --no-interactive
nx generate @trumbitta/nx-plugin-unused-deps:check --json --no-interactive
package.json
⛔️ Heads up!
Use this command only when you are sure the unused deps are really unused. There could be something the dependency graph didn't catch for whatever reason.
nx generate @trumbitta/nx-plugin-unused-deps:check --fix --no-interactive
Original code by Philip Fulcher @PhilipJFulcher.
FAQs
[![NPM Version](https://badge.fury.io/js/%40trumbitta%2Fnx-plugin-unused-deps.svg)](https://www.npmjs.com/@trumbitta/nx-plugin-unused-deps) [![License](https://img.shields.io/npm/l/@trumbitta/nx-plugin-unused-deps)]()
The npm package @trumbitta/nx-plugin-unused-deps receives a total of 3,094 weekly downloads. As such, @trumbitta/nx-plugin-unused-deps popularity was classified as popular.
We found that @trumbitta/nx-plugin-unused-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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.