spacecode@2.16.56
SpaceCode - launch cloud dev environments with AI coding agents
AI Security Review
scanned 2d ago · by lpm-firewall-aiThe REPL accepts an unrestricted endpoint override while forwarding a resolved key, creating conditional credential exposure. Because the endpoint is explicitly operator-configured and defaults to SpaceCode’s host, this supports a warning rather than a block.
Decision evidence
public snapshot- The REPL loads keys from SPACECODE_API_KEY, ANTHROPIC_API_KEY, or the saved SpaceCode auth file.
- The model endpoint can be overridden with API_PROXY_URL; otherwise it defaults to SpaceCode’s API host.
- The REPL combines the selected endpoint and resolved key, then sends requests to its messages API with the key in a request header.
- The CLI’s separate proxy path uses the literal value "proxy" by default and points to SpaceCode’s API host.
- The endpoint override is explicitly read from the operator’s environment; the default destination is SpaceCode’s API host.
- The manifest declares CLI entry points but no lifecycle scripts.
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.56.
See all versions of spacecode for other recorded verdicts.
- Review the evidence and your use of spacecode@2.16.56 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.