agent-runtime-validati…
Plans and evaluates bounded runtime tests of AI agents, tools, memory, hooks, approvals, and scope enforcement. Use when static…
Builds an evidence-bound AI threat model from partial architecture, trust, identity, data-flow, and control information. Use when scoping an AI assessment, reviewing a design, or prioritizing realistic attack paths under uncertainty.
Claude Code
$ npx -y skills add zero-lab-ai/skills --skill ai-threat-model --agent claude-code
Codex
$ npx skills add zero-lab-ai/skills --skill ai-threat-model -a codex -y
Cursor
$ npx skills add zero-lab-ai/skills --skill ai-threat-model -a cursor -y
Gemini CLI
$ npx skills add zero-lab-ai/skills --skill ai-threat-model -a gemini-cli -y
GitHub Copilot
$ npx skills add zero-lab-ai/skills --skill ai-threat-model -a github-copilot -y
OpenCode
$ npx skills add zero-lab-ai/skills --skill ai-threat-model -a opencode -y
Windsurf
$ npx skills add zero-lab-ai/skills --skill ai-threat-model -a windsurf -y
name: ai-threat-model description: "Builds an evidence-bound AI threat model from partial architecture, trust, identity, data-flow, and control information. Use when scoping an AI assessment, reviewing a design, or prioritizing realistic attack paths under uncertainty." metadata: portability: universal discipline: engagement-operations domain: ai-systems tags: [ai, threat-modeling, architecture, trust-boundaries, risk]
Turn incomplete system knowledge into a decision-ready threat model without inventing architecture. Preserve uncertainty as a first-class result and update the model when evidence changes.
conventional application or cloud services.
contradictory.
1. State the decision the threat model must support, the assessment scope, and the evidence cutoff date. 2. Build an assumption register. For every unknown needed to continue, record the assumption, why it matters, the evidence that would resolve it, its owner, and the consequence if it is false. 3. Identify crown jewels and safety properties. Include sensitive data, model behavior, tool authority, workload identity, evaluation integrity, deployment artifacts, human approvals, and availability where relevant. 4. Map components and trust zones. Include users, applications, model gateways, model providers, retrieval pipelines, agent runtimes, tools, memory, registries, CI/CD, monitoring, and administrative planes. 5. Draw data, instruction, identity, and artifact flows separately. A component can trust data but not instructions, or accept an artifact without loading it. 6. For each boundary, ask what can cross, who authorizes it, which identity is used, what validation occurs, what logs survive, and what downstream consumer acts on the result. 7. Construct attack-path hypotheses from evidence-backed transitions. Label every step `observed`, `assumed`, `inferred`, or `blocked`; one unknown step prevents the full path from being called demonstrated. 8. Evaluate threats across the AI-specific surfaces:
9. Prioritize by plausible consequence, exposed preconditions, boundary count, control evidence, and uncertainty. Do not multiply arbitrary numbers to manufacture precision. 10. Convert priorities into bounded review questions, control gaps, evidence requests, and separately authorized validation objectives. 11. Version the model. Record which new evidence confirmed, weakened, blocked, or split each path.
Return a threat-model package containing the system purpose, scope, evidence cutoff, crown jewels, component and trust-zone map, separated flow maps, assumption register, attack-path hypotheses, control observations, prioritized review questions, and change log.
trust boundaries or controls.
architecture is reported evidence and may be stale.
stronger than its weakest unsupported transition.
the system-specific decisions the model exists to support.
likelihood should remain uncertainty, not become a reassuring score.
versioned decision artifact, not a static picture.
Portable, evidence-bound security skills for authorized defensive assessment, penetration testing, red teaming, detection engineering, purple teaming, and engagement operations. The collection contains 56 skills in 10 installable plugins from zero-lab.ai.
Plans and evaluates bounded runtime tests of AI agents, tools, memory, hooks, approvals, and scope enforcement. Use when static…
Reviews an MCP server's tool surface for tool poisoning, over-broad parameters, missing descriptions, and privilege escalation…
Maps identity, authority, instruction, data, memory, and approval propagation across agents and agent-to-agent handoffs. Use when…
Assesses whether direct, indirect, multi-turn, retrieved, or tool-mediated instructions can override an AI system's intended…
Maps cloud identity and authorization paths across AWS, Azure, GCP, and hybrid trust boundaries, separating proven access from…
Tracks embedded-device and firmware assessment coverage across exact units, acquisition methods, debug interfaces, stored…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…