Tachikoma · Blog · AI Security

AI Agent Security: The Layer Most Frameworks Miss Is What Your Agents Reveal

AI agent security frameworks overlook the output layer. Learn the full risk surface and a layered evaluation framework to close the gap for good.

Domain financial institutions · agentic AI Risk output-layer exposure · data exfiltration Resolution recipient-resolved · lineage-based

AI agent security frameworks have matured fast. Identity verification, tool restrictions, prompt injection defenses — most security teams have at least started mapping these. But one layer keeps getting treated as an afterthought: the output layer. What the agent reveals, to whom, and under what inherited rights.

This article maps the full risk surface for autonomous AI agents in financial institutions, identifies the gap, and proposes a layered evaluation framework for security, AI, and risk leads who need to close it.

01

The Risk Surface

Autonomous agents in financial institutions do not behave like traditional software. They read from multiple sources, call external tools, write to memory, and produce outputs that flow downstream to humans and other agents. Each of those steps is an attack surface.

Prompt injection

An agent receives instructions from an external document, a retrieved chunk, or a tool response. A malicious payload embedded in that content can redirect the agent's behavior — silently, without triggering any authentication check. The agent acts on the injected instruction as if it were a legitimate task.

Tool abuse and privilege escalation

Agents are granted tool access to do their jobs. A research agent needs database read access. A portfolio agent needs market data feeds. But tool permissions are often coarse-grained and static. An agent cleared to read one dataset can, in many architectures, use that tool to reach adjacent data it was never meant to see.

Data exfiltration via agent outputs

This is the gap. An agent synthesizes a report from 3 sources with different access controls. The report goes to a user. That user may not be cleared for one of the sources. Nothing in the generation step checks that. The output carries the most sensitive data from the most restricted source — and it lands in an inbox with no lineage attached.

The OWASP AI Agent Security guidance identifies data exfiltration via tool calls, API requests, and agent outputs as a primary risk vector. The output channel is explicitly named — not just the input.

A note on scale: according to research from the Cloud Security Alliance and Token Security via Kiteworks, 65% of organizations reported an agent-related incident, and 61% of those involved sensitive data exposure (published 21/04/2026).

Memory poisoning

Agents with persistent memory can be manipulated across sessions. A poisoned memory entry shapes future behavior without any single interaction looking suspicious. The attack is distributed across time.

Non-human identities

Agents are not users. Most IAM systems were built for humans. An agent sharing an API key with 3 other agents — or running under a service account with no individual identity — is invisible to audit. When something goes wrong, the trace points to a shared credential, not a specific agent action.

The Microsoft Security Blog (19/10/2026) frames this directly: agents are the new insiders. The Darktrace State of AI Cybersecurity 2026 report puts 92% of security professionals as concerned about AI-related threats. And the Cisco State of AI Security 2026, via Help Net Security, finds only 29% of organizations consider themselves ready to secure agentic deployments.

02

Why Output Is the Hardest Problem

Security teams are comfortable with access controls on reads. "Can this agent read this file?" has a clear answer. "Can this user receive a summary derived from this file?" does not — not in most architectures.

The OWASP Top 10 for Agentic Applications 2026 lists Excessive Agency as a top-ranked risk. A note from the Cloud Security Alliance dated 04/09/2026 confirms it moved from 6th to 3rd place in the LLM Top 10 for 2026. Agents doing more than they should — including revealing more than they should — is now a recognized, ranked threat.

The output problem has 3 components.

Recipient resolution

The same agent output can go to a CFO, a junior analyst, and an external contractor. Each has different clearance. A single output should not be identical for all 3.

Lineage inheritance

A derived output inherits the access restrictions of its sources. If source A is restricted to senior staff and source B is unrestricted, any output drawing on source A carries source A's restriction. Most generation pipelines do not track this.

Retroactive exposure

An output stored in a shared workspace, forwarded by email, or cached in a retrieval system carries no memory of its original restrictions. Once it leaves the agent, it is uncontrolled.

03

The Layered Framework

Effective AI agent security requires controls at every layer — not just at the perimeter. The table below maps each layer to its function and the gap it closes.

Layer Function Gap closed
Identity Each agent runs as a dedicated Unix account. No shared API keys. Every action maps to a specific agent UID. Non-human identity invisibility
Input access ACLs govern what data each agent can read. Strictest wins when multiple policies apply. Privilege escalation via tool abuse
Inference protection Prompt injection detection at the boundary. Untrusted content flagged before it reaches the agent's reasoning loop. Prompt injection
Lineage tracking Every read, synthesis, and output is traced. Derived outputs inherit the ACLs of their source data. Uncontrolled data inheritance
Recipient-resolved output The rule applies at response time, per recipient. The CFO gets the full output. The contractor gets a redacted version. The analyst gets what their clearance allows. Excessive disclosure to under-cleared recipients

No single layer is sufficient. A strong identity layer with no output control still leaks. A strong output layer with no lineage tracking cannot know what to redact.

04

Hypothetical Scenario

This scenario is hypothetical, constructed to illustrate the output problem.

An agent has read access to a board-pack.pdf and a public market summary. It synthesizes a briefing. The board-pack carries a restriction: cleared for Managing Directors only.

The briefing goes to 3 recipients: the CFO (MD-level clearance), a portfolio analyst (no MD clearance), and an external consultant (no internal clearance at all).

Without recipient-resolved output control

All 3 receive the same briefing. The analyst reads board-level information they were never cleared for. The consultant reads it too — and forwards it. No trace exists linking the disclosure to the source restriction.

With lineage-based output control

Recipient Clearance Output
CFO MD · full ✓ Full briefing
Portfolio analyst Standard · partial ◐ Redacted — board-pack sections withheld
External consultant No internal clearance ⊗ Denied — board-pack content blocked

Same agent. Same run. 3 answers resolved per recipient. The rule applies at response time — not at generation time.

05

Human Escalation

Not every decision should be automated. Some operations require human sign-off before the agent proceeds.

A policy-designated escalation screen — what Tachikoma calls the Judge screen — intercepts specific agent actions and routes them for human review. One concrete example: a wire transfer above a defined threshold. The agent cannot proceed until a human clears it.

The same mechanism applies to any operation designated by policy. The agent does not decide what requires escalation. The policy does.

This is not a fallback for when the agent fails. It is a designed control for operations where automated resolution is insufficient by policy.

06

8-Question Evaluation Checklist

Use this checklist when evaluating any AI agent deployment or vendor claim.

  • Does each agent have a unique, non-shared identity? Shared API keys are invisible to audit. Agents need individual accounts.
  • Are ACLs evaluated at response time, per recipient? Generation-time access checks are not enough. The output must resolve against the recipient's clearance.
  • Does the system track lineage through synthesis? A derived output must carry the restrictions of its sources. If the system cannot answer "what data went into this output?", it cannot enforce output controls.
  • Are secrets borrowed, not read? Agents should never see credentials in plaintext. The system handles authentication; the agent gets the result.
  • Is every decision logged — identity, data, rule, outcome? Not just access grants. Denials, escalations, and partial redactions must all be in the trace.
  • Does the system handle multi-agent chains? An agent that calls another agent must pass lineage and ACLs downstream. The chain is only as controlled as its weakest link.
  • Is there a human escalation path for designated operations? Fully automated agent stacks with no escalation mechanism are a governance gap — not an efficiency gain.
  • Is the system self-hosted or does it require data to leave your perimeter? For financial institutions, data residency is not optional. The control layer must run on your infrastructure.
07

Where Tachikoma Fits

Tachikoma is not a replacement for your existing security stack. It does not replace your IAM, your DLP, or your network controls.

It is a provenance and access-control layer that sits on top of your existing infrastructure — handling the problems that existing tools were not built for: agent identity at the OS level via dedicated Unix accounts, lineage tracking through synthesis, and recipient-resolved output control.

Every agent gets a Unix account. Every read, synthesis, and output goes through a contract. Derived outputs inherit the ACLs of their sources. The rule applies at response time, per recipient. Every decision is logged: identity, data, rule, outcome.

Secrets are borrowed, not read. The agent authenticates without seeing the credential.

The Judge screen handles escalation for policy-designated operations. Wire transfer above threshold: human review required. The agent waits.

Tachikoma is open-core and self-hosted. Enterprise features are available via demo at tachikoma.sh.

FAQ

Frequently Asked Questions

What is the most commonly missed layer in AI agent security?

The output layer. Most frameworks control what agents can read — few control what agents reveal to specific recipients. An agent cleared to read restricted data can still produce outputs that land with under-cleared users if there is no recipient-resolved output control.

What is recipient-resolved output control?

The same agent output produces different results depending on who receives it. A recipient with full clearance gets the complete output. A recipient without clearance for a specific source gets a redacted version or a denial. The rule applies at response time — not at generation time.

Why does lineage matter for AI agent outputs?

A synthesized output inherits the access restrictions of every source that contributed to it. Without lineage tracking, there is no way to know which restrictions apply to a given output. The system cannot redact what it cannot trace.

How should agents be identified in a financial institution's security architecture?

Each agent should run as a dedicated, non-shared account — not a shared API key or generic service account. Individual identity is the prerequisite for meaningful audit. Without it, a trace points to a credential, not an agent action.

What is the role of human escalation in an agentic architecture?

Some operations should not be resolved automatically regardless of the agent's clearance. Policy-designated escalation routes those operations to a human reviewer before the agent proceeds. This is a designed control — not a fallback.

How does Tachikoma complement existing security controls?

Tachikoma adds the provenance and output-control layer that IAM, DLP, and network tools were not designed for. It does not replace those controls. It handles agent identity at the OS level, lineage inheritance through synthesis, and recipient-resolved output enforcement — the gaps that emerge specifically from autonomous agent architectures.

Is Tachikoma suitable for self-hosted deployments in regulated environments?

Yes. Tachikoma is self-hosted, running on top of your existing infrastructure. Data does not leave your perimeter. For financial institutions where data residency is a hard requirement, this is the baseline expectation.

← All articles