acme-demo/saas-billing · 2 confirmed findings (sample)

15 leads checked · 12 ruled out · 1 to check by hand · 2 confirmed · Local GPUs, no cloud API.

HIGH · CWE-598 · 3/3 local models

Unlisted /billing/<token> URL leaks private order capability token to analytics Referer

Order tracker routes embed the 256-bit capability token directly in the URL path while index.html sets Referrer-Policy: same-origin and third-party analytics capture reads window.location.href verbatim.

// index.html:55
<meta name="referrer" content="same-origin" />

Suggested fix: Emit Referrer-Policy: no-referrer on /order/* edge responses and sanitize window.location.pathname to /order/:redacted in analytics capture hooks.

MEDIUM · CWE-693 · 2/3 local models

Preview Worker CSP allows 'unsafe-eval' across all sandboxed customer bundles

PREVIEW_CSP on preview.acme-demo.example includes 'unsafe-eval' in script-src even though built Foldkit and vanilla static bundles do not require dynamic Function/eval execution.

// src/platform/cloudflare/preview.ts:42
export const PREVIEW_CSP = [
  "default-src 'none'",
  "script-src 'self' 'unsafe-inline' 'unsafe-eval' blob: data:",

Suggested fix: Remove 'unsafe-eval' from PREVIEW_CSP script-src and keep script-src scoped to 'self' 'unsafe-inline' blob:.

Ask for an invite