شعار Auditing Mobile Deeplink Trust

Auditing Mobile Deeplink Trust

مؤسسة
UnboundCompute
auditing-mobile-deeplink-trust

دقّق في طريقة تعامل تطبيق جوّال مع رابط عميق أو رابط تطبيق أو عنوان URL بمخطط مخصص، لمنع عنوان URL يقدّمه المهاجم من تنفيذ إجراء حساس أو الوصول إلى سياق WebView موثوق. يشمل ذلك مخططًا مخصصًا يمكن لأي تطبيق تسجيله واختطافه، ورابط تطبيق لم يُتحقق من ارتباط نطاقه بالتطبيق، فلا يكون الرابط مخصصًا له وحده، ومعلمة في رابط عميق تنتقل من دون تحقق إلى إجراء حساس، وعنوان URL يتحكم به المهاجم ويُحمّل في WebView، وجسر JavaScript مكشوف لـ WebView يمكنه تحميل محتوى غير موثوق. استخدم هذه المهارة عند مراجعة توجيه الروابط العميقة والتعامل مع عناوين URL وإعداد WebView، لا حالة تصدير المكوّن في البيان الذي يستقبل الرابط (فهذه تغطيها مهارة التعرّض للمكوّنات). عنوان URL الذي يقدّمه المهاجم هو المصدر، والإجراء الحسّاس أو جسر WebView الموثوق الذي يتصرف بناءً عليه هو الوجهة، أما الخلل فهو الوثوق بمعلمة الرابط من دون التحقق منها.

نظرة عامة

الناشرUnboundCompute
المستودعsecurity-agent-skills
اسم المهارةauditing-mobile-deeplink-trust
النجوم
27
التفريعات
8
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها UnboundCompute على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Auditing Mobile Deeplink Trust في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mobile-deeplink-trust
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق 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-deeplink-trust .claude/skills/auditing-mobile-deeplink-trust
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Auditing Mobile Deeplink Trust في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Auditing Mobile Deeplink Trust تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Auditing Mobile Deeplink Trust بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Auditing Mobile Deeplink Trust؟

دقّق في طريقة تعامل تطبيق جوّال مع رابط عميق أو رابط تطبيق أو عنوان URL بمخطط مخصص، لمنع عنوان URL يقدّمه المهاجم من تنفيذ إجراء حساس أو الوصول إلى سياق WebView موثوق. يشمل ذلك مخططًا مخصصًا يمكن لأي تطبيق تسجيله واختطافه، ورابط تطبيق لم يُتحقق من ارتباط نطاقه بالتطبيق، فلا يكون الرابط مخصصًا له وحده، ومعلمة في رابط عميق تنتقل من دون تحقق إلى إجراء حساس، وعنوان URL يتحكم به المهاجم ويُحمّل في WebView، وجسر JavaScript مكشوف لـ WebView يمكنه تحميل محتوى غير موثوق. استخدم هذه المهارة عند مراجعة توجيه الروابط العميقة والتعامل مع عناوين URL وإعداد WebView، لا حالة تصدير المكوّن في البيان الذي يس...

لماذا تستخدم Auditing Mobile Deeplink Trust على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Auditing Mobile Deeplink Trust عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Auditing Mobile Deeplink Trust في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mobile-deeplink-trust. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Auditing Mobile Deeplink Trust؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Auditing Mobile Deeplink Trust؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Auditing Mobile Deeplink Trust معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Auditing Mobile Deeplink Trust مجانية؟

نعم. نشرها UnboundCompute على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇