
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).
event-loop-ticks
Advanced tools
Packge will tell current number of executed event loop tick.
Numeration starts from 0.
For educational purposes only, do not use on production due to increased CPU usage.
TS:
import { tickNum } from 'event-loop-ticks';
console.log(tickNum());
JS:
const { tickNum } = require('event-loop-ticks');
console.log(tickNum());
It is useful only to check if part of code were executed in the same or other tick.
Library is constantly 'spinning' in event lopp, so waiting for long timeout will cause tickNum()
to return big values.
FAQs
Get current event loop tick number. For educational purposes.
We found that event-loop-ticks 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.