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.
rainbowsocks
Advanced tools
SOCKS4a client developed with rainbows
npm install rainbowsocks
Pseudo function of rainbowsocks.request to establish a TCP/IP stream connection
Pseudo function of rainbowsocks.request to establish a TCP/IP port binding
Sends a request to proxy to take a specific action
connect
Connected to proxy
var RainbowSocks = require('rainbowsocks');
var sock = new RainbowSocks(8080, '192.168.0.45');
sock.on('connect', function() {
console.log('Connected to proxy');
sock.connect('www.google.com', 80, function(err, socket) {
if(err) throw err;
console.log('Connected to www.google.com');
socket.write('GET / HTTP/1.1\nHost: www.google.com\n\n');
socket.pipe(process.stdout);
});
});
MIT
FAQs
SOCKS4a proxy client
The npm package rainbowsocks receives a total of 453 weekly downloads. As such, rainbowsocks popularity was classified as not popular.
We found that rainbowsocks 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.