api-anthropic@0.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.
Source establishes a user-triggered credential exposure risk because status forwards an existing key without binding it to its intended destination. Explicit configuration changes and executable detection do not establish a malicious install chain.
Independent scan evidence
public snapshot- The status command reads an existing Claude API key and validates it without requiring the configured base URL to match the gateway.
- Validation sends that key in an authentication header to https://api-anthropic.help/v1/models.
- The CLI explicitly activates status, and configuration helpers locate the user's Claude settings.json.
- User-invoked setup changes Claude's gateway, API key, model, and context settings.
- The manifest has no registry-install lifecycle hook; Claude detection only invokes executable candidates with --version.
- Setup validates a caller-supplied key and backs up existing settings before modifying them.
- The destination is fixed, and no covert automatic execution or malicious intent was established.
Source & flagged code
4 flaggedSource gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/claude.jsView on unpkg · L1The manifest has no registry-install lifecycle hook; Claude detection only invokes executable candidates with --version.
dist/claude.jsView on unpkg · L14Findings
Affected versions and remediation
This report applies to api-anthropic@0.1.1.
See all versions of api-anthropic for other recorded verdicts.
- Avoid installing api-anthropic@0.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.