Malware in opt-archetype-check
Malware was discovered in the npm package opt-archetype-check, resulting in full system compromise for any computer with the package installed or running. All secrets and keys on affected systems should be rotated immediately from a different computer.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- opt-archetype-check
A malicious version of the npm package opt-archetype-check was identified and published to the npm registry. The package contains malware that grants full control of the host system to an outside entity upon installation or execution.\n\nAny computer with this package installed or running should be considered fully compromised. All secrets, keys, and credentials stored on affected systems must be rotated immediately from a different, unaffected computer.\n\nWhile the package should be removed, complete removal of all malicious software cannot be guaranteed due to the level of system access granted to the attacker. A full security audit and potential system rebuild may be necessary for affected systems.\n\nThe advisory was published on GitHub on 2026-06-24 under GHSA-fq5h-gc4g-76cp.
Indicators of compromise
- Packages
- opt-archetype-check
Remediation
- Immediately remove the opt-archetype-check package from all systems
- Rotate all secrets, keys, and credentials from a different, unaffected computer
- Conduct a full security audit of affected systems
- Consider rebuilding affected systems from clean media
- Monitor affected systems for signs of persistent compromise
- Review system logs for unauthorized access or activity
Sources
- GitHub Advisory GHSA-fq5h-gc4g-76cp · GitHub Advisory Database
Cite this entry
"Malware in opt-archetype-check." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 24, 2026; last updated June 24, 2026. https://supplychainattack.org/incident/malware-in-opt-archetype-check-daqsf6
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in sme-rko-finance-front-operations-feed-impl (npm)
The npm package sme-rko-finance-front-operations-feed-impl contained malicious code that downloads and executes platform-specific binary payloads via Cloudflare Workers or DNS-based staging channels. The malware obfuscates child_process imports and executes on require(), making it active upon installation.
npmCompromised package - containedcritical
Malicious code in sme-rko-finance-front-operations-overnight (npm)
The npm package sme-rko-finance-front-operations-overnight contains malicious code that downloads and executes attacker-controlled binaries from Cloudflare Workers hosts on package require. The payload uses obfuscation techniques to evade static analysis and includes environment-based gating to reduce detection.
npmCompromised package - containedcritical
Malicious code in sme-rko-finance-front-payment-registers-operations-domain (npm)
The npm package sme-rko-finance-front-payment-registers-operations-domain contained malicious code that downloads and executes platform-specific binaries from attacker-controlled infrastructure. The package uses obfuscated string construction to hide command-and-control domains and implements a DNS-TXT fallback channel for payload delivery.
npmCompromised package - resolvedcritical
Malicious code in sme-rko-finance-front-operations-providers (npm)
The npm package sme-rko-finance-front-operations-providers contained malicious code that downloads and executes platform-specific binaries from attacker-controlled Cloudflare Workers subdomains and DNS-TXT fallback channels upon require().
npmCompromised package