# iOS URL Scheme Hijacking

> Detects iOS custom URL scheme handling that processes sensitive data without sender verification.

- Skill: `zakirkun/ios-url-scheme-hijacking` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add zakirkun/ios-url-scheme-hijacking`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zakirkun/ios-url-scheme-hijacking/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: zakirkun (https://skillmd.com/u/zakirkun)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zakirkun/ios-url-scheme-hijacking

---


# iOS URL Scheme Hijacking

## Overview
Custom URL schemes (e.g., `myapp://`) can be registered by any app on the device. A malicious app registering the same scheme can intercept deep links, OAuth callbacks, and payment confirmations.

## Remediation
- Use Universal Links (HTTPS-based) instead of custom URL schemes for sensitive flows
- Validate the `sourceApplication` parameter in URL handler
- Never pass sensitive tokens via URL scheme parameters
- For OAuth, use ASWebAuthenticationSession with system-managed callback

