Description
Trial proxy accepts requests with limited verification, enabling potential quota bypass and cost abuse via scripted requests.
Current State
- Origin allowlist and coarse per-IP throttling implemented
- Trial usage headers (
X-Trial-Used, X-Trial-Limit) added
- Optional HMAC signature verification and replay protection added
- Remaining: Final hardening depends on production
TRIAL_SIGNING_SECRET configuration in Worker secrets and matching desktop app config
- Files:
proxy/ (Cloudflare Worker), src-tauri/src/ (desktop app config)
Suggested Fix
Verification
Automation Hints
scope: proxy/
do-not-touch: src/components/
approach: config-change
risk: medium
max-files-changed: 3
blocked-by: none
bail-if: proxy stops accepting legitimate trial requests
Priority
Medium
Description
Trial proxy accepts requests with limited verification, enabling potential quota bypass and cost abuse via scripted requests.
Current State
X-Trial-Used,X-Trial-Limit) addedTRIAL_SIGNING_SECRETconfiguration in Worker secrets and matching desktop app configproxy/(Cloudflare Worker),src-tauri/src/(desktop app config)Suggested Fix
TRIAL_SIGNING_SECRETin Cloudflare Worker secretsVerification
cargo test --manifest-path src-tauri/Cargo.tomlpassesAutomation Hints
scope: proxy/
do-not-touch: src/components/
approach: config-change
risk: medium
max-files-changed: 3
blocked-by: none
bail-if: proxy stops accepting legitimate trial requests
Priority
Medium