Skip to main content

Malicious code in grafeno-config (npm)

0
Critical
Published: 08/28/2026 (08/28/2026, 23:02:08 UTC)
Source: GCVE Database
Product: grafeno-config

Description

The npm package 'grafeno-config' version 1.0.0 contains malicious code that executes a shell script fetched from an untrusted IP address during installation. This script is also scheduled to run every 30 minutes via a crontab entry, enabling persistent arbitrary remote code execution on the host system.

Affected software

npmghsa
grafeno-config
Affected versions
=1.0.0

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

AILast updated: 09/09/2026, 20:23:24 UTC

Technical Analysis

The 'grafeno-config' npm package version 1.0.0 declares a preinstall lifecycle hook that runs a shell command fetching a script from the IP 216.126.236.46 over plain HTTP and pipes it to /bin/bash. This allows execution of arbitrary code controlled by the attacker at install time. Additionally, the package appends a crontab entry to re-execute the fetched script every 30 minutes, maintaining persistent remote code execution independent of the package's presence. The payload is unpinned and unverified, making it fully mutable by the attacker controlling the remote host.

Potential Impact

This vulnerability allows an attacker to execute arbitrary code on the host machine during package installation and persistently thereafter via a scheduled task. This can lead to full system compromise, data theft, or further malware deployment. The attack does not rely on the continued presence of the package, increasing the risk of stealthy persistence.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing 'grafeno-config' version 1.0.0. Remove any existing installations and inspect systems for the presence of the malicious crontab entry and any scripts fetched from the indicated IP address. Monitor and block network connections to 216.126.236.46 to prevent further payload retrieval. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-15504
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a92f7e3acd9273b49e75d36

Added to database: 08/29/2026, 15:16:51 UTC

Last enriched: 09/09/2026, 20:23:24 UTC

Last updated: 10/01/2026, 22:27:35 UTC

Views: 23

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses