Logotipo de Auditing Mobile Deeplink Trust

Auditing Mobile Deeplink Trust

Organización
UnboundCompute
auditing-mobile-deeplink-trust

Audita cómo gestiona una aplicación móvil los enlaces profundos, los enlaces de aplicación o las URL de esquemas personalizados, para impedir que una URL proporcionada por un atacante active una acción confidencial o acceda a un contexto de WebView de confianza. Abarca los esquemas personalizados que cualquier aplicación puede registrar y secuestrar; los enlaces de aplicación cuya asociación de dominio no se verifica, por lo que no son exclusivos de la aplicación; los parámetros de enlaces profundos que se usan sin validar para activar acciones confidenciales; las URL controladas por un atacante que se cargan en una WebView; y los puentes de JavaScript expuestos a una WebView que puede cargar contenido no fiable. Úsalo al revisar el enrutamiento de enlaces profundos, la gestión de URL y la configuración de WebView, no el estado de exportación en el manifiesto del componente que recibe el enlace (eso corresponde a la habilidad de exposición de componentes). La URL proporcionada por el atacante es el origen; una acción confidencial o un puente de WebView de confianza que actúa sobre ella es el destino; y el fallo consiste en confiar sin validación en un parámetro del enlace.

Descripción general

EditorUnboundCompute
Repositoriosecurity-agent-skills
Nombre de la habilidadauditing-mobile-deeplink-trust
Estrellas
27
Forks
8
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por UnboundCompute en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Auditing Mobile Deeplink Trust en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mobile-deeplink-trust
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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-deeplink-trust .claude/skills/auditing-mobile-deeplink-trust
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Auditing Mobile Deeplink Trust en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Auditing Mobile Deeplink Trust automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Auditing Mobile Deeplink Trust no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Auditing mobile deep-link trust: when an attacker's URL drives a trusted action

A deep link is attacker-reachable input: a custom scheme any app can claim, or a link another app or a web page can fire, carrying parameters the app routes into an action. The bug is trusting that URL, letting a parameter reach a sensitive operation, or handing an attacker-controlled URL to a WebView that exposes a JavaScript bridge back into the app. This audit reads the deep-link routing, the URL handling, and the WebView configuration and asks, per link, whether an attacker-supplied URL can drive something it should not. It pairs with the component-exposure skill: that one owns whether the receiving component is reachable across the app boundary, this one owns whether the URL it carries is trusted. Keep the seam clean so a single flaw is reported once.

When to use

  • The app registers a custom scheme, an app link, or a universal link, and routes the URL to an action.
  • A deep-link parameter flows into navigation, a WebView load, an authentication step, or a state change.
  • You want to know whether an attacker-supplied URL can drive a sensitive action or reach a trusted WebView.

Scope check

Audit only apps you own or are authorized to assess, and fire a deep link only at a device or emulator in scope, a crafted link drives real app state and can complete real actions. Adjudicate on the routing and the WebView config. If you can't name the authorization, stop.

The loop

  1. Establish which links are attacker-controllable first. Determine how each link is registered: a custom scheme (any app can also register it and intercept or forge it), an app or universal link with a verified domain association (only the app resolves it), or one whose association is unverified (not exclusive). The registration decides whether an attacker can send or hijack the link; settle it before judging the handler.

  2. Check scheme hijack and association. Look for a custom scheme carrying sensitive data or actions, which a malicious app can register to intercept or forge, and for an app link whose domain association is missing or unverified, so the link is not exclusively the app's and can be claimed or spoofed.

  3. Check parameter flow into sensitive actions. Follow the deep-link parameters into the app and look for one that reaches a sensitive sink without validation: a navigation target, an authentication or token parameter, an account or object identifier, a redirect, or a file path. A link parameter trusted as if it were internal is the core flaw.

  4. Check the URL into a WebView. Look for a deep-link or app-supplied URL loaded into a WebView without an allowlist of trusted origins, letting an attacker point the trusted WebView at content they control. This is the WebView URL seam the component-exposure skill hands here.

  5. Check the JavaScript bridge. Where a WebView exposes a native bridge (a JavaScript interface or a message handler) to page content, look for that WebView being able to load untrusted or attacker-chosen content, so a hostile page calls native methods through the bridge. An exposed bridge on a WebView that loads only pinned first-party content is far weaker than one reachable by an attacker URL.

  6. Confirm and record. Confirm by showing an attacker-supplied URL drives the sensitive action or reaches the bridge. Kill the lead if the link is an app or universal link with a verified domain association so an attacker cannot forge it, if the parameter is validated or canonicalized before the sink, if the WebView loads only a pinned first-party origin with no attacker-controllable URL, if the bridge is exposed only to content the app fully controls, or if the routed action is not sensitive and changes no state. Record the link, its registration, the parameter path, and the action or bridge reached.

Where deep-link trust leaks

  • A custom scheme is not exclusive. Any app can register the same scheme and intercept or forge the link; a scheme carrying sensitive data or actions cannot be trusted as the app's alone.
  • An unverified app link is claimable. Without a verified domain association the link is not exclusively the app's; verify the association before trusting the link's origin.
  • A link parameter is attacker input. A target, token, identifier, or path from a deep link is externally supplied; trusting it as internal is the flaw, wherever it lands.
  • A WebView URL from a link is an open redirect into a trusted context. Loading an attacker-chosen URL into the app's WebView hands the attacker the WebView's trust; allowlist the origin.
  • A bridge is only as safe as what the WebView loads. A native bridge exposed to a WebView that can load untrusted content lets a hostile page call native code; the load allowlist is the control.

Worked example (a confirm and a kill)

Confirm. A WebView exposes a native bridge that reads app storage, and the URL it loads comes from a deep-link parameter with no origin allowlist; an attacker sends a link that points the WebView at their page, which calls the bridge and exfiltrates stored data. Confirmed an attacker-controlled URL into a bridge-exposing WebView, critical, remediation = allowlist the WebView origin to pinned first-party content and remove or gate the bridge.

Kill. A deep link carries a next-screen parameter, but the router resolves it against a fixed allowlist of in-app destinations and rejects anything else, and no WebView or bridge is involved. An attacker's value is discarded. Killed, kill_reason = "the deep-link parameter is validated against a fixed in-app destination allowlist before use, so an attacker-supplied value cannot drive navigation."

Rationalizations to reject

  • "It uses our custom scheme." -> Any app can register that scheme and intercept or forge the link; a custom scheme is not proof the link came from a trusted source.
  • "It is an app link, so it is verified." -> Is the domain association actually verified? An unverified association makes the link claimable, not exclusive.
  • "The parameter just picks a screen." -> Does it reach navigation, auth, or a path without validation? An unvalidated link parameter is attacker input at the sink.
  • "The WebView is part of our app." -> Does it load a URL an attacker can choose? A trusted WebView pointed at hostile content lends that content the app's trust.
  • "The bridge is only for our pages." -> Can the WebView be made to load an attacker page? A bridge is only safe if the WebView cannot load untrusted content.

Executing this in practice

You need the registered schemes and app or universal links and their domain associations, the deep-link routing and where each parameter flows, the WebView configuration and the URLs it loads, and any native bridge exposed to a WebView. For each link, decide whether an attacker-supplied URL can drive a sensitive action or reach the bridge. Reading the registration tells you whether an attacker can send the link; reading the handler and the WebView config tells you what the URL can drive.

Related

  • auditing-android-component-exposure - the component-reach seam: that skill owns whether the component receiving the link is exported and reachable, this one owns whether the URL it carries is trusted.
  • testing-client-side-dom-vulnerabilities - the web-page analogue of the WebView content this skill loads; the same untrusted-URL-into-a-trusted-context shape in a browser.
  • hunting-mobile-secret-and-storage-exposure - the sibling for data at rest that a bridge or a routed action might read; distinct from the URL-trust decision here.
  • FINDING-SCHEMA.md - source = the attacker-supplied URL, sink = a sensitive action or a trusted WebView bridge acting on it, evidence = the registration, the parameter path, and the sink reached.

Preguntas frecuentes

¿Qué hace la habilidad de IA Auditing Mobile Deeplink Trust?

Audita cómo gestiona una aplicación móvil los enlaces profundos, los enlaces de aplicación o las URL de esquemas personalizados, para impedir que una URL proporcionada por un atacante active una acción confidencial o acceda a un contexto de WebView de confianza. Abarca los esquemas personalizados que cualquier aplicación puede registrar y secuestrar; los enlaces de aplicación cuya asociación de dominio no se verifica, por lo que no son exclusivos de la aplicación; los parámetros de enlaces profundos que se usan sin validar para activar acciones confidenciales; las URL controladas por un ata...

¿Por qué usar Auditing Mobile Deeplink Trust en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Auditing Mobile Deeplink Trust está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Auditing Mobile Deeplink Trust en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mobile-deeplink-trust. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Auditing Mobile Deeplink Trust?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Auditing Mobile Deeplink Trust?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Auditing Mobile Deeplink Trust con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Auditing Mobile Deeplink Trust?

Sí. UnboundCompute la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇