prompt-injection
Detects LLM prompts built from user input or retrieved documents that let attackers hijack the model's instructions. Use when writing code that constructs LLM prompts from user input, builds system prompts, implements RAG pipelines, or processes external documents fed to a model. Also invoke when external data can influence LLM context.
Install
With your agent
Install OMGSkills skill "thejefflarson/soundcheck:.claude/skills/prompt-injection" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/thejefflarson/soundcheck /tmp/soundcheck && ln -s /tmp/soundcheck/.claude/skills/prompt-injection ~/.claude/skills/prompt-injection
From README
Prompt Injection Security Check (OWASP LLM01:2025) What this checks Protects against attacker-controlled text that hijacks LLM instructions. Direct injection arrives through user input; indirect injection arrives through retrieved documents, emails, or tool outputs. Both can cause the model to exfiltrate data, bypass guardrails, or execute unintended actions. Vulnerable patterns User input interpolated directly into the system-role message — user text lands in the instruction tier. Retrieved documents concatenated raw into the prompt with no delimiter or trust label. Email bodies, fetched web pages, or other external content passed into the prompt with no boundary markers separating data from instructions. No structural separation between developer instructions and untrusted data — everything is one string. Raw model response returned to the caller, rendered, logged, or used to trigger a downstream action with no validation step in between.
More from this repo
authentication-failures
Detects weak password storage, flawed JWT validation, sessions surviving logout, and missing MFA in authentication code.
broken-access-control
Detects missing ownership checks, broken role enforcement, and IDOR vulnerabilities that let users access other users'...
concurrency-correctness
Detects multi-threaded code where a lock is held across a blocking operation, lock acquisition order risks deadlock,...
