Skip to main content

Malicious code in csv-parser-helper (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:32:36 UTC)
Source: GCVE Database
Product: csv-parser-helper

Description

The npm package 'csv-parser-helper' version 1.0.0 is a malicious package masquerading as a CSV parser. Instead of providing CSV parsing functionality, it executes a postinstall script during npm install that collects sensitive environment and system information, including hostname, user, process details, and cloud instance metadata. This data is encoded and exfiltrated to a hardcoded external server. No legitimate CSV parsing code is present in the package.

Affected software

npmghsa
csv-parser-helper
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:40:21 UTC

Technical Analysis

The 'csv-parser-helper' npm package (version 1.0.0) contains malicious code embedded in a postinstall.js script that runs automatically during installation. This script gathers extensive reconnaissance data from the host environment, such as hostname, current user, working directory, system information, container detection, process tree, network info, and environment variables that may include secrets like GITHUB_TOKEN and cloud provider keys. It also probes AWS and Tencent cloud metadata services. The collected data is base64-encoded and exfiltrated via an HTTP GET request to a hardcoded Burp Collaborator domain, indicating intentional data theft. The package's advertised CSV parsing functionality is a cover; the index.js file contains unrelated code and no CSV parsing.

Potential Impact

This malicious package can lead to significant information disclosure, including sensitive environment variables and cloud instance metadata, potentially exposing credentials and secrets. This can facilitate further compromise of the affected system or cloud environment. The exfiltration of data to an attacker-controlled domain represents a direct breach of confidentiality.

Mitigation Recommendations

No official patch or remediation is currently available. Users should immediately remove and avoid installing the 'csv-parser-helper' package version 1.0.0. Audit existing environments for installations of this package and investigate for potential data exposure. Use trusted package sources and verify package authenticity before installation. Monitor for suspicious network activity related to the exfiltration domain. Patch status is not yet confirmed — check the vendor advisory or trusted security sources 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-12360
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735747bf8831d53915a0f9

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

Last enriched: 08/05/2026, 17:40:21 UTC

Last updated: 09/11/2026, 00:47:18 UTC

Views: 17

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