Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
This Hapi plugin exposes a route at /ding (by default), which responds with useful server information.
This plugin works with Hapi 17 and above.
const Hapi = require('hapi');
const server = Hapi.Server({
load: {
sampleInterval: 1000
},
host: 'localhost',
port: 8000
});
await server.register({
plugin: require('hapi-ding')
});
when you hit /ding
, the route will reply with
{
"ding": {
"cpu": [
1.67236328125,
1.828125,
1.927734375
],
"mem": 1429590016,
"time": 1425933629427,
"heap": 13402416,
"loop": 4.86166600137949
}
}
The following options are available when registering the plugin:
false
to put the properties at the root level. Defaults to "ding".{ auth: false }
.null
.FAQs
Informational status page for Hapi apps
The npm package hapi-ding receives a total of 3 weekly downloads. As such, hapi-ding popularity was classified as not popular.
We found that hapi-ding demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.