Skip to content

Securing AI agents, in depth

How the attacks on agents actually work, what stops them, and what does not. Every number links to the benchmark it came from, losses included.

Audit and compliance

What a guardrail does when its detector fails

We coded what 16 guardrail libraries, gateways, frameworks and agent hooks do when a detector errors or times out. Five let the call through, one of them ours.

· 7 min read
Release notes

Now on the MCP Registry and GitHub Marketplace

Ask AgentFox from any MCP client with uvx agentfox serve mcp, and scan every pull request for lethal trifectas and poisoned skills with the Marketplace Action.

· 4 min read
Prompt injection

How to answer “how do you prevent prompt injection?” on a security questionnaire

The five-part answer a reviewer accepts: detection with rates, containment when it misses, least privilege, a verifiable audit trail, tests. With a template.

· 7 min read
Audit and compliance

Least privilege for AI agents: how to scope tool permissions

Grant per agent and per tool, draft grants from real traffic, limit arguments, set impact and provenance rules, require approval for the irreversible.

· 8 min read
MCP security

MCP server security checklist for enterprises

Ten checks for every MCP server your agents load: inventory, pinned version, secrets, auth, a tool snapshot, descriptions read as code, grants, audit.

· 8 min read
Red teaming

How to red-team your own AI agent before your customer does

Five steps: define a failure as a tool call that should not happen, run the attack library with tools faked, let attacks adapt, gate the build, keep probing.

· 7 min read
Prompt injection

The lethal trifecta is three safe tools in one agent

Three tools that each pass review become an exfiltration path when one agent holds all of them. How to find the lethal trifecta in your own repo.

· 7 min read
Benchmarks

LLM Guard vs AgentFox on AgentDojo: it finishes more tasks than we do

We ran LLM Guard and AgentFox containment on the same 588 AgentDojo attacks. It let 86 through, we let none, and it finishes more benign tasks than we do.

· 8 min read
Benchmarks

How much latency does a guardrail add to an AI agent? We measured 109 agent repositories

A guard check adds 57.4 ms at the median on traffic from 109 real agent repositories. What moves it, and how it compares with other guards.

· 7 min read
Release notes

AgentFox 0.5: one-command setup and multi-agent systems scanned as their agents

agentfox up takes a project to governed in one command, multi-agent repositories scan as separate agents, about seventy validators ship built in.

· 6 min read
Prompt injection

ASCII smuggling: prompt injection you cannot see

Unicode tag characters hide an instruction from every reviewer while a model still reads it. How ASCII smuggling works, and how to detect it precisely.

· 7 min read
MCP security

MCP rug pulls: why approving an MCP server once is not enough

An MCP server can pass review and change its tools a week later. How tool poisoning and rug pulls work, and how to catch drift at the moment of the call.

· 8 min read
Prompt injection

Prompt injection detection is a speed bump. Contain the tool call instead.

You will not detect every prompt injection. Capability grants, impact tiers and argument provenance stop the damaging tool call even when detection misses.

· 9 min read
Coding agents

Which Claude Code hooks can actually stop a tool call

Claude Code hooks are the only place a coding agent's tool call can be refused before it runs. Which hooks can block, which cannot, and a working baseline.

· 7 min read
Red teaming

We attack our own AI agent every hour and publish what gets through

A red-team report is out of date the day after it ships. How scheduled, opt-in probes against a deployed agent work, and why we publish our own misses.

· 8 min read
Prompt injection

Indirect prompt injection that hides: three techniques a keyword filter misses

Letter-spaced overrides, instructions hidden in markup, and persona jailbreaks. What they look like in a retrieved document, and how a detector catches them.

· 8 min read
Audit and compliance

An AI agent audit trail your auditor can check without your vendor

A log the vendor can rewrite is not evidence. How a hash-chained audit trail, signed checkpoints and a standalone verifier turn agent decisions into proof.

· 8 min read

Subscribe with the RSS feed, or watch our own agent get attacked every hour.

Try AgentFox on your own agent

One command finds your agents. It starts in watch mode, so nothing is blocked until you say so.

uvx agentfox scan