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.
github.com/thejerf/strinterp
Morally correct string/stream interpolation.
go get github.com/thejerf/strinterp
This code is posted in support of a blog post about why we continue to write insecure software, which I recommend reading in order to understand the design and the purpose of the design. At the moment, I wouldn't particularly propose that you use it in real code; I don't. After all this represents ~20 hours of screwing around rather than something I'd ship directly. However, it does do what it does, so if you are moved to use it, I won't object. As the LICENSE says, if it breaks you get to keep both pieces. If enough pull requests come in to turn this into a real library I won't complain.
But even as just some musings meant for support of a blog post, I could not stand publishing this without the jerf-standard full godoc, including examples, usage, and everything else you might otherwise expect this README.md to cover on GitHub, plus full test coverage and golint-cleanliness.
Starting with the commit after d46cc8a8c2a22, I will be signing this repository with the "jerf" keybase account. If you are viewing this repository through GitHub, you should see the commits as showing as "verified" in the commit view.
(Bear in mind that due to the nature of how git commit signing works, there may be runs of unverified commits; what matters is that the top one is signed.)
FAQs
Unknown package
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.