
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@eccenca/superagent
Advanced tools
Extended version of superagent.js, pimped with RX, better Link header parsing and HTTP Problem support
Extended version of Superagent.js to use within eLDS framework
Includes Superagent.js and Superagent-rx packages. So, all you need to use it is import and call with your ajax requests:
import request from 'ecc-superagent';
// ...
// parse results
request
.get(requestUrl)
.observe() // this returns Rx.Observable
.subscribe(function(res) {
// use res
});
// use results ...
Futhermore it is possible to register/unregister global superagent plugins to manipulate each request. For Example:
import request from 'ecc-superagent';
// Register a plugin which sets a header on each request
request.useForEachRequest('setHeaderPlugin', (request) => {
request.set('X-Example-Header', 'FOO');
return request;
});
// The following request will have the X-Example-Header set
request
.get('http://example.org')
.observe() // this returns Rx.Observable
.subscribe(function(res) {
// use res
});
// Disable the plugin
request.useForEachRequest('setHeaderPlugin', false);
FAQs
Extended version of superagent.js, pimped with RX, better Link header parsing and HTTP Problem support
The npm package @eccenca/superagent receives a total of 29 weekly downloads. As such, @eccenca/superagent popularity was classified as not popular.
We found that @eccenca/superagent demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.