api-anthropic@1.1.2
OpenSSF/OSV Malicious Advisory
imported 6d ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-18055 confirms this npm version as malicious.
Independent LPM AI assessment
SuspiciousIndependent AI assessment: suspicious. LPM AI assessed this version as suspicious; the assessments disagree.
The CLI automatically broadens Claude Code trust to the user's home directory and approves external includes, which weakens a meaningful safety boundary. The behavior is part of an explicitly invoked setup, and the displayed gateway configuration does not independently establish credential theft, so warn rather than block.
Independent scan evidence
public snapshot- The manifest presents bin.js as a one-command Claude Code setup and declares no npm lifecycle script.
- The CLI accepts a caller-supplied key and displays its default api-anthropic.help gateway before prompting for the key.
- The CLI sets the global Claude Code base URL to that gateway and stores the supplied key as ANTHROPIC_AUTH_TOKEN.
- The CLI writes the settings file and automatically accepts trust for both the current folder and the user's home, including external CLAUDE.md includes.
- The trust changes are written to Claude's global configuration; unless --no-launch is supplied, the CLI starts Claude Code.
- The gateway is displayed before key entry, and the package describes this as a user-invoked gateway setup.
- The inspected source shows no hidden credential collection or separate payload execution; the concrete concern is automatic weakening of Claude's trust prompts.
Source & flagged code
8 flaggedSource gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
bin.jsView on unpkg · L7Findings
Affected versions and remediation
This report applies to api-anthropic@1.1.2.
See all versions of api-anthropic for other recorded verdicts.
- Avoid installing api-anthropic@1.1.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.