Your AI Agent Changed a Supplier's Bank Details. Who Approved It? | DreamFactory AAuth

AI agents shouldn't run on shared API keys, least of all against the systems of record banks, hospitals and agencies can't move. With AAuth in DreamFactory, every agent has its own cryptographic identity, a person approves which of your existing roles it gets, and every agent call is logged with the agent and the person behind it. Your auditors get a name, not a key. It runs on your own DreamFactory, inside your network. No changes to your APIs.

In this demo, at a fictional bank:

  • one switch turns AAuth on, and existing roles become scopes;
  • a terminal AI agent asks to read the payments on hold, and its user approves it on a consent screen;
  • changing a supplier's bank details needs its own approval;
  • a teammate can't give their agent a role they don't have;
  • a stolen token, a replayed change and a request edited after it was signed (a swapped account number) are all rejected;
  • the Activity log shows which agent made each call and for whom;
  • an admin blocks an agent with one switch.

People approve with their DreamFactory account, a directory account (LDAP or Active Directory) or single sign-on. With DreamFactory as the person server, people can grant only roles they hold; external person servers are limited to the scopes you allow them.

An approval gives the agent that role for the auth token's lifetime, which you can configure: 10 minutes in this demo, at most an hour. "Always allow" saves a standing grant for routine reads, which an admin can revoke in Grants. A changed request body is rejected whether or not the attacker also recomputes its digest. Activity is kept 30 days by default (configurable, 0 = forever). AAuth controls what an agent may do on a person's behalf; it doesn't replace your supplier-master controls, such as independent call-back verification.

AAuth is an open protocol for agent authorization by Dick Hardt, editor of OAuth 2.0: IETF Internet-Draft draft-hardt-oauth-aauth-protocol-11 (individual submission); the AAuth project says the work is moving to an OpenID Foundation working group.

AAuth is available in DreamFactory: https://www.dreamfactory.com
Documentation: https://docs.dreamfactory.com/security/aauth/overview/

Chapters

0:00 An agent changed bank details on an API key

0:28 AAuth in DreamFactory, inside your network

0:49 The agent asks, a person approves

1:17 Bank details need their own approval

1:36 Attacks, the log, and the off switch

Notes: All data is synthetic (a fictional bank, suppliers and people, .internal hostnames, no real account numbers). The agent's chat text is scripted for the demo; every request, challenge, consent and response shown is real, on a licensed DreamFactory instance. Setup assumes the AAuth package is installed with an https issuer configured and, for agents whose provider runs inside your network, that host allowed (DF_AAUTH_PRIVATE_HOSTS) and your internal CA trusted. The video shows what DreamFactory records and enforces; it is not a statement about any regulation or framework.