Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
courier_tracking_auspost
Advanced tools
Courier tracking from provided connote for Australia Post
Gets tracking information for a Australia Post connote and return normalized json response.
const auspost_tracker = require('courier_tracking_auspost');
auspost_tracker("API_KEY", "CONNOTE", (err, r) => {
if (err) {
console.log(err);
} else {
console.log(r);
}
});
A valid result will return a response like
{
connote: 'R7G0000000',
statusCode: 200,
courier: 'Australia Post',
status: 'Delivered',
pickedUp: true,
pickedupAt: {
date: 'Sep 18, 2017',
time: '9:09am'
},
delivered: true,
deliveredAt: {
date: 'Sep 25, 2017',
time: '9:22am'
},
signature: null,
trackingLink: 'https://auspost.com.au/parcels-mail/track.html#/track?id=R7G0000000',
activity: [{
date: 'Sep 25, 2017',
time: '9:22am',
action: 'Delivered',
location: 'Ballina, NSW'
},
{
date: 'Sep 25, 2017',
time: '6:48am',
action: 'With Australia Post for delivery today',
location: 'Ballina, NSW'
},
{
date: 'Sep 25, 2017',
time: '6:48am',
action: 'Processed through Australia Post facility',
location: 'Ballina, NSW'
},
{
date: 'Sep 22, 2017',
time: '11:58am',
action: 'Processed through Australia Post facility',
location: 'Chullora, NSW'
},
{
date: 'Sep 18, 2017',
time: '12:46pm',
action: 'Shipping information approved by Australia Post',
location: null
},
{
date: 'Sep 18, 2017',
time: '9:09am',
action: 'Shipping information received by Australia Post',
location: null
}
]
}
An error result will look like:
{
connote: "BLAHBLAH",
statusCode: 500,
message: { error: "Invalid Australia Post connote" }
}
There is a command line script livetest.js
that can be run to get responses in the terminal.
Usage for this is: node livetest.js apikey connote
npm install courier_tracking_auspost
or
yarn add courier_tracking_auspost
MIT
FAQs
Courier tracking from provided connote for Australia Post
The npm package courier_tracking_auspost receives a total of 1 weekly downloads. As such, courier_tracking_auspost popularity was classified as not popular.
We found that courier_tracking_auspost 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.