
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.
Add request timeouts to fetch() calls.
$ npm install fetchout
const fetchout = require('fetchout');
// Default timeout for all requests. If not set the default is 60 seconds.
fetchout.defaultTimeout(5000);
(async function() {
try {
// default timeout of 5 seconds used
let response1 = await fetchout('http://httpbin.org/delay/3');
console.log(`response1 status ${response1.status}`)
// Set a 7 sec timeout for a GET fetch request
let response2 = await fetchout('http://httpbin.org/delay/3', 7000);
console.log(`response2 status ${response2.status}`)
// Set a 6 sec timeout for a POST fetch request - timeout error
let response3 = await fetchout('http://httpbin.org/delay/9',
{ method: 'POST', body: '{"foo": "bar"}' }, 6000);
}
catch (err) {
console.log(`${err}`);
}
})();
Apache 2.0 license; see LICENSE.
FAQs
fetch with a timeout
We found that fetchout 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.