agentic-security-threat-modeling
БесплатноБез исполняемых скриптовНе проверенIdentify agentic AI security threats based on OWASP Top 10 for Agentic Applications 2026. Use when analyzing AI agents, LLM-powered applications, chatbots…
Об этом скилле
Agentic Security Threat Modeling Skill
Purpose
Augment generic STRIDE threat modeling with agentic AI-specific threats from OWASP Top 10 for Agentic Applications 2026. This skill identifies security risks unique to autonomous AI agents, multi-agent systems, and LLM-powered applications.
When to Use This Skill
IMPORTANT: Activate this skill when the codebase contains ANY of these patterns. This includes both standard frameworks AND custom agent implementations.
Agent Framework Indicators
langchainimports or dependenciesautogenimports or dependenciescrewaiimports or dependenciesclaude_agent_sdkorclaude-agent-sdkusageopenai.beta.assistantsor OpenAI Assistants APIsemantic_kernelimportsllama_indexwith agent patterns
LLM/AI API Usage (Custom Implementations)
anthropicor@anthropic-ai/sdkimports (Claude API)openaiimports (OpenAI/GPT API)Anthropic(orOpenAI(client instantiationmessages.create,chat.completions.createAPI calls- Any code calling Claude, GPT, or other LLM APIs
Custom Agent Patterns (Non-Framework)
- Files or directories named
agent,agents,runner,executor - Classes with
Agent,Runner,Executor,Bot,Assistantin name - Tool execution code (
bash-tools,browser-tools,tool-use) - Sandbox/container execution for AI (
sandbox,isolated,container) - Auto-reply or chatbot systems (
auto-reply,reply,bot,chatbot)
Agentic Code Patterns
- Tool/function definitions for LLMs (
@tool,tools=[],tools:, function calling) - Agent class definitions (
class.*Agent,BaseAgent,.*Runner,.*Executor) - Multi-agent communication (
agent.send,agent.receive, inter-agent messaging) - Memory/context management (
memory,context,ConversationBuffer,session,transcript) - RAG implementations (
retriever,VectorStore,embedding) - Prompt templates with tool instructions (
system_prompt,systemPrompt) - Agent orchestration (
AgentExecutor,run_agent,runAgent, workflow definitions) - Browser automation for AI (
playwright,puppeteer,browser-tool)
MCP (Model Context Protocol) Patterns
- MCP server implementations
- Tool registration for MCP
- MCP client connections
Detection Phase
Before generating threats, scan the codebase for agentic patterns using these searches:
1. Search for LLM API usage (CRITICAL - catches custom implementations):
- Grep for: anthropic|openai|claude|gpt-|llm|completion|chat\.create|messages\.create
2. Search for framework imports:
- Grep for: langchain|autogen|crewai|claude_agent_sdk|openai.*assistant|semantic_kernel
3. Search for agent/runner/executor patterns:
- Grep for: agent|runner|executor|bot|assistant (in file/directory names)
- Grep for: class.*Agent|class.*Runner|class.*Executor|class.*Bot
4. Search for tool execution patterns:
- Grep for: bash.tool|browser.tool|tool.use|tools\s*[:=]|@tool|function.call
5. Search for sandbox/isolation patterns:
- Grep for: sandbox|container|isolated|docker.*run
6. Search for auto-reply/chatbot patterns:
- Grep for: auto.reply|chatbot|bot.reply|message.handler
7. Search for memory/session patterns:
- Grep for: memory|context|session|transcript|conversation
8. Search for MCP patterns:
- Grep for: mcp|MCPServer|MCPClient|tool_registration
If ANY of these patterns are found, proceed with agentic threat modeling using ASI01-ASI10 categories.
OWASP Agentic Security Initiative (ASI) Threat Categories
ASI01: Agent Goal Hijack
Description: Attacks that exploit prompt injection to override, modify, or manipulate the intended goal of an AI Agent, diverting activities toward attacker-specified objectives.
Code Patterns Indicating Risk:
- User input directly concatenated into prompts
- No input sanitization before LLM processing
- Missing guardrails against instruction override
- Prompts without clear system/user separation
Threat Template:
{
"id": "THREAT-ASI01-XXX",
"category": "Tampering",
"title": "Agent Goal Hijack via [injection point]",
"description": "Attacker can inject malicious instructions through [input source] to override agent's intended goal and execute unauthorized actions",
"severity": "critical",
"affected_components": ["[agent component]", "[input handler]"],
"attack_scenario": "1. Attacker crafts input containing hidden instructions\n2. Input reaches agent without sanitization\n3. Agent interprets injected content as instructions\n4. Agent executes attacker's goal instead of intended task",
"vulnerability_types": ["CWE-74", "CWE-77"],
"mitigation": "Implement input sanitization, use structured prompts with clear boundaries, add output validation, implement goal state monitoring",
"existing_controls": [],
"control_effectiveness": "none",
"attack_complexity": "low",
"likelihood": "high",
"impact": "critical",
"risk_score":
Установить agentic-security-threat-modeling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepGlobWriteВложенные файлы
FAQ
Что делает скилл agentic-security-threat-modeling?
Identify agentic AI security threats based on OWASP Top 10 for Agentic Applications 2026. Use when analyzing AI agents, LLM-powered applications, chatbots, auto-reply systems, tool-using AI, browser automation, sandbox execution, or any application that uses AI/LLM APIs (Anthropic, OpenAI, Claude, GPT) to process user input and take actions.
Как установить скилл agentic-security-threat-modeling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agentic-security-threat-modeling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic