spacecode@2.16.85
SpaceCode - launch cloud dev environments with AI coding agents
AI Security Review
scanned 1d ago · by lpm-firewall-aiThe source supports a warning because an arbitrary configured backend can receive the saved bearer token. Since changing that destination requires user configuration and no hidden or default unrelated recipient was found, this does not establish a publish-block attack.
Decision evidence
public snapshot- The package exposes dist/index.js as its spacecode CLI entrypoint.
- The backend client accepts an API URL from configuration or SPACECODE_API_URL.
- Authenticated requests attach the saved token as a bearer credential to that client’s URL.
- requireAuth loads the saved token and uses the configured API URL for authenticated requests.
- The config command lets the user persist a chosen backend API URL.
- The normal default API host is backend.spacecode.app, and login is initiated through the SpaceCode authentication URL.
- The API URL override requires configuration by the user; the inspected source does not show an automatic switch to an unrelated host.
- The default backend and authentication hosts are SpaceCode domains, and login saves credentials locally.
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.85.
See all versions of spacecode for other recorded verdicts.
- Review the evidence and your use of spacecode@2.16.85 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.