Malicious code in @coopeuch/config (npm)
Description
The @coopeuch/config npm package version 1.999.999 contains malicious code that executes automatically upon installation. It collects detailed host and environment information, including host identity, network interfaces, container detection, and project metadata, then sends this data to a hardcoded external server without user consent. This behavior exposes internal infrastructure details and private project identifiers to an unauthorized third party.
Affected software
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
Technical Analysis
The @coopeuch/config package at version 1.999.999 publishes a stub index.js designed to override internal scope resolution when scope-to-registry mappings are missing. During npm install, a postinstall script runs that collects extensive host identity data (hostname, username, user/group IDs, home directory, network interface addresses and MACs, DNS servers, reverse DNS internal FQDN), CI/orchestration environment markers, npm context, container detection via /proc/1/cgroup, and metadata about the consuming parent package (name, version, declared version range). This aggregated information is sent via HTTPS POST to a hardcoded external endpoint (collector.oob.s4yhii.com/_npm-poc/beacon) and also triggers a DNS beacon under *.oob.s4yhii.com. The data exfiltration occurs automatically without user consent, potentially leaking sensitive internal infrastructure and project details.
Potential Impact
This malicious package compromises confidentiality by exfiltrating sensitive internal infrastructure information and private project identifiers to an external attacker-controlled server. The automatic execution at install time means any organization resolving this package from the public npm registry risks unintended data leakage. There is no indication of further exploitation beyond data collection in the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory or npm registry for current remediation guidance. Until a fix or official advisory is available, avoid installing or resolving the @coopeuch/config package at version 1.999.999 from the public npm registry. Implement strict package source controls and audit dependencies to prevent accidental inclusion of this malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17762
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6acc00a32cdf04f656fecb31
Added to database: 10/11/2026, 21:33:23 UTC
Last enriched: 10/11/2026, 21:44:10 UTC
Last updated: 10/11/2026, 21:44:10 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.