
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
email-assassin
Advanced tools
Lightweight email validation package with advanced features including MX record validation and blacklisting, dependency free.
Lightweight email validation package for Node.js
$ npm install email-assassin
To install devDependices for testing run from the project folder:
npm install
npm test
To run included examples:
node ./example/checkEmail.js
node ./example/mxRecords.js
Optional Options Object
// include email-assassin
var validate = require('email-assassin');
// test an email
var test = validate.syntax({
email: 'user+name@gmail.com',
options:{
blacklist: true,
gmailAlias: true
}
});
// output to console
console.log(test);
// include email-assassin
var validate = require('email-assassin');
// make async request
(async () => {
try {
const response = await validate.mxrecords('username@gmail.com');
console.log(response);
} catch (e) {
console.log(e);
}
})();
What Are They Gmail allows users to utilize the '+' symbol in the username position to add aliases to an account name. For instance if your email address was username@gmail.com you could use username+github@gmail.com and any email sent to the address would go to username@gmail.com
Why Should I Check For Them In most cases denying usage for an alias address is not required. They are RFC valid syntax and allow Gmail users to tightly monitor where email is coming from and who might be spamming them. There are some use cases where you may want to disallow usage:
MIT © Tyler Colwell
FAQs
Lightweight email validation package with advanced features including MX record validation and blacklisting, dependency free.
We found that email-assassin 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.