شعار Auditing The Lethal Trifecta

Auditing The Lethal Trifecta

مؤسسة
UnboundCompute
auditing-the-lethal-trifecta

Find where an AI agent becomes dangerous: the trust context in which access to private data, exposure to untrusted content, and an ability to send data out all coexist. Any two legs are usually safe; all three let planted content make the agent read secrets and exfiltrate them. Use when designing or reviewing a tool-using LLM agent, before granting it a new tool or data scope, or to judge whether a prompt injection is actually exploitable. Covers capability inventory, the three legs, kill-chain construction, and which leg to cut.

نظرة عامة

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

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-the-lethal-trifecta
  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-the-lethal-trifecta .claude/skills/auditing-the-lethal-trifecta
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Auditing the lethal trifecta: the agent exposure condition

An AI agent turns dangerous when three capabilities share one trust context:

  • Private data. It can read secrets, user data, internal systems.
  • Untrusted content. It ingests text an attacker can influence.
  • Exfiltration. It can send data somewhere the attacker can observe.

Any two of these are usually safe. All three together mean an attacker who plants content can make the agent read the private data and route it out, no account takeover required. The trifecta is a structural property of the agent's wiring, which is why it survives prompt-level defenses that a specific payload would slip.

When to use

  • You are designing or reviewing a tool-using agent, assistant, or automation.
  • Before granting the agent a new tool, data scope, or network capability.
  • You found a prompt injection and need to know if it can cause real damage.
  • You are writing or reviewing an agent's permission and egress posture.

Scope check

Audit agents and systems you own or are authorized to test. Do not plant content in or exfiltrate from systems you do not control. If you can't name the authorization, stop.

The loop

  1. Fix the trust context. A context is one session, task, or conversation where content and capabilities mix, sharing the same model instance and memory. The trifecta must co-occur within a single context to bite; audit context by context, not tool by tool.

  2. Inventory capabilities. List everything the agent can read and everything it can do in this context: data stores, credentials, files, internal APIs, network calls, message/PR/email sends, tool invocations, memory writes.

  3. Label each against the three legs. Mark every capability as private-data (leg A), untrusted-content intake (leg B), or exfiltration/egress (leg C). Be honest about indirect legs: a tool that writes to a shared doc an attacker can read is egress; a "read-only" web fetch is untrusted-content intake.

  4. Find the overlap. A context carrying all three legs is a live exposure. Two legs is a latent risk to watch (one added tool completes it). Record which legs each context has.

  5. Build the kill chain. For each trifecta context, write the concrete path: attacker plants content in leg B, the agent ingests it, the injected instruction drives a leg-A read, the result leaves through leg C. If you can trace that chain, the exposure is confirmed; if a leg is missing or isolated, it is killed.

  6. Cut the cheapest leg and record. The fix is to remove one leg from the context: isolate untrusted content behind a data-only boundary, drop or gate egress, scope down data access, or require human approval on the sensitive action. Recommend the leg that costs the least function. Record confirmed exposures and killed contexts (naming the absent leg) in the schema.

Reading the legs honestly

  • Egress hides in benign tools. Posting a comment, opening a PR, writing a file to a synced folder, a "helpful" outbound webhook, even a rendered image URL the agent controls, are all channels an attacker can read. Enumerate them.
  • Reading is enough. Leg A does not require write access. Read plus egress is the whole breach.
  • Untrusted content is broader than "the web." Retrieved documents, tickets, emails, filenames, tool outputs, and other agents' messages are all leg B.
  • Two legs is a design smell. If a context has two, treat the third as one PR away and design the boundary now.

Worked example (a confirm and a kill)

Confirm. A coding agent has repo and .env access (A), reads issues and PR comments from a public repo (B), and can make outbound network requests and open PRs (C). An attacker files an issue containing an injection; the agent ingests it, reads .env, and includes the secret in an outbound request. All three legs in one context, chain traced. Confirmed, critical, remediation = remove egress from the issue-triage context or gate outbound calls behind approval.

Kill. A summarizer agent fetches untrusted web pages (B) but has no access to private data (no A) and only returns text to the user in-band (no external C). Killed, kill_reason = "two legs absent; injection can mislead the summary but cannot read secrets or exfiltrate."

Rationalizations to reject

  • "We have a prompt-injection filter." → Filters are payload-level and bypassable. The trifecta is structural; cut a leg.
  • "The data access is read-only." → Read plus egress is the breach. Read-only does not remove leg A.
  • "Each tool is safe on its own." → True and irrelevant. The exposure is the combination in one context.
  • "No one would plant content there." → Leg B means someone can. That is the definition.

Executing this in practice

You need the agent's real capability set for the context under review: its tool manifest, the data and credentials it can reach, every content source that feeds its context, and its full egress posture (network, writes, messages). Map those to the three legs; the overlap is the finding. The tooling only enumerates capabilities, the trifecta judgment and the kill chain are yours.

Related

  • testing-agents-for-indirect-prompt-injection - the mechanism that drives the kill chain through leg B.
  • auditing-mcp-tool-integrations - where token passthrough and tool egress add leg C, and tool metadata adds leg B.
  • FINDING-SCHEMA.md - the shape every confirmed and killed context takes (source = untrusted channel, sink = the egress action).

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

ماذا تفعل مهارة الذكاء الاصطناعي Auditing The Lethal Trifecta؟

Find where an AI agent becomes dangerous: the trust context in which access to private data, exposure to untrusted content, and an ability to send data out all coexist. Any two legs are usually safe; all three let planted content make the agent read secrets and exfiltrate them. Use when designing or reviewing a tool-using LLM agent, before granting it a new tool or data scope, or to judge whether a prompt injection is actually exploitable. Covers capability inventory, the three legs, kill-chain construction, and which leg to cut.

لماذا تستخدم Auditing The Lethal Trifecta على TypingMind؟

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

كيف أثبّت Auditing The Lethal Trifecta في TypingMind؟

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

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Auditing The Lethal Trifecta؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Auditing The Lethal Trifecta؟

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

هل مهارة الذكاء الاصطناعي Auditing The Lethal Trifecta مجانية؟

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

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

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

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

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

عرض الكل

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

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