express-mocha-test@0.0.1
Vulnerability report · Last retrieved from osv.dev October 7, 2026 at 8:32 AM UTC
OSV ID
MAL-2026-6568
Ecosystem
npm
Summary
express-mocha-test@0.0.1 declares a postinstall lifecycle hook that loads the package's main module, which calls fetch() against an anonymous ngrok-free.app tunnel (https://2939e69fc408.ngrok-free.app/stats) and passes the response body directly to eval(). This executes attacker-controlled JavaScript on any machine that runs npm install for this package, with no pinning, integrity check, or scoping. The destination is an ephemeral, mutable, attacker-operated tunnel — not a registry, not a publisher domain. Package metadata impersonates well-known maintainers of the express and mocha projects (author field set to 'TJ Holowaychuk'), and the stated description ('Integrate redis with cookies') does not match the shipped behavior, indicating deliberate impersonation rather than misconfiguration.
Source: amazon-inspector (01d87351be0d9f68d73ec05867e55fe5712d4885fa76c70c5ec9b003ef512825)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.