
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
A simple e-mail address masking utility for JavaScript. It replaces parts of e-mail addresses with a masking character, but keeping the overall format of the address recognisable. Useful for secure display, for situations when you want to tell users where you sent password reset instructions or some other sensitive information, without giving away too much data.
example@test.com => e******@t***.com
npm install maskemail -S
Call with a single argument to get the default mask, using * for replacement:
const maskemail = require('maskemail')
console.log(maskemail('testme@some.domain.gov'))
=> t*****@s***.d*****.gov
Call with options in the second argument to customise the process. Available options are:
replacement: (string) the character to use for masking, the default value is *allowed: (RegExp) matcher for characters delimit groups (the default value is /@\."+/)
const maskemail = require('maskemail')
console.log(maskemail('example@test.com', {replacement: '#'}))
=> 'e######@t###.com'
console.log(maskemail('firstname-lastname@domain-one.com', {allowed: /@\.-/}))
=> 'f********-l*******@d*****-o**.com'
FAQs
Converts example@test.com into e******@t***.com for secure display
The npm package maskemail receives a total of 17 weekly downloads. As such, maskemail popularity was classified as not popular.
We found that maskemail 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.