VYPR

npm · Malicious package advisory

Malware

process-lhpm

GHSA-8x79-9h94-vj8g

Malicious code in process-lhpm (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.1.79`

## Source: amazon-inspector (a663308c4051eb4b31faf7fb984989f3e1b3498e505dc05052e2beb5fbf7e6d2)
On require/import, index.js auto-invokes initialize(), which spawns a detached, stdio-suppressed `node loader.js` background process. loader.js performs an HTTPS GET to https://api.npoint.io/33e8d008c334b060adad, base64-decodes the `code` field of the JSON response, and executes it via `new Function('require','__dirname','__filename','module','exports', decodedCode)(...)` with full Node privileges and require access. The remote payload URL is stored in a variable named `API_KEY` to obscure its role. api.npoint.io is a mutable third-party JSON hosting service, so the executed code can be swapped by the operator at any time without republishing the package. The detached child process outlives the importing application, establishing a persistent remote-code-loading channel on any host that imports this package.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9947fca3b118619628d7c35349b0b5d2b1852e1c/osv/malicious/npm/process-lhpm/MAL-2026-16178.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/9947fca3b118619628d7c35349b0b5d2b1852e1c/osv/malicious/npm/process-lhpm/MAL-2026-16178.json
- https://www.npmjs.com/package/process-lhpm/v/1.1.79
- https://github.com/advisories/GHSA-8x79-9h94-vj8g

Compromised versions (1)

  • = 1.1.79

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.