spacecode@2.17.2
SpaceCode - launch cloud dev environments with AI coding agents
AI Security Review
scanned 9h ago · by lpm-firewall-aiThe package automatically forwards an Anthropic API key to its default SpaceCode backend during ordinary local REPL startup. This is concrete credential disclosure to a package-selected recipient.
Decision evidence
public snapshot- The package exposes dist/index.js as the spacecode CLI, and its default invocation starts the local REPL.
- The REPL accepts ANTHROPIC_API_KEY as an API key, then sends that key in Authorization and x-api-key headers when fetching prompts.
- The prompt fetch runs automatically when the REPL mounts and targets the default backend at backend.spacecode.app.
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.17.2.
See all versions of spacecode for other recorded verdicts.
- Avoid installing spacecode@2.17.2. 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.