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.
send all those console.log
outputs through socket.io on any endpoint, you know,
just to keep an eye on things...
Mumbler will intercept stdout
/stderr
and send it through a socket.io connection.
DEBUG=*
It just explodes, trust me.
I built Mumbler just to experiment with, but then I thought someone could benefit from it.
Remember: I didn't fully test the package, I got it to work on both a simple Express app and a Restify one.
This package HAS NOT BEEN THOROUGHLY TESTED, USAGE ON PRODUCTION IS, THEREFORE, NOT RECOMMENDED
The main purpose is just for development as the package does not
enforce any security and it will send any stdout
/stderr
data to
connected clients on the designated endpoint.
npm install mumbler --save
var mumbler = require('mumbler')
// attach to some endpoint
app.get('/mumbler', mumbler(http));
http.listen(3000, function(){
console.log('Open http://localhost:3000/mumbler on your browser')
});
// spit some output constantly so we can check output
setInterval(function(){console.log(new Date())}, 1000)
Restify usually keeps a reference to the http server instance on
server.server
. Remember, this hasn't been fully tested, I built this
just to check on my own developments and then decided it could be
useful for someone else.
var restify = require('restify')
// create the http server
var server = restify.createServer(/* some config here */)
server.get('/mumbler', require('mumbler')(server.server))
FAQs
send stdout through socket.io
We found that mumbler 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.