spacecode@2.16.82
SpaceCode - launch cloud dev environments with AI coding agents
AI Security Review
scanned 1d ago · by lpm-firewall-aiThe shipped CLI starts the local REPL, which accepts ANTHROPIC_API_KEY and sends the selected key to the default SpaceCode gateway. This is a concrete credential transfer to an unrelated, package-selected recipient, so the package should be blocked.
Decision evidence
public snapshot- The package exposes a CLI whose no-target agent path starts the local REPL.
- The REPL accepts an existing ANTHROPIC_API_KEY as an API credential source.
- The REPL defaults its API URL to the SpaceCode gateway.
- Model requests send that credential to the configured API URL in the API key header.
- The REPL prefers a SpaceCode API key when both credential variables are set; that does not prevent forwarding an Anthropic key when it is the available credential.
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.82.
See all versions of spacecode for other recorded verdicts.
- Avoid installing spacecode@2.16.82. 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.