Problem
Deep links or URL-based payment tokens in mobile and web may expose tokens via referrers or logs if not properly scoped/expired.
Evidence
- Payments by link/QR are core to the product; token lifecycle policies are unclear.
How to reproduce
- Generate a payment link and inspect whether the token appears in referrer headers or unmasked logs when used.
Suggested fix
- Use one-time tokens or short-lived tokens for payments; avoid embedding secrets in query params when possible.
- Ensure server-side rotation and token revocation and sanitize logs from tokens.
Files to check
- mobile/src/deeplink or frontend link handlers
- backend token creation code
Problem
Deep links or URL-based payment tokens in mobile and web may expose tokens via referrers or logs if not properly scoped/expired.
Evidence
How to reproduce
Suggested fix
Files to check