Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

anshumanbhот anshumanbh★ 287 звёзд на GitHub17 установок в других каталогах

Об этом скилле

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

  • langchain imports or dependencies
  • autogen imports or dependencies
  • crewai imports or dependencies
  • claude_agent_sdk or claude-agent-sdk usage
  • openai.beta.assistants or OpenAI Assistants API
  • semantic_kernel imports
  • llama_index with agent patterns

LLM/AI API Usage (Custom Implementations)

  • anthropic or @anthropic-ai/sdk imports (Claude API)
  • openai imports (OpenAI/GPT API)
  • Anthropic( or OpenAI( client instantiation
  • messages.create, chat.completions.create API 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, Assistant in 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":
Полный SKILL.md на GitHub

Установить agentic-security-threat-modeling в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Glob
Write

Вложенные файлы

examples.mdreference/README.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить agentic-security-threat-modeling с