IMPORTANT: Do NOT create public issues for security vulnerabilities.
Instead, please report security issues privately:
We will respond within 48 hours.
| Version | Supported |
|---|---|
| 1.x.x | β Active support |
- Never commit API keys to the repository
- Store secrets in Cloudflare Dashboard (Workers β Settings β Variables)
- Use strong PROXY_AUTH_TOKEN (32+ random characters)
- Rotate tokens regularly
- Monitor Cloudflare Workers logs for suspicious activity
- Do not expose secrets in PRs
- Use
.dev.varsfor local development (add to.gitignore) - Review code for potential security issues
- Follow principle of least privilege
-
CORS: Enabled by default for all origins
- Can be restricted in production by modifying
src/index.ts
- Can be restricted in production by modifying
-
Authentication: Required for all endpoints except
/health- Set
PROXY_AUTH_TOKENin Cloudflare Dashboard
- Set
-
API Key Storage:
- Stored as Cloudflare Worker secrets (encrypted at rest)
- Never exposed in logs or responses
-
Request Forwarding:
- Proxy forwards requests to external AI APIs
- Validate input before forwarding
Security patches are released as soon as possible. Update to the latest version to stay secure:
git pull origin main
npm run deployStay safe! π