Skip to content

Security: payment tokens in links/deeplinks may leak via referrers or logs #770

Description

@Cedarich

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

  1. 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

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions