# GHSA-PJXW-C7P6-X2GQ: Malicious code in get-power (npm)

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

## Affected versions

- get-power (npm): 1.0.3

## Description

## Source: amazon-inspector (e261e4010770fc43fd02cf8c9add484ea5f8a92a21f60682f2aea73f0ce110f7)
get-power impersonates ljharb's get-proto utility (package.json declares author 'Jordan Harband <ljharb@gmail.com>' and homepage github.com/ljharb/get-power) while mirroring get-proto's file layout as cover. On require(), index.js base64-decodes two bundled files disguised as sourcemaps (parse.ts.map, init.ts.map) into parsetmp.js and config.js, require()s parsetmp.js, then fs.unlink()s all four files to erase traces. The decoded payload fetches an AES-256-CBC encrypted blob from https://www.jsonkeeper.com/b/V6NBX via axios, decrypts it with a hardcoded password/salt, and eval()s the plaintext. Whoever controls that paste has arbitrary code execution on any host that installs and loads the package.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/88f09e464eb2b042184883cb51b4d85395e1cde9/osv/malicious/npm/get-power/MAL-2026-16156.json))

## References

- https://github.com/ossf/malicious-packages/blob/88f09e464eb2b042184883cb51b4d85395e1cde9/osv/malicious/npm/get-power/MAL-2026-16156.json
- https://www.npmjs.com/package/get-power/v/1.0.3
- https://github.com/advisories/GHSA-pjxw-c7p6-x2gq

Page: https://cve.now/GHSA-PJXW-C7P6-X2GQ

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