
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.
A simplified and optimized fork of oboejs. This package will allow you to easily stream an array of JSON objects to your front-end.
First install the npm package.
npm install bassoon
Then serve the built script files up.
app.use('/bassoon', express.static('node_modules/bassoon/dist'));
And finally link the script in your HTML/view.
<script src="/bassoon/bassoon.min.js"></script>
To stream an array of JSON objects subscribe to the data, end, and error events.
bassoon('/api/example/list')
.on('data', (data) => { /* object received... */ }))
.on('end', (evt) => { /* end of stream... */ })
.on('error', (err) => { /* error occurred, stream stopped... */ });
A variety of arguments can be passed to bassoon as well.
bassoon({
url: '/api/example/list',
method: 'GET',
withCredentials: false,
chunkSize: 10,
})
.on('data', (data) => { /* object received... */ }))
.on('end', (evt) => { /* end of stream... */ })
.on('error', (err) => { /* error occurred, stream stopped... */ });
For better performance bassoon can stream data using the provided web worker script.
bassoon({ url: '/api/example/list', worker: true })
.on('data', (data) => { /* object received... */ }))
.on('end', (evt) => { /* end of stream... */ })
.on('error', (err) => { /* error occurred, stream stopped... */ });
FAQs
a simplified and optimized fork of oboejs
We found that bassoon 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.