
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
webhook-manager
Advanced tools
This is a lightweight npm-package to manage webhook-listeners.
Webhooks are "user-defined HTTP callbacks". They are usually triggered by some event, such as pushing code to a repository or a comment being posted to a blog. When that event occurs, the source site makes an HTTP request to the URI configured for the webhook. Users can configure them to cause events on one site to invoke behaviour on another. The action taken may be anything. Common uses are to trigger builds with continuous integration systems or to notify bug tracking systems. Since they use HTTP, they can be integrated into web services without adding new infrastructure.
npm i -s webhook-manager
To receive webhooks, we basically just need to setup a webserver and start listening for incomming POST-requests. This is, what this plugin does.
We setup an express-server on a specific port and then start listening for all incomming POST-requests. The requests get filtered, if a webhook is listening for it - if yes, then an event to this registered webhook gets emitted.
// Import the package
const WebhookManager = require("webhook-manager");
// Create a new instance of the Webhook-Manager with a specific port to listen on
const manager = new WebhookManager(4848);
// Just a listener for the "ready"-event
// It get's fired, when the manager is setup properly
manager.on("ready", () => {
console.log(`WebhookManager started on port :${manager.PORT}`);
});
// Register a new Webhook-Listener
// It listens for everything, that goes directly to 'http://YOUR_SERVER:PORT/webhook
// The callback gets fired, when a webhook is received
// 'data' is the request, received by the listener
manager.on("/webhook", data => {
console.log("Received webhook with following data:", data);
});
FAQs
This is a NPM-Module for managing multiple incomming webhooks.
We found that webhook-manager 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.