You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CRITICAL fixes:
- Remove hardcoded Hardhat test private key fallback from quiz/claim
and thesis/[id] routes (was: 0xac0974...ff80 as getEnv default)
- Now requires ARC_SETTLER_PRIVATE_KEY env var to be set
HIGH fixes:
- Add .env patterns to frontend/.gitignore (.env, .env.local,
.env*.local, *.pem, *.key, credentials.json, service-account.json)
- Add webhook idempotency to Stripe webhook handler (checks existing
status before processing to prevent double-activation on retries)
MEDIUM fixes:
- Add Stripe domains to CSP (js.stripe.com, crypto.stripe.com,
api.stripe.com) for Crypto Onramp widget
- Add security headers: X-Frame-Options DENY, X-Content-Type-Options
nosniff, Referrer-Policy, Permissions-Policy, HSTS
New files:
- SECURITY.md: Vulnerability reporting policy and security measures
Audit findings documented:
- 26 moderate npm vulnerabilities (all in @reown/appkit transitive deps)
- No real secrets in git history
- No NEXT_PUBLIC_ prefixed secrets
- All server-only env vars properly scoped to API routes
0 commit comments