api-anthropic@1.1.0
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 command is user-invoked and its setup purpose is disclosed, but it silently grants broad Claude Code trust to the home directory and approves external instruction files. This warrants a warning for an explicit-command agent configuration capability.
Independent scan evidence
public snapshot- The executable configures Claude Code to use api-anthropic.help and describes automatic folder trust setup.
- When the user runs the command, it takes an API key from an argument, the environment, or an interactive prompt.
- The command stores that key as Claude Code's authentication token and sets the gateway as its base URL.
- It writes the global Claude settings and marks both the current directory and the home directory trusted, including approval for external instruction files.
- The behavior is activated by running the command; the manifest has no install lifecycle script.
- The setup purpose and gateway are disclosed in the package description and executable banner.
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 · L7The executable configures Claude Code to use api-anthropic.help and describes automatic folder trust setup.
bin.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to api-anthropic@1.1.0.
See all versions of api-anthropic for other recorded verdicts.
- Avoid installing api-anthropic@1.1.0. 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.