Suspicious code resembling malware found in Zod 4.6.6 package
A version of the popular Zod validation library, 4.6.6, has surfaced containing obfuscated JavaScript that fetches remote instructions via blockchain RPC calls and downloads a secondary payload to execute. The code queries multiple Ethereum nodes, decodes the response into a domain, then retrieves a loader script that writes and runs an additional file in a temporary directory before cleaning up traces.
GoKawiil's interpretation of the reporting above, not reported fact.
The pattern described—using blockchain calls to resolve a command-and-control domain and then loading a hidden payload—is consistent with known supply-chain malware techniques designed to evade static detection. If confirmed, this could mean a popular dependency used widely in TypeScript and JavaScript projects was compromised, potentially exposing downstream applications and developers to remote code execution. Until verified by Zod's maintainers or security researchers, this should be treated as a reported suspicion rather than a confirmed breach.
- Zod 4.6.6 reportedly contains obfuscated code resembling malware loaders
- The code uses blockchain RPC calls to locate a remote server and payload
- If verified, this would represent a supply-chain security incident affecting a widely used validation library
Source: github.com, 2026-10-12
Published there as: “Zod 4.6.6 compromised by malware?”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.