
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
node-redis-scripty
Advanced tools
Use https://github.com/TheDeveloper/node-redis-script instead.
Redis script manager for node.js.
scripty.loadScript
.script.run()
;Scripty caches the sha1 digest in an LRU cache local to the node process, allowing it to invoke the script on Redis using the hash instead of eval'ing it each time.
Scripty also guards against script flushes on Redis. If the Redis script cache is flushed or the script disappears for whatever reason, Scripty will automatically detect this and re-load the script into Redis before executing.
v0.10
v2.6
or abovenpm install node-redis-scripty
var redis = require('redis').createClient();
var src = 'return KEYS[1]';
var scripty = new Scripty(redis);
scripty.loadScript('blank', src, function(err, script) {
script.run(1, 'hi', function(err, result) {
if (err) return;
// Should print 'hi'
console.log(result);
});
});
FAQs
Redis script manager for node.js
The npm package node-redis-scripty receives a total of 25,495 weekly downloads. As such, node-redis-scripty popularity was classified as popular.
We found that node-redis-scripty 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.