{"id":"MAL-2026-10694","summary":"Malicious code in vor8zakon (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (99924288481504c324c3f573ba7ba99ac4e1c7a7f22a940c94d81059b868fdfd)\nPackage advertises itself as 'A simple cryptographic library for JavaScript applications' but ships no crypto code and exports nothing. package.json declares a postinstall hook (`node index.js`) that detects the host OS and runs platform-specific commands: on Windows it builds a UTF16LE+base64 PowerShell EncodedCommand and runs it via `powershell -WindowStyle Hidden -EncodedCommand \u003cblob\u003e`; on macOS it invokes `osascript`; on Linux it spawns `python3 -c \"import os; os.system('gnome-calculator &')\"`. After execution, a `cleanUp()` routine renames a sibling `package.md` over `package.json` (replacing the manifest with a decoy) and deletes index.js itself, leaving a victim auditing the installed package directory with an innocuous manifest and no payload file. The current GUI-calculator action is a placeholder, but the harness — purpose mismatch, hidden-window obfuscated PowerShell, multi-platform install-time exec, manifest swap, self-deletion, empty README, throwaway author — is a working install-time RCE delivery channel and an anti-forensic dropper pattern, not a crypto library.\n\n## Source: ghsa-malware (721d7e16a5301a1aa9df428ffbe01436fa3d36f2700a8b2d62dd40ed8b743034)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","aliases":["GHSA-9f89-97fj-pqmp"],"modified":"2026-07-16T19:20:01.900069062Z","published":"2026-07-16T07:28:12Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-07-16T07:55:14.405376953Z","id":"GHSA-9f89-97fj-pqmp","modified_time":"2026-07-16T07:28:12Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"source":"ghsa-malware","sha256":"721d7e16a5301a1aa9df428ffbe01436fa3d36f2700a8b2d62dd40ed8b743034"},{"versions":["1.0.0"],"source":"amazon-inspector","sha256":"99924288481504c324c3f573ba7ba99ac4e1c7a7f22a940c94d81059b868fdfd","import_time":"2026-07-16T18:54:04.99028812Z","id":"IN-MAL-2026-010789","modified_time":"2026-07-16T18:48:07Z"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9f89-97fj-pqmp"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vor8zakon/v/1.0.0"}],"affected":[{"package":{"name":"vor8zakon","ecosystem":"npm","purl":"pkg:npm/vor8zakon"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"indicators":{"evidence_files":[{"path":"index.js","sha256":"93e3aea817a9a84ebfca81656b9de7b0f30b01f1764b282d27de5b3d51de8185","tlsh":"4c319e54466ab721cdb2bbf55da3041df61ba0633642b2c83dcc96c45f7146045b2fbc"},{"sha256":"2dfde1c638cf2baa2f0525f4957c1659c95e6f046b0e8fb9698706776c06381c","tlsh":"83d0a7b10f21e16336c449f90d3ba19a35638d1f045c781c1793115950da37748be30d","path":"package.json"}]},"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vor8zakon/MAL-2026-10694.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}