
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Easy way to obfuscate e-mails to protect them from spams through scraping bots
🛡️📧 Protect e-mails against spam and scraping bots
Easy way to obfuscate e-mails to have spam protection against scraping bots.
It's the simplest way. Just add it to your page:
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/safe-email@1.1.1/dist/safe-email.min.js"></script>
npm install safe-email --save
bower install undergroundwires/safe-email
git submodule add https://github.com/undergroundwires/safe-email
dist/
folder)<script type="text/javascript" src="/node_modules/safe-email/dist/safe-email.min.js"></script>
<a title="Email" href="#" data-email_b64="dW5kZXJncm91bmR3aXJlc0BnaXRodWIuY29t"></a>
<a title="Email" href="#" data-email_b64="dW5kZXJncm91bmR3aXJlc0BnaXRodWIuY29t"
data-body="Hello!" data-subject="About website"></a>
<a title="Email" href="#" data-email_b64="dW5kZXJncm91bmR3aXJlc0BnaXRodWIuY29t">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1.1 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1.1-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>
</a>
As icon is an inner HTML of the parent <a>
your e-mail will not be rendered.
Property | Explanation | Required / Default |
---|---|---|
data-email_b64 | Base64 encoded text of your e-mail. You can encode your e-mail here. | Required |
data-body | Body of the e-mail | Optional, Defaults to Hi! |
data-subject | Subject of the e-mail | Optional, Defaults to root domain name + path, e.g. abc.com/path |
Any element that has data-email_b64
property defined will have obfuscated mailto:
pointing to the given e-mail address. If owner element of this property has no inner HTML, then the e-mail (in obfuscated form) will be rendered.
The deployed packages includes a dist/
folder that adds polyfills to the files and distributes them as:
.min.js
) files for production usage.js
) files for debuggingCI/CD is fully automated for this repo using different Git events & GitHub actions.
FAQs
Easy way to obfuscate e-mails to protect them from spams through scraping bots
The npm package safe-email receives a total of 3 weekly downloads. As such, safe-email popularity was classified as not popular.
We found that safe-email 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.