auditing-mobile-webview-bridge-exposure

auditing-mobile-webview-bridge-exposure is a skill for Claude Code from UnboundCompute/security-agent-skills. It costs 186 tokens per session (2,124 once invoked), scanned A, original, MIT.

A security audit of bridges between a mobile app's embedded web page and its native code. A WebView is an in-app browser, and its bridge lets JavaScript call app functions such as reading files or using the camera.

In plain words
What is it for?
Use it to trace which web content can call each native method and what data or device capability that method exposes.
Why use it?
If the WebView loads an untrusted page, that page may call native functions with the app's permissions. The audit finds remote pages, frames, links, or injected content that can reach the bridge.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the security-agent-skills plugin — 194 skills shipped together

Good fit Use it to trace which web content can call each native method and what data or device capability that method exposes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unboundcompute/security-agent-skills/auditing-mobile-webview-bridge-exposure
Install

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.

Any agent
npx skills add UnboundCompute/security-agent-skills --skill auditing-mobile-webview-bridge-exposure
Clone the repo
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills

Made for: Claude Code.

Or install security-agent-skills, the plugin that ships this one along with the rest of its 194 skills.

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 auditing-mobile-webview-bridge-exposure

README.md
[![agentmods](https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/auditing-mobile-webview-bridge-exposure/github.svg)](https://agentmods.dev/skills/unboundcompute/security-agent-skills/auditing-mobile-webview-bridge-exposure)
Your own site
<a href="https://agentmods.dev/skills/unboundcompute/security-agent-skills/auditing-mobile-webview-bridge-exposure"><img src="https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/auditing-mobile-webview-bridge-exposure/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 auditing-mobile-webview-bridge-exposure

Your own site · 80×15
<a href="https://agentmods.dev/skills/unboundcompute/security-agent-skills/auditing-mobile-webview-bridge-exposure"><img src="https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/auditing-mobile-webview-bridge-exposure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 186 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,124 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00186 $0.02124
Opus 5.5 $0.00074 $0.00850
Sonnet 5.5 $0.00037 $0.00425
Haiku 4.5 $0.00019 $0.00212

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

Security

Grade A, and why

auditing-mobile-webview-bridge-exposure 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 1mo ago.

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.

skills/auditing-mobile-webview-bridge-exposure/SKILL.md · 139 lines

How it starts

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

Auditing mobile WebView bridge exposure: when a web page calls into the native app

A mobile app that embeds a WebView often gives the web content a way to call back into native code: a bridge that exposes native methods to JavaScript so the page can use the camera, read files, fetch tokens, or drive app features. That bridge is safe only when the content on the other side is trusted and confined, content the app authored, loaded from an origin it controls, over a channel that cannot be tampered with. It becomes an exposure when untrusted content reaches the bridge: a remote page the app loads, a third-party frame inside it, a link the WebView follows to an attacker origin, or content injected over an insecure channel. Then web script the app did not author invokes native methods and acts with the app's privileges. The bug is a native capability reachable from web content the app does not fully trust, whether because the bridge is exposed to untrusted origins, the WebView loads content it should not, or the bridge methods trust any caller. You audit these by tracing which content can reach the bridge and what each exposed method does.

When to use

  • A native app embeds a WebView that exposes a native interface or message handler to JavaScript.
  • The WebView loads remote content, third-party frames, or follows links to origins the app does not control.
  • Bridge methods perform privileged actions or return app data without checking the calling origin.

Scope check

Audit WebView bridges only on apps you own or are authorized to assess, on test devices and accounts, driving the bridge with benign content you control rather than acting against real data. A confirmed exposure lets web content wield native privilege, so keep every probe within scope. If you can't name the authorization, stop.

The loop

  1. Establish which content can actually reach the bridge and whether the methods check the caller first. For each exposed native interface, determine whether only trusted, app-authored content loaded from a controlled origin over a secure channel can reach it, or whether remote content, a third-party frame, a followed link, or injected content can, and whether each bridge method verifies the calling origin. This is the false-positive killer: a bridge reachable only by trusted confined content, or one whose methods authorize the caller, is not driven by an attacker even though it exposes native capability. Name the untrusted content path before crafting a call.

Read the full file on GitHub · 139 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. 1mo ago First seen · 139 lines · 186 tokens per session scan A bca891a7caf1

Subscribe to this mod's changes

auditing-mobile-webview-bridge-exposure is a skill published in the GitHub repository UnboundCompute/security-agent-skills (5 stars, last pushed 1mo ago), licensed MIT. It adds 186 tokens to every session and 2,124 once invoked, about $0.0007 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-09-09.

Related

Other skills, from other repositories

swiftui-expert-skill

Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, macOS-specific APIs, and iOS 26+ Liquid Glass adoption. Use when building new SwiftUI features, refactoring existing views, reviewing code quality, or adopting modern SwiftUI patterns.

Agent-Threat-Rule/agent-threat-rules · 67 tokens

prodcheck-review

Review this codebase against the prodcheck pre-production checklists — security, performance, scale, integrations, post-launch readiness and people. Use when asked to check whether a project is ready to ship, to audit an area before launch, or to work through a specific checklist. Produces evidence with file:line…

FarzamHabibi/pre-production-checklist · 72 tokens

swiftui-expert-skill

Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, macOS-specific APIs, and iOS 26+ Liquid Glass adoption. Use when building new SwiftUI features, refactoring existing views, reviewing code quality, or adopting modern SwiftUI patterns.

Agent-Threat-Rule/agent-threat-rules · 67 tokens

analyzing-ios-app-security-with-objection

Runtime iOS app security testing with Objection (Frida): inspect keychain and filesystem data, explore app internals at runtime, and validate/bypass client-side protections during authorized mobile assessments.

Mikaru0Mystic/sectinel · 49 tokens

analyzing-android-malware-with-apktool

Perform static analysis of Android APK malware samples using apktool for decompilation, jadx for Java source recovery, and androguard for permission analysis, manifest inspection, and suspicious API call detection.

Mikaru0Mystic/sectinel · 50 tokens

mobile-pentest

Mobile app pentest for bug bounty (Android APK + iOS IPA) — runtime-first workflow: install app, proxy through Burp/mitmproxy, drive the UI, capture packets, then test the API exactly like a web target; escalate to decompile (apktool/jadx) and Frida/objection only when traffic is SSL-pinned, encrypted, or absent.…

Awarexone/Agentic-Bug-Hunter · 205 tokens