मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी5.5k · #14790

llm-redteam

यह क्या करती है

यह स्किल एजेंट को भाषा मॉडल ऐप में सुरक्षा कमज़ोरियों की रेड-टीम जाँच करना सिखाती है। यह देखती है कि इंजेक्ट किया गया टेक्स्ट असली कार्रवाई, लीक या असुरक्षित आउटपुट तक ले जाता है या नहीं, केवल अजीब जवाब नहीं।

कब इस्तेमाल करें

  • ✓जब परीक्षक को चैटबॉट, असिस्टेंट या copilot में prompt injection जाँचना हो।
  • ✓जब परीक्षक को शक हो कि AI फ़ीचर अपना system prompt या निजी डेटा लीक कर सकता है।
  • ✓जब परीक्षक जाँचना चाहता है कि AI एजेंट ऐसे टूल कॉल कर सकता है या नहीं जिन्हें उसे नहीं करना चाहिए।

Skill का लिंक

https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/llm-redteam/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/llm-redteam/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस सपोर्ट चैटबॉट को prompt injection के लिए परखिए, और जाँचिए कि क्या वह अपना system prompt बता सकता है।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट ऐसे हमले वाले prompts चलाता है जिनमें एक अनूठा मार्कर होता है, फिर जाँचता है कि मॉडल लीक करता है, कार्रवाई करता है या असुरक्षित आउटपुट देता है। वे जवाब जो केवल payload दोहराते हैं, शोर माने जाते हैं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

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 bughunter/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

Signal Run
Any chat/assistant endpoint bughunter/tools/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 tools excessive-agency category + skills/agentic-app-audit
Confirm blind exfil plant a canary host, correlate with bughunter/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 bughunter/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.

ID Class What to test Chain to
ASI01 Prompt Injection / Goal Hijack Override objectives via direct or indirect injection IDOR / exfil / tool abuse
ASI02 Tool Misuse Attacker-controlled tool params ("fetch this URL", code tool) SSRF / RCE
ASI03 Privilege Compromise Agent uses broader perms / admin tokens than the user Priv-esc / cross-tenant
ASI04 Supply Chain Compromised plugin / MCP server / tool-output poisoning next agent RCE / data theft
ASI05 Code Execution Unsafe code-interpreter / sandbox escape RCE
ASI06 Memory & Context Poisoning Persistent RAG/memory corruption across sessions/users Stored injection affecting all users
ASI07 Agent Communication Inter-agent spoofing / IDOR (agent A reads agent B's context) Cross-tenant disclosure
ASI08 Excessive Agency Destructive action without confirmation; cascading failures Funds/email/delete
ASI09 Insecure Output Handling AI output rendered as XSS / SQLi / comm
अक्सर पूछे जाने वाले सवाल

असली खोज किसे माना जाता है?

स्किल कहती है कि मॉडल को payload पर कार्रवाई करनी चाहिए, जैसे निर्देश लीक करना या टूल कॉल करना, केवल दोहराना नहीं।

क्या अप्रत्यक्ष injection कवर होती है?

हाँ। स्किल उन दस्तावेज़ों या पेजों में छिपी injection भी शामिल करती है जिन्हें असिस्टेंट पढ़ता है।

यह कौन-से मानकों से मेल खाती है?

स्किल OWASP LLM Top 10 और ASI01 से ASI10 तक से मेल करती है।

जानकारी

लेखक का मूल विवरण

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.

repo: awarexone/Agentic-Bug-Hunter

लोकप्रियता

GitHub स्टार
5.5k
रैंकिंग में स्थान
#14790
लाइसेंस
MIT
अपडेट की गई
28/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

bug-bounty

5.5k

आपके एजेंट को बग बाउंटी समीक्षा चरणों में योजना बनाने में मदद करती है, प्रोग्राम का दायरा जाँचने और संपत्तियाँ मैप करने से लेकर प्रभाव सत्यापित करने और रिपोर्ट लिखने तक।

कोडिंगसिक्योरिटी

agentic-app-audit

5.5k

आपके एजेंट को लाइव AI असिस्टेंट की बाहर से समीक्षा करने देती है, हाइजैक्ड टूल कॉल, दूषित मेमोरी और उपयोगकर्ता से अधिक पहुँच वाली कार्रवाइयों जैसे जोखिमों के लिए।

कोडिंगसिक्योरिटी

argus

5.5k

आपके एजेंट को वेब और AI ऐप की आम खामियों के लिए छह स्वचालित स्कैनर चलाने देती है, जैसे खुला cross-origin एक्सेस, JWT कमज़ोरियाँ और out-of-band में पुष्ट अंधी बग।

कोडिंगसिक्योरिटी

bb-methodology

5.5k

आपके एजेंट को बग बाउंटी सत्र चरणों में योजना बनाने देती है, अगला कदम और सही जाँच चुनते हुए, और ऐसे विचार छोड़ते हुए जो असली नुकसान नहीं कर सकते।

कोडिंगसिक्योरिटी

मिलती-जुलती skills