Malicious code in @coopeuch/core (npm)
Description
The npm package @coopeuch/core version 1.999.999 contains malicious code that executes automatically upon installation. This code collects extensive host and environment information, including system identifiers, network details, and private project metadata, and sends this data to an external server without user consent. The package uses a dependency confusion technique by adopting a high version number to override internal scoped packages. This behavior constitutes unauthorized data exfiltration during package installation.
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/core npm package at version 1.999.999 performs a dependency confusion attack by publishing a package with a version number designed to supersede internal scoped packages. Upon installation, its postinstall.js script automatically executes and collects detailed host and environment information such as hostname, user identifiers, platform details, network interfaces, DNS servers, container detection, and npm environment variables including scoped registry configuration and the parent project's package metadata. This collected data is sent as a JSON report to https://collector.oob.s4yhii.com/_npm-poc/beacon, and a DNS lookup is performed against a subdomain of oob.s4yhii.com as a secondary out-of-band channel. The package does this without the installer's consent, effectively exfiltrating sensitive environment and project information.
Potential Impact
Unauthorized disclosure of sensitive host and environment information occurs, including internal network topology, user and system identifiers, and private project metadata. This can lead to privacy violations and potentially aid attackers in further targeting the affected environment. The attack leverages dependency confusion to trick internal package resolution, increasing the risk of inadvertent installation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix or official guidance is available, avoid installing or updating to @coopeuch/core version 1.999.999. Review internal package resolution policies to prevent dependency confusion attacks, such as enforcing strict scoped package resolution and verifying package sources before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17763
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6acc00a32cdf04f656fecb27
Added to database: 10/11/2026, 21:33:23 UTC
Last enriched: 10/11/2026, 21:43:23 UTC
Last updated: 10/11/2026, 21:43:23 UTC
Views: 2
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.