
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.
html-processor
Advanced tools
html-processor is a simple Node.js module that allows you to process a batch of html files programmatically or through the command line. html-processor will allow the following operations:
install through npm ny running:
npm install html-processor
require the module from your Node.js application:
var cleanFiles = require('html-processor'); cleanFiles();
cleanjs exports a function that takes 5 parameters. If you call the function without any parameters and run the above code from the command line, you will be prompted for them. Otherwise you can provide the parameters in your application:
cleanFiles(directory, elementsToDelete, customStyles, customFunction, callback);
directory: the absolute path to the directory containing your html content
elementsToDelete: a string of comma separated jQuery selectors to specify elements to delete
customStyles: A set of css rules defined as a string to be applied to each page
customFunction: A custom js function. The function should take one parameter 'html', which is the full HTML document as a jQuery variable. It should return the same varaible after manipulation.
callback:
node example.js
node commandUse.js
FAQs
Clean and enhance your offline HTML files
We found that html-processor 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.