Malicious code in grafeno-pix (npm)
Description
The npm package 'grafeno-pix' versions 1.0.0 and 1.0.1 contain malicious code that executes a preinstall hook fetching and running a shell script from an untrusted IP address. This script is also installed as a crontab job to run every 30 minutes, enabling persistent remote code execution on the host system.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'grafeno-pix' npm package versions 1.0.0 and 1.0.1 include a preinstall hook that runs a command to download and execute a shell script from the IP address 216.126.236.46 over plain HTTP without integrity checks. This hook also installs a crontab entry that re-executes the remote script every 30 minutes, providing persistent remote code execution capability. The remote endpoint is unrelated to the package publisher and the content fetched is unverified, allowing arbitrary code execution with the privileges of the user installing the package. This behavior was identified by Amazon Inspector and the OpenSSF Package Analysis project, classifying the package as malicious.
Potential Impact
Installation of these package versions results in arbitrary code execution on the host system during installation and persistently thereafter via a scheduled cron job. This can lead to full system compromise depending on the privileges of the installing user. The malicious code is delivered from an untrusted external source without integrity verification, increasing risk of further payload modifications or additional malware delivery.
Mitigation Recommendations
Do not install or use 'grafeno-pix' versions 1.0.0 or 1.0.1. Remove any existing installations of these versions immediately and check for and delete the malicious cron job. Since no official fix or patch is indicated, avoid this package entirely or use a trusted alternative. Monitor for any unauthorized code execution or persistence mechanisms if these versions were installed.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15507
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a92f7d9acd9273b49e75ab2
Added to database: 08/29/2026, 15:16:41 UTC
Last enriched: 09/09/2026, 21:23:13 UTC
Last updated: 10/01/2026, 22:27:06 UTC
Views: 25
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.