spacecode@2.16.97
SpaceCode - launch cloud dev environments with AI coding agents
AI Security Review
scanned 22h ago · by lpm-firewall-aiThe default local REPL automatically forwards ANTHROPIC_API_KEY to the SpaceCode backend during prompt loading. This is an unconsented credential disclosure to a recipient unrelated to the key’s intended service, so publication should be blocked.
Decision evidence
public snapshot- The package exposes a CLI entrypoint that starts the local REPL when invoked without a task target.
- The REPL accepts ANTHROPIC_API_KEY as its API credential.
- The prompt loader sends that credential to the configured backend, defaulting to backend.spacecode.app.
- The REPL invokes the prompt loader automatically on startup.
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.97.
See all versions of spacecode for other recorded verdicts.
- Avoid installing spacecode@2.16.97. 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.