Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
ts-shipment-tracking
Advanced tools
Unified shipment tracking data from FedEx, UPS, and USPS APIs.
Returns a unified response from FedEx, UPS, and USPS tracking APIs.
$ npm install ts-shipment-tracking
Input:
import { trackFedex, trackUps, trackUsps } from 'ts-shipment-tracking';
(async (): Promise<void> => {
try {
const fedex = await trackFedex('<fedex-tracking-number>', {
key: '<fedex-key>',
password: '<fedex-password>',
accountNumber: '<fedex-account-number>',
meterNumber: '<fedex-meter-number>'
});
console.log(fedex);
const ups = await trackUps('<ups-tracking-number>', {
accessLicenseNumber: '<ups-access-license-number>'
});
console.log(ups);
const usps = await trackUsps('<usps-tracking-number>', {
userId: '<usps-user-id>'
});
console.log(usps);
} catch (error) {
console.log(error);
}
})();
Output:
{
events: [
{
status: 'IN_TRANSIT',
label: 'Arrived at FedEx location',
location: 'LEBANON TN US 37090',
date: 1616823540000
},
...
],
estimatedDelivery: 1616996340000
}
Statuses:
'UNAVAILABLE'
'LABEL_CREATED'
'IN_TRANSIT'
'OUT_FOR_DELIVERY'
'DELIVERY_ATTEMPTED'
'RETURNED_TO_SENDER'
'EXCEPTION'
'DELIVERED'
FAQs
Unified shipment tracking data from FedEx, UPS, and USPS APIs.
The npm package ts-shipment-tracking receives a total of 12 weekly downloads. As such, ts-shipment-tracking popularity was classified as not popular.
We found that ts-shipment-tracking demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.