# GHSA-WWRQ-GCQX-RX6P: Malicious code in event-hunter (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-09-23
- Modified: 2026-09-23

## Affected versions

- event-hunter (npm): 1.0.0

## Description

## Source: amazon-inspector (f94b74862f327effaa43c1d01c4fd769626f73214d0706b80fef8b8a395cc3e8)
On `npm install`, the declared postinstall hook runs `node index.js`, which reads `os.hostname()` and a timestamp, base64-encodes the JSON payload, and issues an HTTPS GET to `https://estimator-nemeses-unwatched.ngrok-free.dev/canary?d=<base64>`. The destination is a hardcoded ngrok tunnel unrelated to any registry or vendor infrastructure, and the beacon fires automatically without any caller action or opt-in. The package's own metadata describes it as a `Dependency Confusion to RCE` proof-of-concept, and the install-time callback carries the installer's internal hostname to an external third party.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/4ff50359dc7f9c5ce6f1dae607fd8c96dfc8b5d2/osv/malicious/npm/event-hunter/MAL-2026-16478.json))

## References

- https://github.com/ossf/malicious-packages/blob/4ff50359dc7f9c5ce6f1dae607fd8c96dfc8b5d2/osv/malicious/npm/event-hunter/MAL-2026-16478.json
- https://www.npmjs.com/package/event-hunter/v/1.0.0
- https://github.com/advisories/GHSA-wwrq-gcqx-rx6p

Page: https://cve.now/GHSA-WWRQ-GCQX-RX6P

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
