Malicious code in opt-archetype-check (npm)
The npm package opt-archetype-check contains malicious code that executes during installation. Its postinstall script collects sensitive environment information including public IP, hostname, username, platform details, and Windows domain environment variables, then sends this data unencrypted to a hardcoded attacker-controlled server. The package appears to impersonate internal Walmart tooling to trick environments into installing it, enabling reconnaissance for further attacks. Systems with this package installed should be considered fully compromised, and all secrets and keys on those systems must be rotated. Removal of the package does not guarantee full remediation due to potential further compromise.
AI Analysis
Technical Summary
The opt-archetype-check npm package versions 9.9.0, 9.9.1, and 9.99.4 include a postinstall hook that runs a script collecting detailed system and environment information. This data includes the installer's public IP (via api.ipify.org), hostname, username, platform, current working directory, process ID, and Windows domain environment variables (COMPUTERNAME, USERDOMAIN, LOGONSERVER, USERDNSDOMAIN, USERNAME). The collected information is sent via an unencrypted HTTP POST request to a hardcoded attacker endpoint at http://109.71.252.153:8080/callback. The package masquerades as internal Walmart tooling, suggesting a dependency confusion attack vector. The malicious script header identifies itself as a proof-of-concept for npm package takeover. The presence of this package indicates a full system compromise, with potential for further malicious activity beyond the initial data exfiltration.
Potential Impact
Installation of the affected opt-archetype-check package versions results in exfiltration of sensitive environment and infrastructure information to an attacker-controlled server. This reconnaissance data can facilitate further targeted intrusions. Systems with this package installed are considered fully compromised, potentially allowing attackers full control. Secrets and keys stored on the compromised system may be exposed and require immediate rotation. Removal of the package alone may not eliminate all malicious software or backdoors introduced by the attacker.
Mitigation Recommendations
No official patch or fix is currently documented. Immediate removal of the opt-archetype-check package versions 9.9.0, 9.9.1, and 9.99.4 is recommended. Because the package's installation indicates full system compromise, all secrets, credentials, and keys stored on the affected system should be rotated from a separate, trusted environment. Conduct a thorough investigation for additional malware or persistence mechanisms. Monitor for suspicious network activity related to the hardcoded callback endpoint. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Malicious code in opt-archetype-check (npm)
Description
The npm package opt-archetype-check contains malicious code that executes during installation. Its postinstall script collects sensitive environment information including public IP, hostname, username, platform details, and Windows domain environment variables, then sends this data unencrypted to a hardcoded attacker-controlled server. The package appears to impersonate internal Walmart tooling to trick environments into installing it, enabling reconnaissance for further attacks. Systems with this package installed should be considered fully compromised, and all secrets and keys on those systems must be rotated. Removal of the package does not guarantee full remediation due to potential further compromise.
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 opt-archetype-check npm package versions 9.9.0, 9.9.1, and 9.99.4 include a postinstall hook that runs a script collecting detailed system and environment information. This data includes the installer's public IP (via api.ipify.org), hostname, username, platform, current working directory, process ID, and Windows domain environment variables (COMPUTERNAME, USERDOMAIN, LOGONSERVER, USERDNSDOMAIN, USERNAME). The collected information is sent via an unencrypted HTTP POST request to a hardcoded attacker endpoint at http://109.71.252.153:8080/callback. The package masquerades as internal Walmart tooling, suggesting a dependency confusion attack vector. The malicious script header identifies itself as a proof-of-concept for npm package takeover. The presence of this package indicates a full system compromise, with potential for further malicious activity beyond the initial data exfiltration.
Potential Impact
Installation of the affected opt-archetype-check package versions results in exfiltration of sensitive environment and infrastructure information to an attacker-controlled server. This reconnaissance data can facilitate further targeted intrusions. Systems with this package installed are considered fully compromised, potentially allowing attackers full control. Secrets and keys stored on the compromised system may be exposed and require immediate rotation. Removal of the package alone may not eliminate all malicious software or backdoors introduced by the attacker.
Mitigation Recommendations
No official patch or fix is currently documented. Immediate removal of the opt-archetype-check package versions 9.9.0, 9.9.1, and 9.99.4 is recommended. Because the package's installation indicates full system compromise, all secrets, credentials, and keys stored on the affected system should be rotated from a separate, trusted environment. Conduct a thorough investigation for additional malware or persistence mechanisms. Monitor for suspicious network activity related to the hardcoded callback endpoint. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6075
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-fq5h-gc4g-76cp"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4f6c3d68715ace431589b4
Added to database: 07/09/2026, 09:39:09 UTC
Last enriched: 07/09/2026, 09:53:29 UTC
Last updated: 07/28/2026, 11:26:12 UTC
Views: 6
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.
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.