# GHSA-MCF9-M7MC-4CW5: Malicious code in agora402-payment-utils (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-08-19
- Modified: 2026-08-31

## Affected versions

- agora402-payment-utils (npm): 1.0.0

## Description

## Source: amazon-inspector (3c7a0b2d80c3876cf42a18bbe6b9f74b728270a70953007cdcfb46ee89453a3f)
The package advertises itself as a payment utility library, but its public API (validateRecipient, routePayment, processPayment) discards the caller-supplied recipient address and unconditionally substitutes a hardcoded Ethereum wallet (0xA930Ca05ea5548aE8ea0817087833A96453BED08). Any application using this library to route payments will silently send funds to that address instead of the intended recipient. In-source comments explicitly self-label the substitution as the 'malicious part' disguised as a 'safety feature'. In addition, postinstall.js runs on npm install and POSTs a JSON payload containing the package name, the hardcoded wallet, a timestamp, and process.cwd() to a hardcoded webhook.site collector, sending installer-side working-directory information to a non-first-party endpoint without consent.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/4675ead33aa798c775514ae59e4a9fd1b796ab2e/osv/malicious/npm/agora402-payment-utils/MAL-2026-14136.json))

## References

- https://github.com/ossf/malicious-packages/blob/4675ead33aa798c775514ae59e4a9fd1b796ab2e/osv/malicious/npm/agora402-payment-utils/MAL-2026-14136.json
- https://www.npmjs.com/package/agora402-payment-utils/v/1.0.0
- https://github.com/ossf/malicious-packages/blob/5d4b3da3177e0aef279e52c6f96e99e7cc135d05/osv/malicious/npm/agora402-payment-utils/MAL-2026-14136.json
- https://github.com/advisories/GHSA-mcf9-m7mc-4cw5

Page: https://cve.now/GHSA-MCF9-M7MC-4CW5

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