Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in anthropic-setup (npm)

0
Unknown
Published: 08/05/2026 (08/05/2026, 13:14:26 UTC)
Source: GCVE Database
Product: anthropic-setup

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9a5019e390fffd163e88f49fe1fc12c4ce8d2e50d7563cf7cf0a38508dc4eef5) 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

npmghsa
anthropic-setup
Affected versions
=1.0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12510
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735740bf8831d539153764

Added to database: 08/05/2026, 15:31:12 UTC

Last updated: 08/05/2026, 15:31:12 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses