AI & MCP Security · OWASP LLM / MCP
AI Security: Html Comment Injection (Pinning & Integrity Review)
Enforce Pinning & Integrity Review to defend Html Comment Injection boundaries deterministically across LLM tools, RAG pipelines, and agent extensions.
Coverage ledger tracking key
ai:html-comment-injection::control:supply-chain
Static MCP / transcript / handler audit paired with sandboxed tool test
Risk boundary
// Relies solely on system prompt instructions for Html Comment Injection
// Vulnerable when untrusted tool output or RAG chunks redirect execution.Hardened guard
// Deterministic Pinning & Integrity Review
// Enforce server-side identity, allowlists, and redaction independent of model prompt text.Verification steps
- 01Map identity, tool permissions, writable RAG memory, and sinks for Html Comment Injection.
- 02Verify Pinning & Integrity Review holds in code even under untrusted prompt injection inputs.
- 03Record proof artifacts without raw tokens in findings.json.