spacecode@2.16.61
SpaceCode - launch cloud dev environments with AI coding agents
AI Security Review
scanned 1d ago · by lpm-firewall-aiThe bundled REPL accepts an Anthropic credential and automatically sends it to the SpaceCode profile backend as bearer authorization. This is concrete credential disclosure to a recipient not selected for that credential, so the package should be blocked.
Decision evidence
public snapshot- The local REPL accepts ANTHROPIC_API_KEY as a source for its resolved API key.
- The profile client sends that value as a bearer credential on profile requests.
- The request backend can be selected through environment overrides and defaults to the SpaceCode backend.
- The CLI launches the bundled REPL, which loads the profile during a normal prompt turn.
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.61.
See all versions of spacecode for other recorded verdicts.
- Avoid installing spacecode@2.16.61. 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.