
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
event-loop-monitor
Advanced tools
NodeJS event loop latency monitor
npm install event-loop-monitor --save
var monitor = require('event-loop-monitor');
// data event will fire every 4 seconds
monitor.on('data', function(latency) {
console.log(latency); // { p50: 1026, p90: 1059, p95: 1076, p99: 1110, p100: 1260 }
});
monitor.resume(); // to start measuring
// later...
monitor.stop(); // to stop measuring
In example above this means that in last 4 seconds 50% of events is "late" by 1025 microseconds (1.025ms), 90% is late by 1059 microseconds (1.059ms) and so on.
Removed .unref()
from scanning interval. From now on, module will hold process running, until .stop()
is called.
FAQs
NodeJS event loop latency monitor
The npm package event-loop-monitor receives a total of 910 weekly downloads. As such, event-loop-monitor popularity was classified as not popular.
We found that event-loop-monitor 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.