Module 11 · Deep Links & URL Schemes

Manish Garg
Manish Garg Associate of (ISC)² · RingSafe
Apr 27, 2026
1 min read
Read as

Last updated: April 29, 2026

100% Free

No signup. No paywall. No catch. One of our 10 most-requested practitioner modules — published in full so anyone can learn for free. We earn through consulting, not by gating knowledge.

See all 10 free modules →

Deep links let other apps invoke yours. Misimplemented, they become attack vectors: open phishing pages, leak tokens, hijack flows.

Deep links let other apps invoke yours. Misimplemented, they become attack vectors: open phishing pages, leak tokens, hijack flows.

Two patterns

  • Custom URL schemes (myapp://login) — any app can register; squatter wins. Insecure.
  • Universal Links (iOS) / App Links (Android) — domain-verified via well-known file. Only your app handles the URL.

App Links setup

Android: android:autoVerify="true" in manifest + /.well-known/assetlinks.json on your domain.

iOS: com.apple.developer.associated-domains entitlement + /.well-known/apple-app-site-association.

Attack patterns

  • DDL hijacking — malicious app registers same custom scheme
  • Intent redirection — your app forwards intent to internal component without validation
  • WebView with deep links — JavaScript triggers your custom scheme; bypass auth

Defender

  • Use App Links / Universal Links exclusively
  • Validate every input from deep link
  • Scope sensitive operations to manual user gesture
🧠
Check your understanding

Module Quiz · 6 questions

Pass with 80%+ to mark this module complete. Unlimited retries. Each question shows an explanation.

Want this for your team?

Custom team training + practitioner advisory

Beyond the free academy — we run private workshops, vCISO advisory, and red-team exercises tailored to your stack. For Indian SMBs scaling past their first hire.

Book team training call Replies in 4 working hrs · India-only · Senior consultants