Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in chart-data-utils (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:31:46 UTC)
Source: GCVE Database
Product: chart-data-utils

Description

The npm package [email protected] contains malicious code that executes during installation. It runs a postinstall script that collects system information, environment variables containing sensitive tokens and credentials, and probes cloud instance metadata endpoints. The harvested data is encoded and exfiltrated via HTTP to a hardcoded external server. The package masquerades as a harmless chart utility but is designed for credential harvesting and reconnaissance.

Affected software

npmghsa
chart-data-utils
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: 08/05/2026, 17:41:33 UTC

Technical Analysis

The chart-data-utils package version 1.0.0 includes a postinstall.js script that executes at npm install time. This script performs host reconnaissance by gathering hostname, user identity, process lists, network configuration, and environment variables filtered for sensitive keys such as KEY, TOKEN, SECRET, NPM_TOKEN, AWS_, AZURE, GCP, GITHUB_TOKEN, and GitHub Actions identity fields. It also probes cloud metadata endpoints for AWS, Aliyun, GCP, Tencent, and an internal host. The collected information is base64-encoded and sent over plain HTTP to a hardcoded Burp Collaborator subdomain. The package is a malicious credential harvester disguised as a chart data/color helper library.

Potential Impact

This malicious package can lead to the disclosure of sensitive credentials and environment variables, including cloud provider tokens and CI/CD pipeline secrets. The exfiltration of this data to an attacker-controlled server can enable unauthorized access to cloud resources, source code repositories, and other critical infrastructure. The reconnaissance performed may facilitate further targeted attacks.

Mitigation Recommendations

No official patch or remediation is currently available. Users should immediately remove the [email protected] package from their projects and audit their environment for potential credential exposure. Avoid installing this package and verify the integrity of dependencies before use. Monitor for any suspicious outbound network traffic to unknown domains. Check vendor advisories or trusted security sources for updates on remediation.

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-12350
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735747bf8831d53915a108

Added to database: 08/05/2026, 15:31:19 UTC

Last enriched: 08/05/2026, 17:41:33 UTC

Last updated: 08/05/2026, 19:34:01 UTC

Views: 3

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