spacecode@2.16.24
SpaceCode - launch cloud dev environments with AI coding agents
AI Security Review
scanned 2d ago · by lpm-firewall-aiThe source shows an automatic transfer of an Anthropic credential to the package-selected SpaceCode backend without recipient-specific consent. This is concrete credential disclosure, so the package is malicious.
Decision evidence
public snapshot- The local REPL accepts ANTHROPIC_API_KEY as a fallback credential.
- Profile loading uses that credential by default and passes it to a client for the SpaceCode backend; only an explicit profile-off setting skips this path.
- The profile client sends the credential as bearer authorization to the backend, whose default address is backend.spacecode.app.
- The REPL awaits profile loading, and prompt loading also sends the credential to the backend as bearer authorization and an API key.
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.24.
See all versions of spacecode for other recorded verdicts.
- Avoid installing spacecode@2.16.24. 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.