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.
@maildrop/api
Advanced tools
helper APIs to fetch mail objects from https://maildrop.cc
with npm do:
npm install --save @maildrop/api
for basic test
const mails = await maildrop.fetchMails("linto@maildrop.cc");
console.log(`${mails.length || "zero"} mails`);
for (const mail of mails)
console.log(`==========\n${JSON.stringify(mail, null, 2)}\n==========`);
fetch mails
@return Object[] like this { id, from, to, subject, date, body, html }[]
opt | type | description |
---|---|---|
String | [required] sample linto@maildrop.cc |
{
"id": "HrYSsdRcRA",
"from": "Linto Cheeran <linto.cet@gmail.com>",
"to": "linto",
"subject": "subject",
"date": "2020-04-08T21:47:13Z",
"body": "raw email body",
"html": "html body"
}
delete individual mail
@return [Object] { deleted: true }
opt | type | description |
---|---|---|
String | [required] sample linto@maildrop.cc | |
id | String | [required] individual mail object id |
for (const mail of mails)
console.log(await maildrop.deleteMail("linto@maildrop.cc", mail.id));
return String x-api-key
, you can use this in http header
opt | type | description |
---|---|---|
force | Boolean | [optional] for forceful refresh |
FAQs
node-js API for maildrop.cc
The npm package @maildrop/api receives a total of 19 weekly downloads. As such, @maildrop/api popularity was classified as not popular.
We found that @maildrop/api 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.