
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.
filecompare
Advanced tools
Asynchronous file compare. Now using native Promises and native BufferTools (alloc and Buffer comparisons)
npm install --save filecompare
npm test
var fc = require('filecompare');
var cb = function(isEqual) {
console.log("equal? :" + isEqual);
}
fc(path1,path1,cb);
npm install -g filecompare
filecompare a.txt b.txt
var fc = require('filecompare');
var cb = function(isEqual) {
console.log("equal? :" + isEqual);
}
const readSize = 4096;
const bufferSize = 8192;
fc(path1,path1,cb,readSize, bufferSize);
Bytes are read into a small buffer, then compared.
Each step is independently asynchronous yet only steps forward after confirming buffers are identical.
This means if there is an unforseen process spike from some other processes, the file compare will exscuse itself until CPU load becomes more available. This means you can compare arbitrarily sized multi-gigabyte files all the time without worry about locking up the computer.
MIT
FAQs
asynchronous file compare
We found that filecompare 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.