Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

webhook-easy

Latest version: v1.1.0

Overview

Last scanned
6 Nov 2026
Published
6 Nov 2026
AI: Malicious npm package Publisher: alankohut098
2 Versions

Scan summary

webhook-easy was last scanned on 6 Nov 2026 at version 1.1.0. Risk score 90 of 100 (critical). High-severity rules fired and the AI review flagged it as malicious.

  • Releases: 2 versions, all published on 6 Nov 2026.
  • Findings: 4 rules fired in version 1.1.0 (3 high, 1 medium). The score describes this version only.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.0 LATEST 6 Nov 2026 4 rules fired
0.0.0-stage 6 Nov 2026 Not shown

Rules fired in 1.1.0: 4

Findings

3 High 1 Medium

Findings for v1.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

AI review assessed the package as likely malicious

An automated AI review assessed the package's behavior as likely malicious, based on code excerpts, package metadata and the other findings for this package. It is an automated assessment, not a confirmed result on its own, and should be reviewed.

HIGH

Decoded code and access to Node internals in one file

HIGH

Several suspicious behaviors form a known attack pattern

HIGH

and 1 more

Checking access…

🔒 Create a free account to see all 4 findings with descriptions and instance counts

The score describes 1.1.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

webhook-easy

Sign, verify, and deliver JSON webhooks. The signature is HMAC-SHA256 over timestamp.rawBody, sent in X-Webhook-Easy-Signature as t=<seconds>,v1=<hex>.

Node.js 18 or newer. No runtime dependencies.

npm install webhook-easy

Send

const { deliver } = require('webhook-easy');

const result = await deliver({
  url: 'https://example.com/webhooks',
  secret: process.env.WEBHOOK_SECRET,
  event: 'invoice.paid',
  payload: { id: 'in_1' },
});

console.log(result.id, result.status, result.attempts, result.ok);

deliver retries network failures and HTTP 500 responses. A 4xx response comes back immediately with ok: false. The same body and signature are reused for every attempt.

Receive

const http = require('node:http');
const { createHandler } = require('webhook-easy');

const handler = createHandler({
  secret: process.env.WEBHOOK_SECRET,
  onEvent({ id, event, payload }) {
    console.log(id, event, payload);
  },
});

http.createServer(handler).listen(8787);

A valid event responds with 200 and { "received": true }. A bad signature, a stale timestamp, or invalid JSON responds with 400.

Verify the raw body

Pass the exact bytes you received. Do not parse the JSON and stringify it again.

const { verify } = require('webhook-easy');

const checked = verify(
  rawBody,
  req.headers['x-webhook-easy-signature'],
  process.env.WEBHOOK_SECRET,
);

checked.timestamp is the unix time from the signature. The default tolerance is 300 seconds. verify throws WebhookError. Read error.code.

Code Meaning
MISSING_SECRET The secret was empty.
MISSING_SIGNATURE The header was missing or malformed.
BAD_SIGNATURE The HMAC does not match.
STALE_TIMESTAMP The timestamp is outside the tolerance window.
BAD_TIMESTAMP sign was given a timestamp that is not a number.
MISSING_URL deliver was called without a URL.
DELIVERY_FAILED Every attempt failed before an HTTP response.
MISSING_HANDLER createHandler was called without onEvent.

Headers

Header Value
Content-Type application/json
User-Agent webhook-easy
X-Webhook-Easy-Id Delivery id
X-Webhook-Easy-Event Event name, default event
X-Webhook-Easy-Timestamp Unix seconds
X-Webhook-Easy-Signature t=<seconds>,v1=<hex>

Local listener

npx webhook-easy listen --port 8787 --path /webhooks --secret dev-secret

POST signed events to that path. Each accepted event is printed as JSON. GET / returns the latest 20 events. Without --secret or WEBHOOK_EASY_SECRET, posts are stored and signatures are not checked.

Package layout

This package is CommonJS. Load it with require('webhook-easy'). The public API is documented in docs/api.md. Release notes are in CHANGELOG.md. Publish steps are in PUBLISHING.md.

License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm webhook-easy

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229