
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
REPL over the network with autocomplete and color support. Both Server and Client
node.js REPL server/client over sockets that support autocomplete and colors.
npm install net-repl
Creating a server
var repl = require('net-repl');
var srv = repl.createServer(opts).listen('repl.sock');
Adding shortcut for connecting to repl on your application
opts accepts all the options that are accepted by
repl.start
Add the following to your package.json
"scripts": {
"test": "jasmine-node spec",
"repl": "./node_modules/.bin/repl-client repl.sock"
}
To connect run
$ npm run repl
var repl = require('net-repl');
var options = {
prompt: 'foo> ', //optional set a custom prompt
deleteSocketOnStart: false //if you use UNIX socket and the application exits without running stop() the unix socket file will remain, this deletes the old socket file when you start the server.
}
var portOrPath = '/tmp/repl.sock';
//listen method
//@param {String|Number} listen port number or path to UNIX socket.
//@param {String} [host] if omitted, the server will accept connections directed to any IPv4 address if you supplied a port number.
var srv = repl.createServer(options).listen(portOrPath);
Usage: repl-client <port|domain socket path> <address if port specified>
Examples:
Unix domain socket
$ repl /tmp/repl.sock
Localhost on port
$ repl 1337
Specified host and port
$ repl 1337 localhost
npm install
FAQs
REPL over the network with autocomplete and color support. Both Server and Client
The npm package net-repl receives a total of 22 weekly downloads. As such, net-repl popularity was classified as not popular.
We found that net-repl 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 researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.