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.
smtp-email-verifier
Advanced tools
An package to interrogate SMTP servers to see if an email exists
In laymen, it connects to the server where the email address exists and tries to ask it if it has a record of it. If so it will return something like this:
Successful
{
email: "kyle@gmail.com,
mx_priority_1: "gmail-smtp-in.l.google.com",
mx_isValid: true
}
Error
{
email: "kyle@gmail.com"
error: <error object>
}
Not every server will cooperate but most will. Most notably I've run into issues with redhat.com
If there is an issue or you think it needs a new feature, feel free to open an issue or PR.
const { validate } = require('email-validator')
(async () => {
let isEmailValid = null
try {
// Verbose and timeout defaults; Mot needed to use the method.
isEmailValid = await validate({email: "kyle@gmail.com", verbose: true, timeout: 2000})
} catch(e) {
// handle invalid email / error
}
})()
FAQs
An package to interrogate SMTP servers to see if an email exists
We found that smtp-email-verifier 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.