1-minute read
What a defender needs to know
Ten malicious versions of @7nohe/openapi-react-query-codegen were published in about 20 minutes after an untrusted pull-request author posted the workflow’s specific release comment. Eight stable releases carried Trinitite, which steals developer, registry, cloud, Vault, Kubernetes, SSH and CI credentials and can use writable package authority to spread.
The malicious stable versions are 0.5.4, 0.5.5, 1.6.3, 1.6.4, 2.2.1, 2.2.2, 3.0.3 and 3.0.4. A direct preinstall hook and Unicode-obfuscated evaluation inside binding.gyp both launch 3FWCvzduYZg.js, so suppressing package lifecycle scripts does not cover every execution path.
Isolate affected hosts immediately before token revocation. Remove the monitor at ~/.local/share/diaper/poopy.py, its /var/tmp/.shit state, the systemd-detect-fash and sysvinit-detect-fash user services, or their macOS LaunchAgents before rotating GitHub and other credentials from a clean system. Early revocation can trigger the monitor’s file-deletion handler.
Rebuild on last-safe versions 0.5.3, 1.6.2, 2.2.0 or 3.0.2, regenerate lockfiles, and search for 3FWCvzduYZg.js, binding.gyp, doubletrinnys- and IfYouRevokeThisTokenYourABadUser. The expected result is a safe resolved version, no published persistence artifact, and no unexplained package publication or public result repository tied to rotated identities.