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.
simple-email-verifier
Advanced tools
Email verification by looking for SMTP records and account existence checking
This class can help you to check that some email is realy exists in the Internet.
For example, if you don't want to send email verification message with code, but just want to check that email wasn't generated by RANDOM_EMAIL()
function.
npm i simple-email-verifier
const { EmailVerifier } = require("simple-email-verifier");
let verifier = new EmailVerifier(10000);
verifier.verify("admin@vk.com").then(result => {
if (result) {
console.log("This email realy exists :)");
} else {
console.log("Email not found :(");
}
}).catch(console.error);
EmailVerifier(timeout: number, dnsCacheSettings: Object, mailFrom: string)
- Main verifier class, where mailFrom
- is your random server email, timeout
- is timeout for email verify in .verifySmtpRecord()
method. And dnsCacheSettings
are settings for dnscache package.verifier.verify(email: string): Promise<boolean>
- Full email verify promise.verifier.isValidEmail(email: string): boolean
- Validate email by regular expression.verifier.getEmailDomain(email: string): string
- Get email domain after @
symbol.verifier.checkMx(email: string): Promise<[]MxRecord>
- Look for MX records by DNS resolve.verifier.verifySmtpRecord(mxRecord: string, email: string): Promise<boolean>
- Check email account existing in the SMTP server.Some types of this module.
MX record object
FAQs
Email verification by looking for SMTP records and account existence checking
The npm package simple-email-verifier receives a total of 0 weekly downloads. As such, simple-email-verifier popularity was classified as not popular.
We found that simple-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.