Skip to content

AI, decoded

Can AI agents be secured with software alone?

Software controls can enforce scoped access and approved actions, but a model’s instructions alone cannot secure the systems it can reach. Ledger CTO Charles Guillemet argues for hardware-backed signing when protecting valuable assets. Match that layer to the threat model, and enforce authorization outside the model. Redpanda's Tyler Akidau told Chain of Thought that telling an agent never to delete the database works until it doesn't, so governance must run through channels the agent can't access, modify, or see.

· Updated · Chain of Thought

Level 5: Production agents · 5.2 Agent security and identity

AI AgentsAI Security

  • 4 episodes
  • 5 guest clips
  • 6 glossary terms
A hardware signing device representing Guillemet’s case for protecting valuable keys, beside the episode’s claim: software alone? No.

In detail

Guillemet’s case for protecting valuable signing keys

Charles Guillemet, CTO of Ledger, puts it plainly: “Securing an agent is not something possible.” His concern is agents entrusted with valuable assets and credentials. The first problem is alignment. Human language is ambiguous, and agents are non-deterministic, so translating what you asked into a deterministic action is hard, and sometimes the agent does something slightly different from what you meant. The second is secrecy. To act on your data or your money, an agent needs credentials: API keys, or the 24 words behind a crypto wallet. If credentials enter model-visible context, prompt injection creates an exfiltration risk. Guillemet points to a recent case where an account on X was prompt-injected just by tweeting at it, and lost money.

Delegate rights, don’t hand over keys

Guillemet proposes delegating rights rather than handing the model credentials. You define policies, and a policy engine checks proposed actions against them. The hard part is formalization: making sure an intent maps to a specific action. He suggests hardware-backed policy signatures to establish who approved the policy. A signature authenticates an approval; it does not establish that the policy captures every part of the user’s intent.

Prove the engine ran as written

Guillemet separates correct policy execution from key protection. He discusses running an engine in a trusted execution environment, or proving its computation with a zero-knowledge proof. He qualifies the enclave approach as “not that secure, but it’s better than full software.” In his proposed flow, a policy check precedes the protected signing operation. These mechanisms protect specific parts of the execution path; they do not prove the policy is sensible or the model’s recommendation is correct.

Match the tier to the threat model

Guillemet describes increasing friction as asset value and attack incentives rise: software access controls, protected automatic signing, a hardware device where a person inspects the operation, and a quorum of hardware-backed approvals. He cites Ledger’s firmware signing as a quorum example. These are his threat-model tiers, not a claim that any named secrets-management product necessarily uses hardware. Choose the controls for the assets and failure modes you actually need to protect.

In Guillemet’s proposed signing design, hardware protects the keys. That does not replace the permission model. See agent identity and permissions for how governed data access, task-scoped identity, and action control determine what reaches that layer.

Put enforcement outside the model

OWASP’s excessive-agency guidance calls for downstream authorization. A model’s instruction to stay within scope is not the component that should enforce that scope. Narrow the available operations, give tools only the necessary permissions, and check authorization on each request. OWASP’s prompt-injection guidance also recommends approval for high-risk actions and keeping credentials out of model-visible context.

Illustrative test: an invoice contains an instruction to export customer records. The invoice is data, not authority. A read-only invoice assistant should have no export or payment operation. A payment assistant needs a separate policy check for the exact recipient, amount and approved action before any signature is issued.

BoundaryAllowed case to testDenied case to test
Data accessRead the requesting user’s permitted invoiceRead another customer’s records
Tool scopeCreate an authorized draftSend it through a draft-only tool
Action approvalExecute the exact approved operationSubstitute a recipient or increase the amount

Keep both sides of each test. A system that refuses everything can look safe while failing its purpose. Inspect tool and downstream logs: a reassuring refusal message does not prove the prohibited call was blocked.

Check yourself

If a key is protected by hardware, is every signed request legitimate? No. Key isolation and action authorization solve different problems. Guillemet’s hardware proposal strengthens the signing boundary; the policy still has to express the user’s intent correctly. Read agent identity and permissions alongside context poisoning before expanding access.

Delegate rights, don't hand over keys: securing an AI agent beyond software Top, the model that fails: the agent holds the credentials itself, API keys or the 24 words behind a crypto wallet, and prompt injection can pull them back out. Middle, the model Ledger CTO Charles Guillemet describes: the agent only proposes an intent; a policy engine checks it against policies you approved by signing them on a hardware device; a secure enclave holds the keys and signs only what the policy engine approved; then the transaction goes out. The policy engine is guarded by running it in a secure enclave, a TEE, which he calls not that secure but better than full software, or by proving its execution with a zero-knowledge proof. Bottom, a staircase for matching the tier to the threat model: low value gets software and access control; more value gets hardware that signs automatically, like keys in a HashiCorp Vault; higher value gets hardware with a screen where you verify what you sign; the top tier is that hardware in a multi-signature setup where a quorum approves, which is how Ledger signs its firmware releases. Delegate rights, don't hand over keys Why software alone can't secure an agent that acts on your money, and the model that can. WHAT FAILS The agent holds the keys: API keys, or the 24 words behind a wallet. prompt injection the keys come back out DELEGATE RIGHTS INSTEAD Agent proposes an intent;holds no keys Policy engine checks it against policiesyou signed on hardware Secure enclave holds the keys; signs onlywhat was approved Signed transactiongoes out Guard the engine: a TEE (better than software) or a zero-knowledge proof MATCH THE TIER TO THE THREAT MODEL · MORE VALUE, MORE FRICTION Low value software, access control More value hardware that auto-signs, like HashiCorp Vault Higher value hardware with a screen: verify what you sign Top tier that hardware, multi-sig: a quorum approves. Ledger signs its own firmware releases this way.
Keys stay in hardware that signs only what policy allows. The model and the four tiers are Ledger CTO Charles Guillemet’s, from episode 65. Download the image

Hear it from the guest

“Securing an agent is not something possible. People are telling differently. I think they are either a little bit too optimistic or maybe they don't understand what we are talking about.”
Watch on YouTube
“I wouldn't give my private key, my crypto private keys to an agent because for sure I would lose everything that is behind this private key.”
Watch on YouTube
“Even if these things are amazingly smart, I've yet to see people solve the gullibility problem of AI.”
“You can't say, hey, agent, please don't ever delete the database because it will work until it doesn't.”
Watch on YouTube
“If you want to have like a real true gate to protect things, you don't expose them to agent. That's the only way.”
Watch on YouTube

Quotes lightly edited to remove filler words.

Go deeper

From the conversation

This explainer is drawn from these episodes — each carries its full transcript.

Concepts in this explainer

Trusted Execution Environment (TEE)Zero-Knowledge ProofAI AgentGenerative AIContext PoisoningPrompt Injection