Skip to main content
MalwarePublished Updated

opt-archetype-check (npm) · Malicious Code

Affects opt-archetype-checkSource GCVE Database

0

Malicious package : remove opt-archetype-check and rotate any secrets on hosts that installed it.

Data as of 9 Jul 2026, 09:53 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6075

What to do

Remove opt-archetype-check from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmopt-archetype-checkAffected
  • =9.9.1
  • =9.99.4
  • =9.9.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…