
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.
functional-streams
Advanced tools
Native implementations of map, reduce, and batch, to act on streams.
Provides four native Node streams that mirror the behaviour of basic FP array manipulations. As they extend
directly from Node native streams, they can be piped and emit events as you are used to. No runtime dependencies, typescript definitions included.
const FS = require('functional-streams');
const mapStream = new FS.Map((n) => n + 2);
const filterStream = new FS.Filter((n) => n % 2 === 0);
Provides a then method so this can be used in a promise-like fashion to get the end result.
const reduceStream = new FS.Reduce((sum, n) => sum + n, 0);
reduceStream.write(0);
reduceStream.write(1);
reduceStream.write(2);
reduceStream.write(3);
reduceStream.end(4);
reduceStream.then((result) => {
console.log(result); // 10
});
const batchStream = new FS.Batch(3);
batchStream.write(0);
batchStream.write(1);
batchStream.write(2);
batchStream.write(3);
batchStream.end(4);
batchStream.read(); // [0, 1, 2];
batchStream.read(); // [3, 4];
FAQs
Native implementations of map, reduce, and batch, to act on streams.
We found that functional-streams 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.