
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).
An isomorphic setImmediate/setInterval/setTimeout implementation.
This package exists to smooth out differences between Node and the browser, and to clean up some nonsense.
npm install isotimer
Very similar APIs are available for setImmediate/setInterval/setTimeout.
The following code will just look at timeouts, for convenience, but they all work the same way basically.
import {setImmediate, clearImmediate, refImmediate, unrefImmediate} from 'isotimer';
import {setInterval, clearInterval, refInterval, unrefInterval} from 'isotimer';
import {setTimeout, clearTimeout, refTimeout, unrefTimeout} from 'isotimer';
// Let's schedule a timeout, which will always return us a number
const timeoutId = setTimeout ( () => {
console.log ( 'Hello' );
}, 1000 );
// Let's unref and ref it back again, just to show how to do it
unrefTimeout ( timeoutId );
refTimeout ( timeoutId );
// Let's clear it
clearTimeout ( timeoutId );
MIT © Fabio Spampinato
FAQs
An isomorphic setImmediate/setInterval/setTimeout implementation.
The npm package isotimer receives a total of 1,703 weekly downloads. As such, isotimer popularity was classified as popular.
We found that isotimer demonstrated a healthy version release cadence and project activity because the last version was released less than 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.