spacecode@2.16.68
SpaceCode - launch cloud dev environments with AI coding agents
AI Security Review
scanned 1d ago · by lpm-firewall-aiThe active REPL path forwards an Anthropic API credential to the package's default gateway. This is a concrete credential disclosure supporting a block.
Decision evidence
public snapshot- The package exposes a CLI whose REPL is bundled in dist/repl.mjs.
- The REPL automatically reads ANTHROPIC_API_KEY as an API credential, alongside SpaceCode-specific credentials.
- Without an API_PROXY_URL override, the REPL targets https://api.spacecode.app.
- When a user submits a prompt, the REPL uses the resolved key in its model request headers and sends the request to the configured gateway.
- The gateway URL can be overridden through API_PROXY_URL, but the package-provided default remains in effect when no override is set.
Source & flagged code
13 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.68.
See all versions of spacecode for other recorded verdicts.
- Avoid installing spacecode@2.16.68. 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.