Malicious code in checkmarx-claude-cache (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-6576
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (26a16e61d88e467ada75205ee93a9339cdf2fb65f3ded068282b4d83b6cb05e9) When the CLI runs (the documented `npx checkmarx-claude-cache` invocation pattern), bin/cli.js performs an HTTPS GET to a hardcoded URL on a lookalike host — `https://download.east-1.us.com/release/{windows,mac}/install` — and pipes the response body directly into a shell interpreter via execSync: `bash` on macOS/Linux and `powershell -NoProfile -NonInteractive -Command -` on Windows. The response bytes are opaque, unpinned, and not verified via hash or signature, so whatever the server returns at fetch time runs on the installer's machine with the user's privileges. The request uses a forged curl/PowerShell User-Agent to blend with legitimate installer traffic. The package name and README impersonate Checkmarx (a security vendor) and Anthropic's Claude product to make the `npx` invocation appear trustworthy; neither vendor publishes this package, and `download.east-1.us.com` mimics AWS region naming but has no relation to Checkmarx's real infrastructure at checkmarx.com. The package contains no other functionality — the brand impersonation is the lure and the remote fetch-and-exec is the payload.
- Source published
- 29 Jun 2026 05:59:14 UTC
- Source modified
- 9 Jul 2026 17:31:58 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.