Skip to main content

Malicious code in grafeno-webhook (npm)

0
Critical
Published: 08/29/2026 (08/29/2026, 23:11:06 UTC)
Source: GCVE Database
Product: grafeno-webhook

Description

The npm package 'grafeno-webhook' version 1.0.0 contains malicious code in its preinstall.js lifecycle script. This script automatically executes during npm install and performs hostile actions including exfiltrating sensitive environment variables and system identifiers to a remote IP address over unencrypted HTTP. On non-Windows systems, it also spawns a reverse shell, allowing remote command execution on the affected host.

Affected software

npmghsa
grafeno-webhook
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, 13:09:09 UTC

Technical Analysis

The 'grafeno-webhook' npm package version 1.0.0 includes a malicious preinstall.js script that runs automatically during installation. It collects environment variables containing sensitive keywords (AWS, TOKEN, KEY, SECRET, PASS, API), encodes them along with the host's hostname and username, and sends this data via curl to a hardcoded IP address (http://216.126.236.46/r.php) over plain HTTP. Additionally, on non-Windows platforms, it initiates an interactive bash reverse shell to the same IP on port 4444, granting the attacker full remote command execution capabilities on the compromised machine. This behavior enables attacker control and victim tracking.

Potential Impact

Sensitive environment variables and host identifiers are exfiltrated to an attacker-controlled server, potentially exposing credentials and secrets. The reverse shell on non-Windows systems allows full remote command execution, leading to complete system compromise. This poses a critical risk to confidentiality, integrity, and availability of affected systems.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing version 1.0.0 of 'grafeno-webhook'. Review and remove this package if already installed. Monitor for suspicious network connections to the IP 216.126.236.46 and investigate any unexpected reverse shell activity. Consider using trusted package sources and scanning dependencies for malicious code before installation.

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-15573
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a936b7eacd9273b4957058f

Added to database: 08/29/2026, 23:30:06 UTC

Last enriched: 09/09/2026, 13:09:09 UTC

Last updated: 10/02/2026, 13:48:04 UTC

Views: 106

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