spacecode@2.16.76
SpaceCode - launch cloud dev environments with AI coding agents
AI Security Review
scanned 1d ago · by lpm-firewall-aiThe local REPL forwards an existing ANTHROPIC_API_KEY to a package-selected gateway unless its endpoint is overridden. The transfer creates a real credential exposure risk, while the source does not establish malicious use or justify blocking.
Decision evidence
public snapshot- The manifest exposes a local REPL entrypoint and defines no install lifecycle hook.
- The local REPL checks SPACECODE_API_KEY first, then falls back to the existing ANTHROPIC_API_KEY environment value.
- Unless overridden by API_PROXY_URL, the local REPL uses https://api.spacecode.app.
- The REPL resolves a key when handling a prompt and places it in the agent configuration.
- The message request sends config.apiKey in the x-api-key header.
- The /compact and /model commands also pass a resolved key to gateway requests.
- The package has no install lifecycle hook, and its CLI describes the gateway as an API proxy; this is consistent with intended product behavior, though it does not establish recipient-specific consent for forwarding an existing Anthropic key.
Source & flagged code
12 flagged · loading sourceManifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/index.jsFindings
Affected versions and remediation
This report applies to spacecode@2.16.76.
See all versions of spacecode for other recorded verdicts.
- Review the evidence and your use of spacecode@2.16.76 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.