
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
abstractsocket
Advanced tools
abstract unix sockets support for net.createConnection
var net = require('net');
require('abstractsocket')(net);
var connection = net.createConnection('\u0000/tmp/dbus-OeixI07RHo');
connection.pipe(process.stdout);
connection.write(Buffer('\0AUTH EXTERNAL 31303030\r\n'));
you can map net.createConnection to any command:
var net = require('net');
var url = require('url');
require('abstractsocket')(net, {
getSpawnArguments: function(path) {
if (path.match(/^ssh\+exec:\/\//)) {
var params = url.parse(path, true);
var args = [];
if (params.port)
{
args.push('-p');
args.push(params.port.toString());
}
var user = params.auth.split(':')[0];
args.push(user + '@' + params.hostname);
args.push(params.query.command);
console.log(args);
return ['ssh', args];
}
// if not matched, createConnection is called
}
});
// list files on remote machine
var lsStream = net.createConnection('ssh+exec://user@domain.com:2222/?command=ls%20-l');
lsStream.pipe(process.stdout);
FAQs
Abstract unix sockets support by spawning socat process
We found that abstractsocket 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.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.