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.
email-notification
Advanced tools
This project uses mailosaur api service to search for emails by link and/or subject from email server.
This is a npm module to search for emails sent to mailosaur mail server - by Subject and Links (in email html).
npm install email-notification
Set following environment variables on your machine/CI variables/.env:
MAILOSAUR_API_KEY = api key for your mailosaur account
MAILOSAUR_SERVER_ID = server id for your mailosaur account
Sample usage example from a UI solution page object and its calling in test:
const email = require('email-notification');
const emailSubject = email.emailBySubject();
This method would return the subject for matching email
async emailConfirmation(completeEmailAddress, searchByText) {
await emailSubject.getEmailSubject(completeEmailAddress, searchByText);
}
calling from test (search by subject-text)
await page.emailConfirmation('leancat.1234abcd@mailosaur.io', 'Reset your password');
const email = require('email-notification');
const emailLink = email.emailByLink();
This method would return the link from matching email
async emailConfirmation(completeEmailAddress, searchByLinkHref) {
await emailLink.getEmailData(completeEmailAddress, searchByLinkHref);
}
calling from test ( search by link href in email)
await page.emailConfirmation('leancat.1234abcd@mailosaur.io', 'mailto:marketing@npmjs.com');
FAQs
This project uses mailosaur api service to search for emails by link and/or subject from email server.
The npm package email-notification receives a total of 13 weekly downloads. As such, email-notification popularity was classified as not popular.
We found that email-notification 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.