Risk to agentIntegrityConfidentiality

Agent creates its own tool where none exists

Asked to do something no allowlisted tool does — or told to by injected content — the agent builds the capability itself: it writes code that calls a system's API directly instead of through a declared tool, installs a package that does the job, writes a script or a local server and runs it, or saves helper code to reuse in later runs. A self-made tool sits outside the allowlist, the effect classes, the guard and the definition hash, so nothing reviewed what it does; unlike K2, where the guard refuses a tool the agent was not given, a self-made tool never reaches the guard at all. Such code can compute but not act: the signed bundle is the only thing that loads (CFG-30); the allowlist is the only grant (CFG-40); a server cannot add tools at run time (CFG-24); and the sandbox has no identity, secrets or network beyond its profile (CFG-39), with the principal's egress rule behind it (CFG-36, CFG-41). The routes by which code would get reach are closed one by one: no sandbox profile may reach a package index or code host (CHK-52); nothing a run's code writes survives the run (CFG-76); a tool that runs agent code against another system is mediated per operation or can only read (CHK-50); and evaluations include a request no tool can meet, which passes only if the agent says so (CHK-15). Which memory and session stores the sandbox must be kept from is still open. An agent may still propose a tool it wrote by pull request; someone other than its author reviews it, and it loads only once merged, signed and released. A coding agent on a workstation that adds a server to its own configuration is held in integration. The impact stays high in the residual: the controls make it unlikely, not less harmful when it happens.

Before and after controls.

Without controlsHigh

Likelihood
3 · Expected
Impact
3 · Material harm to several tenants

With controlsMedium

Likelihood
1 · Unlikely without a new failure
Impact
3 · Material harm to several tenants

With controls is rated as if every control below works as designed.

Where it comes from.

This risk to agent arises from:

Also known as.

OWASP Agentic Top 10ASI05OWASP Agentic Top 10ASI10OWASP LLM Top 10 2025LLM06

See the whole picture.

Every AI risk on one matrix, before and after controls.

Want to know which of these risks apply to you?

A 30 minute call to map the risks that matter for your AI use, and the controls that bring them down.