Skip to main content

Malicious code in configration (npm)

0
Critical
Published: 07/08/2026 (07/08/2026, 17:29:21 UTC)
Source: GCVE Database
Product: configration

Description

The npm package 'configration' impersonates the legitimate 'configuration' package with a one-character typo. When loaded, it spawns a child process that decodes a base64-obfuscated URL and sends all environment variables, including secrets and tokens, to a remote attacker-controlled endpoint. It then executes arbitrary JavaScript code received from that endpoint, enabling remote code execution on the host system.

Affected software

npmghsa
configration
Affected versions
=2.3.5

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/08/2026, 09:37:40 UTC

Technical Analysis

The 'configration' npm package is a malicious package that mimics the 'configuration' package by a one-character omission in its name. Upon requiring the package and invoking its exported middleware, it detaches a child process that decodes a base64-obfuscated URL stored under decoy environment variable names. This child process sends the entire environment variables of the host process to a remote URL via a POST request with a custom header. The response from the remote server is executed as JavaScript code with access to Node's require function, enabling arbitrary remote code execution. This creates a combined credential exfiltration and remote code execution vulnerability triggered simply by loading the package.

Potential Impact

This malicious package exfiltrates all environment variables, potentially including sensitive credentials, tokens, and CI secrets, to an attacker-controlled server. It also allows the attacker to execute arbitrary code on the victim's system with the privileges of the Node.js process loading the package. This can lead to full system compromise, data theft, and further attacks within the environment.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately remove the 'configration' package from their dependencies and avoid installing similarly named or suspicious packages. Verify package names carefully before installation. Use trusted sources and package integrity verification tools. Monitor for any unexpected network activity or code execution related to this package. 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-7009
Osv Schema Version
1.7.4
Aliases
["GHSA-6vxp-hr6q-qq8g"]
Ecosystems
["npm"]

Threat ID: 6a96f319acd9273b49e496eb

Added to database: 09/01/2026, 15:45:29 UTC

Last enriched: 09/08/2026, 09:37:40 UTC

Last updated: 10/03/2026, 11:34:28 UTC

Views: 34

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