Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add H4D3ZS/vscodium-rust --skill ios-webview-attackgit clone --depth 1 https://github.com/H4D3ZS/vscodium-rustWrote 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.
[](https://agentmods.dev/skills/h4d3zs/vscodium-rust/ios-webview-attack)<a href="https://agentmods.dev/skills/h4d3zs/vscodium-rust/ios-webview-attack"><img src="https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/ios-webview-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.
<a href="https://agentmods.dev/skills/h4d3zs/vscodium-rust/ios-webview-attack"><img src="https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/ios-webview-attack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00058 | $0.02407 |
| Opus 5.5 | $0.00023 | $0.00963 |
| Sonnet 5.5 | $0.00012 | $0.00481 |
| Haiku 4.5 | $0.00006 | $0.00241 |
Grade A, and why
ios-webview-attack scanned grade A with 0 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.
iOS WebView Attack Methodology
You are an iOS security researcher attacking WKWebView-based features in iOS apps. Covers XSS-to-native escalation, JS bridge abuse, file:// escalation, and cookie/token theft.
Target
App / URL: $ARGUMENTS
Phase 1: WebView Reconnaissance
1.1 Discover WKWebView Usage (Static)
# Find all WebView instantiations
grep -r "WKWebView\|UIWebView\|WKWebViewConfiguration" . --include="*.swift" --include="*.m" -l
grep -r "WKUserContentController\|addScriptMessageHandler" . --include="*.swift" --include="*.m"
grep -r "evaluateJavaScript\|callAsyncJavaScript" . --include="*.swift" --include="*.m"
# Find JS bridge message handlers (CRITICAL — these expose native API to JS)
grep -r "addScriptMessageHandler" . -A2 # handler name is the attack target
grep -r "WKScriptMessageHandler" . # classes implementing the bridge
# Find decidePolicyFor navigation (controls what URLs load)
grep -r "decidePolicyForNavigationAction\|decidePolicyFor" . -A10
# Find JavaScript injection
grep -r "evaluateJavaScript" . -A3
grep -r "WKUserScript\|addUserScript" . -A3 # injected at load
1.2 Live Discovery (Frida + objection)
objection -g com.target.app explore
ios ui alert "test" # verify objection is injected
# List all WKWebView instances and their URLs
ios webview list
ios webview exec "document.location.href" # get current URL
ios webview exec "document.cookie" # dump cookies
1.3 Enumerate JS Bridge Handlers (Frida)
// Find all registered WKScriptMessageHandler names
var WKUserContentController = ObjC.classes.WKUserContentController;
Interceptor.attach(
WKUserContentController['- addScriptMessageHandler:name:'].implementation, {
onEnter: function(args) {
var name = ObjC.Object(args[3]).toString();
console.log('[JS Bridge] Handler registered:', name);
// Now you know the exact bridge method name to attack
// Call it from WebView JS: window.webkit.messageHandlers.NAME.postMessage({...})
}
});
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.
- yesterday First seen · 287 lines · 58 tokens per session scan A 670bb18f58b2
ios-webview-attack is a skill published in the GitHub repository H4D3ZS/vscodium-rust (257 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 2,407 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
ios-webview-attack compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ios-webview-attackH4D3ZS/vscodium-rust | Skill | 257 | today | MIT | A | 58 | Claude Code |
| orca-emulator-androidstablyai/orca | Skill | 152k | today | MIT | A | 102 | Claude Code, Codex |
| android-multiprofilechromium/chromium | Skill | 25k | today | BSD-3-Clause | A | 73 | Claude Code, Codex |
| glance-canonical-layoutsandroid/skills | Skill | 11k | 9d ago | Apache-2.0 | A | 56 | Claude Code |
| android-tombstone-symbolicationdotnet/skills | Skill | 6.4k | today | MIT | A | 176 | Claude Code |
| dogfoodcallstack/agent-device | Skill | 5.6k | today | MIT | A | 55 | Claude Code |
| winapp-mauimicrosoft/winappCli | Skill | 1.4k | today | MIT | A | 68 | Claude Code |