auditing-the-lethal-trifecta

Solid

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.

AI & Automation 4 stars 1 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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 capabili...

Details

Author
UnboundCompute
Repository
UnboundCompute/security-agent-skills
Created
5 days ago
Last Updated
yesterday
Language
N/A
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

agent-threat-model

Threat-model an AI agent deployment against the lethal trifecta — private data, untrusted content, and an exfiltration vector — producing a per-capability matrix, a named architectural fix for every unsafe path, and a pre-launch checklist. Use before shipping an agent, when reviewing MCP server or tool permissions, when the user asks about prompt injection or data exfiltration risk, or when deciding whether an agent's capability surface is safe to expose.

2 Updated 6 days ago
sananthanarayan
AI & Automation Solid

auditing-ai-agent-permissions

Audit what an AI agent is actually allowed to do versus what its task needs. Covers excessive agency (tools, scopes, and autonomy beyond the job), missing human-in-the-loop gates on irreversible actions, over-broad credentials and their blast radius, sandbox and code-interpreter escape, unfiltered egress, and unbounded resource or spend (denial-of-wallet). Use when granting an agent a tool or scope, reviewing an agent's permission posture, or deciding which actions need approval. The model's restraint is not a control; permissions are.

4 Updated yesterday
UnboundCompute
AI & Automation Solid

red-teaming-multi-agent-systems

Test a system of multiple cooperating AI agents for attacks that exist only because agents message, spawn, and delegate to each other. Covers agent-to-agent injection (agent-in-the-middle), delegation abuse and recursive loops, orchestrator injection, confused-deputy across a trust boundary, identity spoofing between agents, capability collusion, and denial-of-wallet. Use when reviewing an orchestrator, a crew or swarm, agent-to-agent messaging, or any pipeline where one agent's output becomes another agent's input. Every internal edge where output becomes instruction is an injection channel.

4 Updated yesterday
UnboundCompute