This repository is a demo/prototype, but we still treat credential and key safety as critical.
Please do not open public issues for security problems.
Report privately by contacting the maintainers with:
- clear reproduction steps
- affected files/endpoints
- impact summary
- suggested mitigation (if available)
We will acknowledge receipt and prioritize triage.
Certain internal configuration routes (like POST /api/config/apikey) are protected by an ADMIN_TOKEN.
- To secure these routes, set
ADMIN_TOKENin your.envfile. - Authenticate requests by providing the
X-Admin-Tokenheader. - Developer Bypass: If
ADMIN_TOKENis not configured, the routes remain accessible without authentication (for local development ease only). - In a shared or public environment, always configure an
ADMIN_TOKEN.
- Never commit
.envor generated wallet secrets. - Never commit private keys (
S...) or API keys (sk-ant-...). - Use
.env.examplefor placeholders only. - Rotate credentials immediately if exposed in logs, recordings, or commits.
npm run setupmasks wallet secrets in stdout by default.- Full secret output is opt-in only via
node src/setup-wallets.js --show-secrets.
Run this before every push:
git status
git diff --stagedConfirm:
- only intended files are staged
- no secret material appears in staged content
- no recordings/screenshots contain private key data