AI Injection Defense
Builds a robust Prompt-Validator-Executor layer to protect AI agents against prompt injection and malicious tool execution.
This skill implements a comprehensive security framework for AI agent runtimes by establishing a Prompt-Validator-Executor (PVE) architecture. It enforces strict source tagging for all data inputs—including user messages, web retrieval, and memory—to ensure that the model can distinguish between trusted and untrusted sources before executing any tools. By incorporating allowlists, memory-write guardrails, and red-team testing based on Greshake exploit classes, it prevents prompt injection, persistent memory poisoning, and unauthorized system access, providing a critical safety layer for autonomous agents with tool-calling capabilities.