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.
🅱ecause why not? It's almost 2019. We needed a lightweight and deadsimple solution that worked for browsers and NodeJS a long time ago.
(This package replaces b's and starts of words with "b" emojis)
Node:
const b = require('sbify');
b('Hello, world!') === '🅱ello, 🅱orld!'
b('Sbify is the best package!') === '🅱🅱ify 🅱s 🅱he 🅱est 🅱ackage!'
Other replacement characters or emojis are supported
b('Hello, world!', 'bbb') === 'bbbello, bbborld!'
b('This package is #TheBest!', '🦆') === '🦆his 🦆ackage 🦆s #🦆he🦆est!'
Browser:
Simple npm install and add the index.js script onto your site.
Index.js was built by browserify --standalone, so you'll be able to access window.sbify
as a function.
<script>
console.log(sbify('Hello, world!'));
</script>
Enjoy this package? Consider starring on github and checking out some of my other work:
Youtube Search API and its CLI
Need support? Send me an email at wzhouwzhou@gmail.com, or connect with me on Discord at https://discord.gg/jj5FzF7 (William Zhou#0001)
Like what you're seeing? Consider helping to fund my education through https://paypal.me/wzhouwzhou
FAQs
It's time to im🅱rove your strings
We found that sbify 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.