
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.
fast-json-parser
Advanced tools
Fast incremental (streaming) JSON parser for node
At the moment, its about 3 times slower than buffering a node stream then parsing it with JSON.parse
However, its about 3 times faster than oboe.js as well.
Currently works on valid JSON, however it also accepts invalid JSON.
Check out the benchmarks in the perf dir
$ node perf/big-bench.js
testJSONParse: 858.689ms
testOboe: 7263.890ms
testFastJsonParser: 2529.559ms
A static convenience method is available for node streams:
import { Parser } from "fast-json-parser";
async function test() {
let result = await Parser.parseStream(stream);
console.log(result);
}
Or you can use the raw API:
import { Parser } from "fast-json-parser";
function parseStream(stream) {
return new Promise(resolve => {
let p = new Parser();
p.init();
stream.on("data", data => p.push(data));
stream.on("end", () => resolve(p.value));
});
}
Install typescript then simply run tsc from the base dir
forbid:
test:
MIT
FAQs
Fast incremental json parser
We found that fast-json-parser 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.