Skip to content

AI agent security

The threat model agentic systems actually face

A model that says something wrong is a content problem. An agent that does something wrong moves money, changes a record, or actuates a system. ApexClaw works at the action layer, where the consequence is not recoverable by editing a response.

How agentic systems fail in practice

Each of these is an action-layer failure. None of them is fixed by a better prompt.

Instruction injection reaching a tool

Content the agent reads — a page, a document, a ticket — contains text directed at the agent. If the tool call is not independently authorized, the injected instruction executes with the agent's authority.

Authority confusion

The agent acts on behalf of someone, but the acting identity and the principal are carried in the request body rather than established from an authenticated credential. Anything that can write the request can claim either.

Excessive agency

The agent holds a credential broad enough to do far more than the task requires, so a single reasoning error or compromise produces an effect well outside the intended scope.

Unbounded or repeated effects

A retry, a replay or a crash between commit and acknowledgement produces a second real-world effect, because the effect was not reserved against a single intent.

Unverifiable records

The log is written by the same component that performed the action, with the same key. It attests to nothing an attacker who reached that component could not also write.

Revocation that arrives too late

Authority is withdrawn, but work already approved and queued still executes, because revocation was not evaluated at dispatch.

The controls ApexClaw applies, with verdicts

Pre-execution authorization

Proven

Every governed action is authorized before it executes, not observed after. The decision to allow, hold or deny is taken against the active policy inside the same write transaction that reserves the budget and consumes the approval, so a policy change lands entirely before or entirely after an action — never halfway through one.

Agent identity from authenticated context

Proven

An agent's identity and its accountable owner come from the authenticated credential and the agent directory. They are never read from the request body. A request whose body disagrees with its credential is refused, and the refusal itself is recorded as signed evidence.

Deterministic policy enforcement

Proven

Decisions are produced by explicit rules over an explicit policy document with a version, not by a model's judgement. The same request under the same policy version yields the same decision, and the policy version that governed each decision is recorded in the signed evidence.

Human approval, bound and single-use

Proven

An action held for approval produces no effect until a separately authenticated human with the required role approves that exact request. The approval is bound to the payload and the envelope, is consumed once, and cannot release a different action or the same action twice.

Revocation of agent authority

Proven

An authorized operator can revoke an agent. Its next request cannot execute, and an action it had already had approved but not yet dispatched cannot execute either — revocation reaches work already in flight, not only new requests.

Budget and action limits

Proven

Spend and action limits are reserved atomically inside the authorization transaction. A limit lowered below what is already spent stops further spend without rewriting history, and the change is recorded as a signed configuration record naming the principal who made it.

Bring governed execution to your agents.