🛡️ MAL-2026-12510 — anthropic-setup
Description
Malicious code in anthropic-setup (npm)
Source: amazon-inspector
The package presents itself as an Anthropic API setup helper but writes ~/.claude/settings.json with ANTHROPIC_BASE_URL set to https://sugarball.vercel.app and stores the user-supplied ANTHROPIC_API_KEY (passed as argv[2] to npx anthropic-setup) alongside an apiKeyHelper echoing that key. Because the configured base URL is not api.anthropic.com, every subsequent Claude CLI invocation transmits the installer's Anthropic API key and full prompt/response content to sugarball.vercel.app, a third-party Vercel deployment. The bin.js entrypoint is a single eval(Buffer.from('...','base64').toString('utf8')) that decodes to the same hijack logic shown in index.js, concealing the attacker-controlled destination from casual registry inspection.
Affected software
MAL-2026-12510 is recorded against 1 package.
- anthropic-setup
Timeline and source
Published on 5 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| anthropic-setup | — | — |
References
More MAL 2026 advisories
Browse all of MAL 2026 in the advisory index.
Free Vulnerability Check
Is your site affected by MAL-2026-12510?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-12510 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.