Individual skill
indirect-injection-detection
Detect indirect prompt injection (goal hijack). Instructions hidden in "external" content (documents, RAG, web) that the agent processes. Use when the agent has document/RAG/web/file input.
agent-scan/agent_scan/prompt/skills/indirect-injection-detection/SKILL.md
Source commit 76146bf479b2fedb34f7acb7f536aa37b1f8ba74
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Instructions only
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 7,459
- Repository last updated
- Nov 10, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent Repository topic
- llm Repository topic
- scanner Repository topic
- security Repository topic
- vulnerability Repository topic
- agent-security Repository topic
- ai-red-teaming Repository topic
- ai-security Repository topic
- llm-jailbreak Repository topic
- llm-security Repository topic
- writing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 4,478 bytes
Read excerpt
# Indirect Injection Detection
Detect **goal hijack** via **indirect prompt injection**: the malicious instruction is not in the user’s direct message but in content the agent is asked to process (e.g. “summarize this document”, “answer from this retrieved chunk”).
## When to Use
- Agent has **RAG / retrieval** (processes retrieved chunks or documents)
- Agent has **file upload** or “paste document” flows
- Agent has **web / URL** fetch and then reasons over the page content
If the agent only answers from the immediate user message with no “external” content, indirect injection does not apply.
## Idea