Λογότυπο Auditing Mobile Webview Bridge Exposure

Auditing Mobile Webview Bridge Exposure

Οργανισμός
UnboundCompute
auditing-mobile-webview-bridge-exposure

Ελέγξτε πόσο εμπιστεύεται μια εφαρμογή για κινητά το περιεχόμενο ιστού που φορτώνεται σε ενσωματωμένο WebView, όπου μια εγγενής γέφυρα εκθέτει δυνατότητες της εφαρμογής στη JavaScript και επιτρέπει σε περιεχόμενο που δεν δημιούργησε η εφαρμογή, σε απομακρυσμένες σελίδες, σε φορτωμένα πλαίσια τρίτων ή σε URL που επηρεάζονται από εισβολέα να καλούν εγγενείς μεθόδους, να διαβάζουν δεδομένα της εφαρμογής ή να ενεργούν με τα δικαιώματά της. Αυτό μπορεί να συμβαίνει επειδή η γέφυρα είναι εκτεθειμένη σε μη έμπιστες προελεύσεις, το φορτωμένο περιεχόμενο δεν περιορίζεται βάσει προέλευσης ή οι μέθοδοι της γέφυρας δεν ελέγχουν τον καλούντα. Χρησιμοποιήστε το όταν μια εγγενής εφαρμογή ενσωματώνει WebView που φορτώνει απομακρυσμένο ή μικτό περιεχόμενο και εκθέτει επίσης εγγενή διεπαφή σε scripts. Καλύπτει γέφυρες από script προς εγγενή λειτουργία στις οποίες μπορεί να έχει πρόσβαση μη έμπιστο περιεχόμενο, απεριόριστη φόρτωση περιεχομένου και μεθόδους γέφυρας που εμπιστεύονται οποιονδήποτε καλούντα. Το μη έμπιστο περιεχόμενο ιστού που φτάνει στη γέφυρα είναι η πηγή, η εγγενής μέθοδος που καλεί είναι ο προορισμός και το σφάλμα είναι η χρήση εγγενών δυνατοτήτων μέσω script ιστού.

Επισκόπηση

ΕκδότηςUnboundCompute
Αποθετήριοsecurity-agent-skills
Όνομα δεξιότηταςauditing-mobile-webview-bridge-exposure
Αστέρια
27
Διακλαδώσεις
8
Συνοδευτικά αρχεία
Μόνο οδηγίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό UnboundCompute. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Auditing Mobile Webview Bridge Exposure στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mobile-webview-bridge-exposure
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-mobile-webview-bridge-exposure .claude/skills/auditing-mobile-webview-bridge-exposure
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Auditing Mobile Webview Bridge Exposure σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Auditing Mobile Webview Bridge Exposure μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Auditing Mobile Webview Bridge Exposure δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

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.

  2. Enumerate the exposed native methods. List the methods the bridge exposes to JavaScript and what each does: privileged actions, data reads, capability access, or navigation. Note which are sensitive enough that web script invoking them would matter.

  3. Map what content can reach the bridge. Determine what the WebView loads and whether it is confined to a controlled origin: does it load remote pages, allow third-party frames, follow links to arbitrary origins, or load content over a channel an attacker can tamper with. Any untrusted content that runs script in the WebView can reach an exposed bridge.

  4. Check the origin and caller restriction. Determine whether the bridge is exposed only to trusted origins and whether each method verifies the caller before acting, or whether the interface is available to whatever content runs in the WebView and the methods trust any caller. A method that acts for any origin is the exposure.

  5. Check the content-loading confinement. Determine whether the WebView restricts navigation to the app's own origins, blocks mixed and insecure content, and isolates any third-party frame from the bridge, or whether untrusted content can be loaded into the same context that holds the interface.

  6. Confirm and record. Confirm by loading benign untrusted content you control into the WebView, through a followed link, a frame, or a tampered channel, and invoking a sensitive native method from that content on a test device. Kill the lead if only trusted confined content reaches the bridge, if each method authorizes the calling origin, and if navigation and framing are restricted to controlled origins. Record the method, the untrusted content path, the missing check, and the invocation observed, or set a kill_reason.

Where the WebView bridge leaks

  • The untrusted-content path is the finding. A bridge is expected to expose capability to trusted content; the bug is untrusted content reaching it. Name how attacker content gets into the WebView.
  • Remote and mixed content bring the attacker in. A WebView that loads remote pages or allows insecure content lets a tampered or attacker page run script beside the interface.
  • Third-party frames inherit the bridge. A frame from another origin loaded in the same WebView can reach an interface exposed to the whole context unless the bridge is confined to the top frame's trusted origin.
  • Followed links escape the trusted origin. A WebView that follows links to arbitrary origins can navigate to an attacker page that then calls the bridge.
  • Methods that trust any caller are the sink. A bridge method that performs a privileged action or returns data without checking the calling origin acts for whatever content invoked it.

Worked example (a confirm and a kill)

Confirm. A WebView exposes a native method that returns an authentication token and follows links to arbitrary origins. Navigating the WebView to a benign attacker-controlled page over a followed link lets that page's script invoke the method and receive the token, on a test device with a test account. Confirmed native capability reachable from untrusted web content, high, remediation = expose the bridge only to app-authored content on a controlled origin, verify the calling origin in each native method, restrict WebView navigation and framing to controlled origins, and block insecure and mixed content.

Kill. The same WebView loads only app-authored content from a controlled origin over a secure channel, restricts navigation so links to other origins open outside the bridge context, isolates third-party frames from the interface, and each native method verifies the calling origin before acting. No untrusted content reaches the bridge. Killed, kill_reason = "the bridge is reachable only by trusted confined content on a controlled origin and every method authorizes the caller; untrusted web content cannot invoke a native method."

Rationalizations to reject

  • "We only load our own pages." -> Confirm the WebView cannot navigate or frame elsewhere; a followed link, a redirect, or an embedded frame can bring untrusted content into the same context as the bridge.
  • "The bridge only exposes harmless methods." -> Enumerate every exposed method; one that returns a token, reads a file, or performs an action is enough, and harmless methods can be chained.
  • "The connection is HTTPS." -> A secure channel to a remote origin still runs remote script beside the bridge; transport security does not make the loaded origin trusted.
  • "A frame cannot reach our interface." -> If the interface is exposed to the whole WebView context, a third-party frame's script can reach it unless the bridge confines itself to the trusted top origin.
  • "The method just returns data." -> Returning app data to untrusted web script is disclosure; treat a data read as a sensitive method and authorize the caller.

Executing this in practice

You need every native method the bridge exposes, what each does, and whether it verifies the calling origin, plus what the WebView loads and whether navigation, framing, and content security confine it to controlled origins. For each exposed method, decide whether untrusted content can reach it through a remote page, a frame, a followed link, or a tampered channel. Reading the bridge exposure and the WebView's loading policy settles most leads; loading benign untrusted content you control and invoking a sensitive method on a test device settles the rest.

Related

  • auditing-mobile-deeplink-trust - a deep link that drives the WebView to load attacker content is one way untrusted content reaches the bridge, joining link trust to bridge exposure.
  • testing-postmessage-and-web-message-trust - a bridge reached through cross-frame messaging shares the origin-verification failure that skill treats in the pure-web setting.
  • hunting-mobile-tls-pinning-and-trust-gaps - content loaded over a channel an attacker can tamper with reaches the bridge, the transport-trust gap that skill covers.
  • auditing-electron-ipc-trust - the desktop analogue, where a renderer bridges to native capability and the same caller-authorization question applies.
  • FINDING-SCHEMA.md - source = the untrusted web content reaching the bridge, sink = the native method it invokes, evidence = benign attacker-controlled content invoking a sensitive native method on a test device.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Auditing Mobile Webview Bridge Exposure;

Ελέγξτε πόσο εμπιστεύεται μια εφαρμογή για κινητά το περιεχόμενο ιστού που φορτώνεται σε ενσωματωμένο WebView, όπου μια εγγενής γέφυρα εκθέτει δυνατότητες της εφαρμογής στη JavaScript και επιτρέπει σε περιεχόμενο που δεν δημιούργησε η εφαρμογή, σε απομακρυσμένες σελίδες, σε φορτωμένα πλαίσια τρίτων ή σε URL που επηρεάζονται από εισβολέα να καλούν εγγενείς μεθόδους, να διαβάζουν δεδομένα της εφαρμογής ή να ενεργούν με τα δικαιώματά της. Αυτό μπορεί να συμβαίνει επειδή η γέφυρα είναι εκτεθειμένη σε μη έμπιστες προελεύσεις, το φορτωμένο περιεχόμενο δεν περιορίζεται βάσει προέλευσης ή οι μέθοδο...

Γιατί να χρησιμοποιήσετε τη δεξιότητα Auditing Mobile Webview Bridge Exposure στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Auditing Mobile Webview Bridge Exposure είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Auditing Mobile Webview Bridge Exposure στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mobile-webview-bridge-exposure. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Auditing Mobile Webview Bridge Exposure;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Auditing Mobile Webview Bridge Exposure;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Auditing Mobile Webview Bridge Exposure με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Auditing Mobile Webview Bridge Exposure;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό UnboundCompute με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇