Logo de Llm Redteam

Llm Redteam

OrganizaçãoPopular
awarexone
llm-redteam

LLM application red-teaming — prompt injection (direct + indirect), jailbreak, system-prompt leak, data exfiltration, guardrail bypass, multi-turn crescendo, cross-lingual + cipher + invisible-unicode token smuggling, excessive agency / tool abuse, insecure output handling. Canonical OWASP LLM Top 10 + ASI01-ASI10 mapping. Use when a target exposes a chat/completions/assistant/copilot endpoint, an AI feature that consumes user text or documents, or any /v1/chat, /api/chat, /mcp surface.

Add to TypingMind

Visão geral

Publicado porawarexone
RepositórioAgentic-Bug-Hunter
Nome da habilidadellm-redteam
Estrelas
5.3K
Forks
942
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por awarexone no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Llm Redteam no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/awarexone/Agentic-Bug-Hunter/tree/main/skills/llm-redteam
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/awarexone/Agentic-Bug-Hunter.git /tmp/Agentic-Bug-Hunter
mkdir -p .claude/skills
cp -r /tmp/Agentic-Bug-Hunter/skills/llm-redteam .claude/skills/llm-redteam
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Llm Redteam em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Llm Redteam automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Llm Redteam não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

LLM Red-Team

Reflection is not exploitation. A model that echoes your payload is noise; a model that acts on it — leaks its system prompt, emits your canary, calls a tool, renders raw HTML downstream — is a bug. Prove the action, then chain it to concrete impact.

This is the first-class LLM-attack skill. The scanner behind it is tools/llm_redteam.py (canary-based corpus runner, /llm-redteam). For auditing an MCP server, use skills/mcp-server-audit; for attacking a deployed agent black-box, use skills/agentic-app-audit.

0. QUICK KILL CHECKLIST

Kill the lead (classify Informational, move on) when:

  • The model refuses and no canary / leak / tool-call ever lands. "It said something edgy" is not a finding.
  • System-prompt "leak" is just generic assistant boilerplate ("I am a helpful assistant"), not the target's actual instructions.
  • Prompt injection fires but reads/changes nothing the current user couldn't already access (no cross-tenant data, no tool with impact).
  • Output looks like XSS but the host app escapes it before rendering (check the actual downstream sink, not the chat response).
  • Exfil payload is a markdown image beacon but the client never fetches remote images.

1. ROUTING TABLE — signal on target -> what to run

SignalRun
Any chat/assistant endpointtools/llm_redteam.py --url <endpoint> --field <json-field> (full corpus)
OpenAI-style API--template '{"messages":[{"role":"user","content":"{{PAYLOAD}}"}]}' --response-path choices.0.message.content
Only want one class--category jailbreak (see --list-categories)
Uploads/RAG/"summarize this doc"indirect-injection + token-smuggling (invisible unicode in the doc)
Agent has toolsexcessive-agency category + skills/agentic-app-audit
Confirm blind exfilplant a canary host, correlate with tools/oob_listener.py

2. ATTACK CLASSES (corpus categories)

The runner fires a canary per run (RT_PWNED_xxxx); a category "lands" when the canary / a real leak / a tool-call shows up in the response.

  • prompt-injection — direct instruction override, delimiter breaks.
  • jailbreak — DAN / developer-mode persona escape.
  • system-prompt-leak — repeat-above, keyword-anchor, scenario-escape.
  • data-exfil — markdown-image beacon / canary emission to an attacker host.
  • indirect-injection — payload framed as a retrieved document / tool result (the high-value one for RAG apps).
  • guardrail-bypass — base64 / split-string instruction smuggling.
  • multi-turn-crescendo — single-shot simulation of a gradual escalation jailbreak.
  • cross-lingual — override instruction in another language to dodge English-only filters.
  • cipher-obfuscation — leetspeak / ROT13-wrapped instruction.
  • token-smuggling — invisible "Sneaky Bits" unicode (U+2062/U+2064) carrying a hidden instruction (shared encoder with tools/hai_payload_builder.py).
  • excessive-agency — coerce an unsafe tool call / exfil (SSRF via "fetch URL", email send, payment).
  • insecure-output — get the model to emit raw HTML/script that a downstream sink renders (XSS via AI).

3. CANONICAL OWASP ASI01-ASI10 (single source of truth)

This table is the ONE authoritative ASI mapping for the whole toolkit — skills/bug-bounty and skills/web2-vuln-classes both defer to it. If you edit the taxonomy, edit it here.

IDClassWhat to testChain to
ASI01Prompt Injection / Goal HijackOverride objectives via direct or indirect injectionIDOR / exfil / tool abuse
ASI02Tool MisuseAttacker-controlled tool params ("fetch this URL", code tool)SSRF / RCE
ASI03Privilege CompromiseAgent uses broader perms / admin tokens than the userPriv-esc / cross-tenant
ASI04Supply ChainCompromised plugin / MCP server / tool-output poisoning next agentRCE / data theft
ASI05Code ExecutionUnsafe code-interpreter / sandbox escapeRCE
ASI06Memory & Context PoisoningPersistent RAG/memory corruption across sessions/usersStored injection affecting all users
ASI07Agent CommunicationInter-agent spoofing / IDOR (agent A reads agent B's context)Cross-tenant disclosure
ASI08Excessive AgencyDestructive action without confirmation; cascading failuresFunds/email/delete
ASI09Insecure Output HandlingAI output rendered as XSS / SQLi / command injection downstreamXSS / injection
ASI10Sensitive Information DisclosureLeaks system prompt / keys / configs / user dataSecrets -> deeper access

Triage rule: ASI alone = Informational. It is a bounty only when chained to IDOR / exfil / RCE / ATO with a working PoC.

4. CHAIN TO IMPACT (what makes it payable)

StandaloneChainResult
Prompt injection+ reads another user's conversation/data (IDOR)High
Indirect injection (RAG doc)+ persists in memory -> hits every userHigh/Critical
Tool misuse "fetch URL"+ hits internal service / IMDS and returns dataSSRF (Medium/High)
Insecure output+ the host renders it -> stored XSS -> session theftHigh
System-prompt leak+ the prompt contains an API key / internal URLHigh
Excessive agency+ unconfirmed destructive action (send funds, delete)High/Critical

5. CONFIRMATION DISCIPLINE (no false positives)

  • A category only counts when the canary / real leak / tool-call is observed in the response — never on "it sounded compliant."
  • For blind exfil, require a correlated out-of-band callback (tools/oob_listener.py), not just a rendered beacon tag.
  • For insecure-output XSS, confirm execution at the downstream sink with the XSS verifier (tools/verifiers/xss.py / tools/dom_xss_harness.py), not in the chat reply.
  • Record the exact payload + response excerpt; the report must be reproducible verbatim.

Perguntas frequentes

O que a habilidade de IA Llm Redteam faz?

LLM application red-teaming — prompt injection (direct + indirect), jailbreak, system-prompt leak, data exfiltration, guardrail bypass, multi-turn crescendo, cross-lingual + cipher + invisible-unicode token smuggling, excessive agency / tool abuse, insecure output handling. Canonical OWASP LLM Top 10 + ASI01-ASI10 mapping. Use when a target exposes a chat/completions/assistant/copilot endpoint, an AI feature that consumes user text or documents, or any /v1/chat, /api/chat, /mcp surface.

Por que usar Llm Redteam no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Llm Redteam é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Llm Redteam no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/awarexone/Agentic-Bug-Hunter/tree/main/skills/llm-redteam. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Llm Redteam?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Llm Redteam?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Llm Redteam com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Llm Redteam é gratuita?

Sim. A habilidade é publicada no GitHub por awarexone sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇