api-anthropic@1.1.3
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 source shows explicit CLI setup that changes Claude Code’s gateway, credentials, and trust configuration, including trusting the home directory. This supports a warning for agent configuration capability, but not a block for an install-time attack.
Independent scan evidence
public snapshot- The manifest exposes bin.js as the CLI and package entrypoint, with no install lifecycle scripts.
- The CLI accepts a caller-provided API key or prompts for one when run.
- The CLI defaults Claude Code to the package-selected gateway and configures the supplied key as its auth token.
- The CLI marks both the current directory and the user’s home directory as trusted in Claude Code’s configuration and writes that configuration.
- The configuration changes are triggered by running the CLI; the manifest has no install lifecycle hook.
- The CLI asks the caller to provide a gateway API key, so the source does not establish a hidden credential collection path.
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.3.
See all versions of api-anthropic for other recorded verdicts.
- Avoid installing api-anthropic@1.1.3. 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.