ios-deeplink-attack

ios-deeplink-attack is a skill for Claude Code from H4D3ZS/vscodium-rust. It costs 50 tokens per session (2,384 once invoked), scanned B, original, MIT.

An iOS security-testing playbook for deep links, URL-based links that open app screens, and Universal Links, Apple's verified web-to-app links. It examines how links are registered, handled, and connected to app actions.

In plain words
What is it for?
Use it to inspect URL schemes and associated domains, test link handlers, and assess deep-link and Universal Link attack surfaces.
Why use it?
It helps find link-based attacks such as taking over authentication flows, injecting parameters, or making one app send unintended requests to another.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is myapp://preview?file=../../Library/Preferences/com.target.app.plist.

Good fit Use it to inspect URL schemes and associated domains, test link handlers, and assess deep-link and Universal Link attack surfaces.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/H4D3ZS/vscodium-rust
agentmods
npx agentmods add skills/h4d3zs/vscodium-rust/ios-deeplink-attack

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ios-deeplink-attack

README.md
[![agentmods](https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/ios-deeplink-attack/github.svg)](https://agentmods.dev/skills/h4d3zs/vscodium-rust/ios-deeplink-attack)
Your own site
<a href="https://agentmods.dev/skills/h4d3zs/vscodium-rust/ios-deeplink-attack"><img src="https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/ios-deeplink-attack/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ios-deeplink-attack

Your own site · 80×15
<a href="https://agentmods.dev/skills/h4d3zs/vscodium-rust/ios-deeplink-attack"><img src="https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/ios-deeplink-attack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,384 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.02384
Opus 5.5 $0.00020 $0.00954
Sonnet 5.5 $0.00010 $0.00477
Haiku 4.5 $0.00005 $0.00238

Measured yesterday against content hash ad898a4ec17b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

ios-deeplink-attack scanned grade B with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl https://target.com/.well-known/apple-app-site-association | python3 -m json.tool

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl https://target.com/.well-known/apple-app-site-association

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run(["xcrun", "simctl", "openurl", "booted", url],
crates/engine/bundles/mobile-security-skills/skills/ios-deeplink-attack/SKILL.md · 284 lines

How it starts

The opening of the file, as written. The whole thing — 284 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are attacking the deep link and URL scheme surface of an iOS app. Deep links are frequently exploited for authentication hijacking, parameter injection, cross-app request forgery, and Universal Link takeover.

Target

Bundle ID or URL scheme: $ARGUMENTS


Phase 1: Enumerate Attack Surface

1.1 Discover URL Schemes (Static)

# From Info.plist
plutil -p Target.app/Info.plist | grep -A20 CFBundleURLTypes

# Expected output reveals all registered custom schemes:
# myapp://  targetapp://  somefeature://

# From binary strings (catch dynamically registered schemes)
strings Target.app/Target | grep -E "://[^/]" | sort -u | grep -v "https\|http\|file\|data"

# From source
grep -r "CFBundleURLSchemes\|openURL\|canOpenURL\|handleOpenURL" . --include="*.plist" --include="*.swift" --include="*.m"

1.2 Discover Universal Links

# From Info.plist — Associated Domains
plutil -p Info.plist | grep -A5 "com.apple.developer.associated-domains"

# Fetch apple-app-site-association file from each domain
curl https://target.com/.well-known/apple-app-site-association
curl https://target.com/apple-app-site-association

# AASA reveals which paths are Universal Links:
{
  "applinks": {
    "apps": [],
    "details": [{"appID": "TEAMID.com.target.app", "paths": ["/account/*", "/pay/*"]}]
  }
}

1.3 Map Handlers in Source

# Find the URL handler
grep -r "application.*openURL\|scene.*openURLContexts\|userActivity\|continueUserActivity" . -A20

# Find route/path dispatch
grep -r "deeplink\|router\|route\|DeeplinkHandler\|URLHandler" . -l
grep -r "switch.*scheme\|switch.*host\|switch.*path\|if.*url\.path" . -A5

Phase 2: Custom URL Scheme Attacks

2.1 Scheme Hijacking / Collision

Multiple apps can register the same URL scheme. iOS opens whichever app was installed last. No uniqueness enforcement.

Attack:
1. Register a malicious app with the same scheme as the target (myapp://)
2. Install the malicious app on the victim's device
3. When target app sends a deep link to itself or when victim taps a link,
   the malicious app intercepts it
4. Steal auth codes, tokens, or state parameters from the URL

Real-world impact: OAuth callback hijacking
If the app uses myapp://oauth-callback?code=AUTH_CODE as its OAuth redirect URI,
your malicious app registers the same scheme and steals the auth code.

Read the full file on GitHub · 284 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 284 lines · 50 tokens per session scan B ad898a4ec17b

Subscribe to this mod's changes

ios-deeplink-attack is a skill published in the GitHub repository H4D3ZS/vscodium-rust (257 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 2,384 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 3 findings (downloads and executes remote code, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.

Related

ios-deeplink-attack compared with skills from other repositories

ios-deeplink-attack next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ios-deeplink-attackH4D3ZS/vscodium-rustSkill257todayMITB50Claude Code
orca-emulator-androidstablyai/orcaSkill152ktodayMITA102Claude Code, Codex
android-multiprofilechromium/chromiumSkill25ktodayBSD-3-ClauseA73Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k9d agoApache-2.0A56Claude Code
android-tombstone-symbolicationdotnet/skillsSkill6.4ktodayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code
winapp-mauimicrosoft/winappCliSkill1.4ktodayMITA68Claude Code