Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

@coopeuch/componentsnpm

Advisory published Updated

@coopeuch/components is a confirmed malicious npm package (MAL-2026-17761) that steals credentials and exfiltrates sensitive data (malicious version 1.999.999). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @coopeuch/components (npm)

MAL-2026-17761
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @coopeuch/components

What this malware does

The package declares a postinstall script (postinstall.js) that runs automatically on npm install and collects a broad set of installer-side identifiers: hostname, username, uid/gid, home directory, platform, non-internal network interfaces with MAC addresses and CIDRs, configured DNS servers, internal reverse-DNS name, container runtime indicators, npm_* environment variables including the configured registry and scoped registry settings, CI marker variables, and the consuming project's package.json name, version, and declared dependency range for this package. The collected payload is POSTed as JSON to https://collector.oob.s4yhii.com/_npm-poc/beacon, and a DNS lookup beacon is issued against a subdomain of *.oob.s4yhii.com that encodes the package name as a label. The package is published under the @coopeuch scope at an implausibly high version 1.999.999 and specifically introspects the consumer manifest's declared dependency range and the installer's configured registry — a shape consistent with a dependency-confusion squat against an internal scope. Framing the behavior as a 'coordinated disclosure PoC' in author-controlled text does not change what the code does: installers that resolve this package in place of their internal @coopeuch/* package involuntarily disclose host, network, CI, and internal project metadata to a third-party endpoint.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

1 flagged
1.999.999

Indicators of compromise (SHA-256)

042f083be94ae23751c73b5a73c0f11e4e9ecafd9ee9f1caa8c05b367ac71de8
503b3cc9f30e91ab272eb6a09bbeacdafddc5eb3c82011753c15bac75d493697

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for @coopeuch/components (version 1.999.999).

  2. If you installed it — respond

    @coopeuch/components is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If @coopeuch/components was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. @coopeuch/components on npm has been identified as a malicious package (version 1.999.999 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-021445GHSA-8m68-7f2m-4825

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @coopeuch/components-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

@coopeuch/components (npm) malicious package — MAL-2026-17761 | O3 Security