{"id":"MAL-2026-13629","revision":"2b22773a96c141af9010171e5b9975e4","records":[{"revision":"2b22773a96c141af9010171e5b9975e4","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13629","aliases":[],"title":"Malicious code in @coralxyz/anchor (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1475ce579e5b1ce9d7597187d091b29b70cbe1a563ed70946517673c29683763)\nPackage @coralxyz/anchor impersonates the legitimate Solana Anchor framework package @coral-xyz/anchor (hyphen removed). The npm postinstall hook, implemented in scripts/postinstall.js, hides all string literals behind a hex-escaped string-array decoder (_0x5a2f / _0xf). On Windows (win32), the decoded logic downloads a zip archive from the anonymous file host https://files.catbox.moe/9bppy2.zip, extracts it via PowerShell Expand-Archive to a temporary directory, walks the extracted tree, and spawns any.exe file it finds detached with windowsHide. index.js is a minimal stub; the package's advertised Anchor framework functionality is not present, and the postinstall dropper is the sole meaningful behavior. The delivery vector is name confusion with the widely used @coral-xyz/anchor package.\n","state":0,"publishedAt":"2026-08-08T00:52:09+00:00","modifiedAt":"2026-08-08T01:04:56.9076942+00:00","affected":[{"ecosystem":"npm","name":"@coralxyz/anchor","ranges":[],"versions":["0.30.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@coralxyz/anchor/v/0.30.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13629","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13629","identifiers":["MAL-2026-13629"]},"retained":false,"historicalAffected":[]}],"coverage":[]}