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.
@sebastianfoth/email-address-existence
Advanced tools
A library written in Typescript which tries to check if an email address really exists
A library written in Typescript which tries to validate if an email address really exists by connecting to the responsible email server.
npm install @sebastianfoth/email-address-existence --save
import { EmailAddressExistenceService, EmailValidationStatus } from '@sebastianfoth/email-address-existence';
const service = new EmailAddressExistenceService();
const result = await service.validate({
recipient: 'MAIL_ADDRESS_TO_CHECK_FOR_EXISTENCE',
sender: 'YOUR_MAIL_ADDRESS',
timeout: 3000,
portTelnet: 25,
debug: true,
});
if (result === EmailValidationStatus.MAY_EXISTS) {
// Yay, the address might exists
}
The method validate() returns Promise<EmailValidationStatus>.
The email address wasn't found on the mail server
Invalid email address
Our identification method is blocked by the provider and/or your IP is blacklisted
Timeout while trying to connect to the email server
The email address might exists
Email providers know how to protect their users, please keep the following things in mind:
Please keep the things mentioned above in mind in case you are using this library. Always try to revalidate the responses by checking addresses you are aware they exist and also do the opposite: Check for addresses which unlikely exist by choosing a random string as username (i.e. jhuihgiuwehiugwh@gmail.com).
FAQs
A library written in Typescript which tries to check if an email address really exists
The npm package @sebastianfoth/email-address-existence receives a total of 24 weekly downloads. As such, @sebastianfoth/email-address-existence popularity was classified as not popular.
We found that @sebastianfoth/email-address-existence 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.