
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
remove-match
Advanced tools
Find all the lines that match a given entry

const remover = require('remove-match');
remover.findMatch('file.txt', 'This Line');
OR
npm i -g remove-match
# Save the lines without the matched entry
remove-match -f file.txt -m 'This Line' -o output.txt
npm install --save remove-match
rm -rf dist && tscmocha ./dist/test/*.js| Package | Version | Dev |
|---|---|---|
| args-finder | 0.0.3 | ✖ |
| commander | ^2.15.1 | ✖ |
| great-logs | 0.0.4 | ✖ |
| minimist | ^1.2.0 | ✖ |
| replace | ^1.0.0 | ✖ |
| shelljs | ^0.8.2 | ✖ |
| @types/chai | ^4.1.3 | ✔ |
| @types/mocha | ^5.2.0 | ✔ |
| @types/node | ^10.0.2 | ✔ |
| chai | ^4.1.2 | ✔ |
| mocha | ^5.1.1 | ✔ |
Contributions welcome; Please submit all pull requests against the master branch. If your pull request contains TypeScript patches or features, you should include relevant unit tests. Please check the Contributing Guidelines for more details. Thanks!
Wendly Saintil wendlysaintil@gmail.com tsm.author.url
FAQs
Find all the lines that match a given entry
We found that remove-match 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.