
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.
@tradecafe/package-tracking-sdk
Advanced tools
This contains the SDK to be used against the Template Service.
This contains the SDK to be used against the Template Service.
npm install @tradecafe/package-tracking-sdk --save
const sdk = require('@tradecafe/package-tracking-sdk');
let client = sdk({
baseURL: 'http://service.base.url/'
});
client.create({
carrier: 'fedex',
code: {
trackingNumber: '1234'
},
deal_id: 'deal-id',
tags: ['tag4', 'tag5']
}, function(err, result) {
if(err) {
done(err);
} else {
done();
}
});
Creates the specified package and returns it's id and the resulting object
let item = {
account: 'account-id',
carrier: 'fedex',
code: {
trackingNumber: '1234'
},
deal_id: 'deal-id',
tags: ['tag4', 'tag5']
};
client.create(item, (err, package_id, object) => {
});
Deletes a single specified package
client.del(account, id, (err) => {
});
Retrieves a single package
client.get(account, id, (err, object) => {
});
Retrieves a list of packages that belong to your account. Optionally you can provide a deal_id which will be applied as a filter.
client.search({account: 'account-id', deal_id: 'deal-id'}, (err, object) => {
});
Modifies the track parameter of the object
track
is a boolean
client.track(account, id, track, (err, object) => {
}, party);
If you are going to develop this further, please assure proper test coverage.
Tests can currently run using npm test
or mocha
application home.
FAQs
This contains the SDK to be used against the Template Service.
The npm package @tradecafe/package-tracking-sdk receives a total of 0 weekly downloads. As such, @tradecafe/package-tracking-sdk popularity was classified as not popular.
We found that @tradecafe/package-tracking-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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.