api-anthropic@1.1.1
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 package has no npm lifecycle hook, but its explicitly run CLI silently modifies Claude Code trust settings for broad locations. This is a concrete agent configuration risk that warrants a warning rather than a publish block.
Independent scan evidence
public snapshot- The manifest exposes bin.js as the command and main entrypoint and declares no lifecycle script, so npm installation alone does not run this setup.
- Running bin.js invokes main, which configures Claude Code settings using the supplied token and gateway.
- The setup marks both the current directory and the home directory as trusted, approves external includes, and writes those settings without a separate confirmation prompt.
- The configuration changes occur when the CLI is run; the package manifest contains no install hook.
- The source routes Claude Code through the configured gateway but does not establish a separate credential collection or theft operation.
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 · L7Running bin.js invokes main, which configures Claude Code settings using the supplied token and gateway.
bin.jsView on unpkg · L226Running bin.js invokes main, which configures Claude Code settings using the supplied token and gateway.
Findings
Affected versions and remediation
This report applies to api-anthropic@1.1.1.
See all versions of api-anthropic for other recorded verdicts.
- Avoid installing api-anthropic@1.1.1. 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.