blog.devsecopsguides.comcourseA deep-dive lab series (AIDS-01 through at least AIDS-02 shown) teaching security patterns for AI-powered applications built on Google's Genkit framework, covering flow input/output validation with Zod, streaming chunk validation, telemetry data exposure, and agentic tool-calling security including least-privilege tool design, human-in-the-loop approval via tool interrupts, and maxTurns limits against runaway execution. Each lab includes concrete vulnerable-vs-secure TypeScript code, curl-based exploit walkthroughs (prompt injection to extract secrets, payload-inflation cost attacks, XSS via unsanitized LLM output, SQL-tool abuse for data exfiltration, privilege escalation via an over-permissioned modifyPermissions tool), plus detection (regex injection detection, OTel telemetry filtering) and verification tests. The broader 40-lab set spans multi-agent frameworks (LangGraph, CrewAI, AutoGen), MCP tool poisoning, LLM guardrails (NeMo Guardrails, Garak, promptfoo), and real CVEs/incidents like TorchServe, ONNX, the Cursor MCP exploit, and the Morris-II worm.
GenkitTypeScriptZod+3
Morris-II wormCursor MCP exploitOWASP Top 10 for LLM Applications+1
AI Security, Learning· Added 3 Sep 2026, published 21 Aug 2026