Secure it
The three shields are all in Step 6: Secure it, with the test prompts, the block codes, a before and an after for each, and Stuck? help. Step 6 is optional and nothing in it is scored.
agent → modelShield 1: AI GatewayStart hereRoute every model call through agent-gateway. Guardrails (prompt injection: block, plus an optional hazard category), DLP (Financial Information: block on request), then a rate limit last. A spend limit is an optional extra.user → appShield 2: AI Security for Apps + WAFNextLabel POST /api/chat on your hostname cf-llm, write WAF custom rules scoped to your hostname with cf.llm.prompt.* fields, attack it, and keep the workers.dev side door closed.agent → toolsShield 3: Secure MCPStretchAn Access service token for the agent, an MCP server portal exposing only approved tools, Gateway logging, and (stretch) DLP on tool calls.