Skill 4.3.7
Identify and mitigate security risks and vulnerabilities in ML and AI systems
Key Concepts
Risks include prompt injection (direct and indirect through retrieved content), data poisoning of training or RAG data, model extraction and inversion through repeated queries, sensitive information disclosure, excessive agency of agents and insecure handling of model output.
Mitigations: input and output guardrails, least-privilege tool permissions, human approval for risky actions, data provenance and validation, rate limiting and authentication on endpoints, and output validation before execution.