Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
STUN (Session Traversal Utilities for NAT) is a simple protocol. A STUN implementation should be simple too.
ministun is a zero dependency STUN server for Node.js. It implements "Basic Server Behavior" as defined by section 13 of RFC 5389, including backwards compatibility with RFC 3489.
Node.js >= 12.14.0
npm i ministun
const Ministun = require("ministun");
const config = {
udp4: true,
udp6: true,
port: 3478,
log: console.log,
err: console.err,
sw: true
};
const server = new Ministun(config);
async function startServer() {
await server.start();
}
async function stopServer() {
await server.stop();
}
udp4: bool (Default: true
)
Support UDP over IPv4?
udp6: bool (Default: true
)
Support UDP over IPv6?
port: number (Default: 3478
)
Port number
log: function || null (Default: console.log
)
Log messages will be passed to this function as arg 0, null = no message logging
err: function || null (Default: console.err
)
Error messages will be passed to this function as arg 0, null = no error logging
sw: bool (Default: true
)
Send the SOFTWARE attribute with response messages?
Better test coverage
FAQs
A zero dependency STUN server
The npm package ministun receives a total of 13 weekly downloads. As such, ministun popularity was classified as not popular.
We found that ministun 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 threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.