# GHSA-PWJ2-G23F-P5JG: Malicious code in deposit-limit-fe (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-11
- Modified: 2026-10-11

## Affected versions

- deposit-limit-fe (npm): 100.100.106
- deposit-limit-fe (npm): 100.100.101
- deposit-limit-fe (npm): 100.100.102

## Description

## Source: amazon-inspector (89565d767d3541470834dc9764af6e4abbe4acb5ba4eb721f7e3008e3a80b1d2)
deposit-limit-fe@100.100.101 is published as a 'Deposit limit frontend utilities' library but its main entry (index.js) exports an empty object and ships no real functionality. package.json declares `postinstall: node postinstall.js`, which require()s a bundled Linux x64 native addon at `prebuilds/linux-x64/addon.node` inside a silenced try/catch. The addon has no corresponding C/C++ source or binding.gyp in the tarball. On load it reads the environment variables HOSTNAME, USER, npm_package_name, and npm_config_registry, forks, opens a TCP socket to the hardcoded bare IP 64.181.165.115, and sends `POST /dc HTTP/1.0` with a form-encoded body `h=<hostname>&p=<package>&u=<user>&r=<registry>`. The anomalous 100.100.101 version and the explicit exfiltration of `npm_config_registry` are the fingerprint of a dependency-confusion reconnaissance beacon targeting an internal/private npm registry package name. Installing this package automatically leaks the installer's hostname, OS username, and private npm registry URL to an attacker-controlled endpoint and executes opaque native code on the installer's machine.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/deposit-limit-fe/MAL-2026-17769.json))

## References

- https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/deposit-limit-fe/MAL-2026-17769.json
- https://www.npmjs.com/package/deposit-limit-fe/v/100.100.101
- https://www.npmjs.com/package/deposit-limit-fe/v/100.100.102
- https://www.npmjs.com/package/deposit-limit-fe/v/100.100.106
- https://github.com/advisories/GHSA-pwj2-g23f-p5jg

Page: https://cve.now/GHSA-PWJ2-G23F-P5JG

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