Tax documents and a calculator on a wooden table
Fraud · Agent Security

When the Request Comes From Inside the Agent

Employees apply scepticism to external requests and very little to internal systems. That asymmetry is why a compromised automation is worth more to an attacker than a compromised inbox.

Key Takeaways
  • Requests arriving through a trusted internal system receive less scrutiny than external ones, which makes a compromised agent an effective delivery channel.
  • The exposure is proportional to what the agent can do, so scope is the primary control rather than detection.
  • Compromise can come from credentials, from configuration changes or from manipulated inputs the agent reads.
  • Blast radius thinking is the right frame: assume compromise and design so that the consequence is bounded.
  • ChatFin keeps agents scoped per workflow with human approval before effect, which caps what any compromise can produce.

Security awareness training has spent a decade teaching people to be sceptical of external requests. It has worked reasonably well, which is precisely why attackers are interested in internal channels.

An instruction that arrives through a system your organisation runs carries an implicit endorsement. It looks like process rather than like a request, and process does not usually get questioned.

That makes an automation with write access a valuable target, and it means the defence has to be about scope rather than about recognising a bad request.

Agent Security
Compromise
Least Privilege
Fraud
Controls
ChatFin
01

Three routes to a compromised agent

It is worth separating them, because they call for different defences and organisations tend to consider only the first.

Credential compromise is the obvious one: the agent's access is obtained and used directly. Configuration compromise is quieter: the agent behaves entirely normally, but its scope, limits or rules have been altered. Input manipulation is the subtlest: nothing about the agent changes at all, and the data it reads has been shaped to produce a particular action.

The second is the most dangerous in a finance context, because everything looks correct. The agent is doing exactly what it was configured to do, and the configuration is what changed.

Which is why configuration change control deserves the same treatment as a change to a bank mandate.

02

Bounding the consequence

Since prevention cannot be complete, the design objective is that a compromise produces a small, visible and reversible outcome rather than a large one.

Four constraints do most of the bounding:

Scope per workflow. An agent that handles supplier invoices should not be able to touch payroll, journals or customer records. One agent per purpose, credentials to match.
Approval before effect. If nothing takes effect without a person, a compromised agent produces a queue of odd items rather than a set of completed transactions.
Value and velocity ceilings. Bounds the size and the rate, which together determine how much can happen before anyone notices.
Configuration change control. Two people to change scope or limits, with an alert to a third. This is the route that otherwise leaves no trace.
03

Two failure profiles

The difference between a bounded and an unbounded design shows up entirely in the aftermath, which is the wrong time to discover which one you have.

Both start with the same compromise.

Bounded

A strange queue

The agent prepares items outside normal pattern. They wait for approval, an approver notices something odd, and the incident is a morning of investigation and a credential rotation.

Unbounded

Completed transactions

The agent posts and pays within its authority. Detection depends on someone reviewing after the fact, the window for recovery has usually closed, and the investigation covers everything it touched since the compromise.

A busy office with two people working through numbers
An instruction from an internal system looks like process, and process does not get questioned.
04

Detecting an agent behaving oddly

Automated activity is highly patterned, which is an advantage for detection. Deviation is easier to spot than in human activity.

Three signals worth monitoring per agent.

SignalWhat normal looks likeWhat deviation suggests
Volume and timingPredictable counts within known windowsA spike or activity outside the usual window is worth a look immediately
Counterparty setA stable population changing slowlyNew counterparties appearing in a workflow that normally sees familiar ones
Value distributionA consistent shape with a known tailItems clustering just below a threshold, which is a deliberate pattern rather than an accident

Alert on deviation from the agent's own baseline rather than on absolute thresholds. The baseline is far more informative.

05

Manipulated inputs need no compromise at all

The third route deserves separate attention because nothing about your systems is breached. An agent reads documents, emails or portal content, and someone who can write into that channel has an input into its behaviour.

The defence is to treat everything an agent reads as untrusted content rather than as instruction, and to keep the authority to act separate from the data being processed. An invoice is information to be validated against your own records. It is not a source of new supplier details, new bank accounts or new payment terms.

That principle, keeping data and instruction separate, prevents a whole category of problem and costs nothing to adopt as a rule.

Documents are data, never instruction. Nothing an agent reads should be able to change what it is allowed to do.
"

A compromised agent is worth more than a compromised inbox, because internal systems get less scepticism than strangers.

ChatFin
06

Designing for a bounded compromise

Four steps, all of which reduce consequence rather than promising prevention.

One agent, one purpose, one credential

Shared identities across workflows turn a small compromise into a large one. This is the cheapest structural improvement available.

Keep approval before effect

It converts almost every compromise scenario from completed transactions into a queue somebody looks at.

Put configuration under change control

Two people to alter scope or limits, with notification to a third. Configuration change is the route that otherwise looks entirely normal.

Baseline each agent and alert on deviation

Volume, timing, counterparties and value shape. Automated behaviour is regular enough that deviation is genuinely informative.

Hands using a calculator beside document folders
Automated behaviour is regular, which makes deviation from baseline unusually informative.
07

How the ChatFin design bounds this

The prepare and approve model is a security property as much as a control one. Because nothing takes effect until a named person approves it, a compromised agent produces items for review rather than completed transactions.

Scope is per workflow. An agent configured for supplier invoice processing has access to the objects that workflow needs and nothing else, through the ERP's own supported interfaces with least privilege credentials, never direct database access.

Content the agent reads is treated as data to be validated against your records rather than as instruction. A document cannot introduce a new supplier, change bank details or alter what the agent is permitted to do.

Every action carries the constraints in force at the time, so a configuration change is visible in the record rather than invisible. That applies across NetSuite, SAP Business One, JD Edwards, Acumatica, Dynamics 365 and Sage Intacct.

Nothing takes effect without approval. Which converts most compromise scenarios into a queue of odd items.
Per workflow scope and credentials. Access limited to the objects a specific workflow requires.
Documents cannot instruct. Content read by an agent is validated against your records and never changes its permissions.
Before you budget for it

AI Cost Estimator for the CFO Office

Four inputs, a first year cost range, a timeline, and three delivery models compared. No login required.

Frequently Asked Questions

Is a compromised agent worse than a compromised user account?

In one specific way, yes. Requests arriving through a trusted internal system attract less scepticism than external ones, so the same instruction is more likely to be acted on. In other respects the mitigations are similar: scope the access, bound the consequence and monitor for deviation.

What is the most overlooked compromise route?

Configuration change. The agent behaves exactly as configured and the configuration is what was altered, so nothing appears anomalous. Change control on scope and limits, with notification, is the defence.

How do we protect against manipulated inputs?

Treat everything the agent reads as data rather than instruction. Documents are validated against your own records and can never introduce a supplier, a bank account or a change to the agent's permissions.

What should we monitor per agent?

Volume, timing, counterparty set and value distribution, measured against that agent's own baseline. Automated activity is regular enough that deviation from baseline is a much better signal than any absolute threshold.

General information only. It is not legal, accounting or tax advice, and rules change. Check your own position with your advisers before acting on it.

Assume compromise, bound the result

Make the consequence small rather than the prevention perfect.

Scope per workflow, approval before effect, ceilings on value and rate, and change control over configuration. Four constraints that turn a compromise into a morning of investigation rather than an incident.

ChatFin is built that way by default, including treating everything an agent reads as data rather than as instruction.

Book a Demo
See the platform
Take it to your own ledger

See how much a compromised agent could actually do.

Bring one workflow and your access model. We will walk through the scope, the approval point, the ceilings and what the evidence record would show if something went wrong.

✓Runs on the ERP you already have, on the version you already run
✓Every posting prepared as a draft that a named person approves
✓Prompt, evidence and prepared payload logged for the audit file
Schedule a Demo
Confidential & private
Photos by Mikhail Nilov, Pavel Danilyuk and RDNE Stock project, free to use under the Pexels License (commercial use, no attribution required). Diagrams and product imagery © ChatFin.