
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 emitter that notify you if your sites are down.
It emit 3 events - status, siteDown and siteUp
npm install pinger
var pinger = require('pinger');
var websites = [
{
url: 'foo.com',
timeout: 10 // minutes
},
{
url: 'bar.com',
timeout: 15
}
];
pinger.on('status', function(data) {
console.log('status event:', data);
});
pinger.on('siteUp', function(data) {
console.log('siteUp event:', data);
});
pinger.on('siteDown', function(data) {
console.log('siteDown event:', data);
});
pinger.start(websites); // pass hash of websites
There are 2 more way to use it:
1. pinger.start(); // default to websites.js file in the local directory
2. pinger.start({pathToWebsites: "./websites.js"}); // location of websites.js file
siteDown and siteUp events are sending the following data:
{
website: 'foo.com',
time: '2013-02-19 03:24:05',
status: 'DOWN',
message: undefined
}
FAQs
Node uptime monitor
The npm package pingit receives a total of 0 weekly downloads. As such, pingit popularity was classified as not popular.
We found that pingit 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.