
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
obfuscemail
Advanced tools
An email obfuscator utilising the rot13 cipher. Cuts down on spam in mailto links.
Adding contact email to your site is a great idea to allow people to contact you easily. However, it's also a great way to put your email address on a dish for spammy web crawlers.
Obfuscemail is a simple command line utility and Node.js module to help with
this issue. It generates javascript which creates nice <a href="mailto:">
links which appear and work as normal in a web browser, but are not readable by
web crawlers. The actual email address is hidden by the rot13 cipher.
To install the command line utility globally:
sudo npm install -g obfuscemail
Or to install locally in an npm project:
npm install obfuscemail --save
To use in a HTML page, you must define where you want your mailto links to be
injected by using the obfuscemail class (ANY element with this class will be
turned into a mailto link).
Then to generate the javascript to include in this page you need to run:
obfuscemail -e "<your email>" -t "Anchor Tag Text"
You can also add an optional subject to the mailto link:
obfuscemail -e "<your email>" -t "Anchor Tag Text" -s "Subject for Email"
Obfuscemail can also be used as a Node.js module (see above for installation):
var obfuscemail = require('obfuscemail');
var js = obfuscemail.generate('test@example.com', 'Contact Me');
console.log(js);
/* This outputs an immediately-invoked function expression, which you
* *could*, if you really wish, eval()...
*/
<span class="obfuscemail">No email here!</span> to a HTML page.<script> tag with obfuscemail -e test@example.com -t "Contact Me!". Cut and paste it into your HTML.<a href="mailto:test@example.com">Contact Me!</a>FAQs
An email obfuscator utilising the rot13 cipher. Cuts down on spam in mailto links.
We found that obfuscemail 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.