Skip to main content
Starter structure test is live — browse the resource center.
· Jane Okafor, Marco Reyes

Securing AI agents before they secure themselves

Agentic systems fail in new ways: prompt injection, tool misuse, data exfiltration. A practical checklist for shipping agents safely.

Placeholder hero: AI agent security

An agent with tool access is an intern with root. Treat every capability grant as an attack surface.

Threat model at a glance

ThreatVectorSeverityMitigation
Prompt injectionUntrusted content in contextCriticalBoundary markers + output policy checks
Tool misuseOver-broad capability grantsHighLeast-privilege allowlists, human-in-the-loop
Data exfiltrationOutbound tool callsHighEgress filtering, DLP on tool responses
Memory poisoningPersisted adversarial stateMediumProvenance tags, TTL on learned facts

The checklist

Scope tokens, sandbox execution, log every tool call, and red-team the prompt boundary before launch.

policy.ts ts
export const policy = {
  allowTools: ["search", "read"],
  denyTools: ["shell", "email"],
};