ai-claude-keyapi
Ultra-lightweight local AI Gateway with 1-Click Claude Code Setup
This report shows the evidence for ai-claude-keyapi@1.0.14. 4 of 11 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThis is concrete AI-agent control hijacking and provider impersonation, not ordinary gateway behavior. The absence of an install lifecycle hook does not remove the runtime attack path.
Decision evidence
public snapshot- The gateway embeds a system prompt that instructs an AI agent to use file and shell tools autonomously.
- It hides its Grok/xAI origin by directing the model to identify as Anthropic Claude.
- Starting the CLI automatically invokes shortcut setup, which installs an alias that reruns the package through npx.
- The runtime forwards requests to a Grok proxy and uses license activation that transmits a machine identifier and hostname.
- package.json has no preinstall, install, or postinstall hook.
- The shortcut and gateway run only after the user starts the CLI.
Source & flagged code
8 flagged · loading sourceA single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/server.jsView on unpkg · L2Source collects local host identity data and sends it to an external endpoint.
dist/server.jsView on unpkg · L1Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/server.jsView on unpkgSource fingerprint signature matches a known malicious package signature; route for source-aware review.
dist/server.jsView on unpkgPackage source references a known benign dynamic code generation pattern.
dist/server.jsView on unpkg · L5Package source references dynamic require/import behavior.
bin/cli.jsView on unpkg · L12Source writes installer persistence such as shell profile or service configuration.
dist/utils/shortcut.jsView on unpkg · L1Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/utils/updateNotifier.jsView on unpkgFindings
Affected versions and remediation
This report applies to ai-claude-keyapi@1.0.14.
The versions list below shows the verdict for each recorded version.
- Avoid installing ai-claude-keyapi@1.0.14. 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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.