
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.
@ns-gapi/instrumentation
Advanced tools
const {ProviderApplication} = require('@ns-gapi/instrumentation/dist');
const application = new ProviderApplication({
key: 'application-key',
env: 'sandbox',
});
// Application start will wait for developer key sync event
await application.start();
// Key provided by user for the request
const developerKey = 'user-provided-key';
// Developer key validation is sync as keys are cached locally
if (!application.isValidDeveloperKey(developerKey)) {
throw new Error('invalid key');
}
// Start transaction
const transaction = application
.startTransaction('transaction') // transaction type
.withMetadata({custom: true}) // set some metadata
.withDeveloperKey(developerKey);
// finish transaction
transaction.finish();
FAQs
GAPI Provider instrumentation library
The npm package @ns-gapi/instrumentation receives a total of 14 weekly downloads. As such, @ns-gapi/instrumentation popularity was classified as not popular.
We found that @ns-gapi/instrumentation 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.
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.