Skip to main content

Malicious code in @public-for-cdao/config (npm)

0
Critical
Published: 06/17/2026 (06/17/2026, 03:50:04 UTC)
Source: GCVE Database
Product: @public-for-cdao/config

Description

The @public-for-cdao/config npm package version 99.99.99 contains malicious code as part of a dependency-confusion credential theft campaign. It includes a postinstall script (recon.js) that runs automatically during npm installation, collecting a wide range of sensitive credentials and environment data from the host system. The stolen data is then sent to attacker-controlled endpoints. This package is a lure targeting internal scopes and is not associated with an official vendor patch.

Affected software

npmghsa
@public-for-cdao/config
Affected versions
=99.99.99

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, 06:23:09 UTC

Technical Analysis

The @public-for-cdao/config package at version 99.99.99 is malicious. It executes a postinstall hook running recon.js, which collects host identifiers and sensitive credentials including CI tokens, GitLab access tokens, SSH keys, AWS credentials, database passwords, private keys, cryptocurrency mnemonics, Docker and npm credentials, and Slack/Discord tokens from environment variables and common .env file locations. The collected information is exfiltrated via HTTP POST to two attacker-controlled endpoints, one on webhook.site and another on Pipedream, with TLS verification disabled. This package is part of a dependency-confusion attack targeting internal package scopes.

Potential Impact

Successful installation of this package results in the theft of extensive sensitive credentials and secrets from the host environment, potentially leading to unauthorized access to cloud services, source code repositories, deployment environments, and other critical infrastructure. The attacker gains access to environment variables and configuration files that may compromise the confidentiality and integrity of affected systems and data.

Mitigation Recommendations

There is no official patch or fix available for this malicious package. Users should avoid installing the @public-for-cdao/config package version 99.99.99 or any packages from the @public-for-cdao scope unless verified as legitimate. Implement strict package source verification and use scoped package allowlists to prevent dependency confusion attacks. Audit your environment for any signs of credential exposure if this package was installed.

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-10602
Osv Schema Version
1.7.4
Aliases
["GHSA-387h-gmrw-37qg"]
Ecosystems
["npm"]

Threat ID: 6a96f31bacd9273b49e49971

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

Last enriched: 09/08/2026, 06:23:09 UTC

Last updated: 10/03/2026, 03:24:18 UTC

Views: 31

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