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…

MAL-2026-10062: Malicious code in es6-codify (npm)

0
Critical
Published: 07/09/2026 (07/09/2026, 15:46:22 UTC)
Source: GCVE Database
Product: es6-codify

Description

The es6-codify npm package contains malicious code that exfiltrates environment variables and other process information to an attacker-controlled server upon module load. This behavior occurs unconditionally in both CommonJS and ESM entrypoints, sending sensitive data such as CI secrets, cloud credentials, tokens, and database URLs. The package does not advertise any network functionality, indicating the network communication is malicious. Multiple versions of the package are affected.

Affected software

npmghsa
es6-codify
Affected versions
=1.2.0=2.2.0=2.0.0=1.0.1=2.1.0=1.3.0=1.1.0=1.4.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: 07/10/2026, 10:11:04 UTC

Technical Analysis

The es6-codify package, advertised as a small ES6 utility library, includes malicious code in its entrypoints (dist/index.cjs and the ESM build) that performs an HTTPS POST request to a hardcoded attacker-controlled host. This request transmits a JSON payload containing the full process environment variables, current working directory, Node.js version, and command-line arguments. The exfiltration triggers immediately upon module import or require, regardless of the module system used. There is no legitimate network functionality in the package, confirming the network activity is unauthorized data exfiltration.

Potential Impact

Sensitive environment variables and runtime information are leaked to an attacker-controlled server whenever the package is loaded. This can lead to compromise of secrets such as cloud credentials, tokens, and database URLs, potentially enabling further attacks on the victim's infrastructure or data.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately remove and replace the es6-codify package from their projects. Avoid using this package and audit dependencies for malicious code. Monitor for any unauthorized access using leaked credentials. Patch status is not yet confirmed — check the vendor advisory or trusted 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-10062
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50ba9768715ace435825c9

Added to database: 07/10/2026, 09:25:43 UTC

Last enriched: 07/10/2026, 10:11:04 UTC

Last updated: 07/10/2026, 10:11:04 UTC

Views: 2

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