All writing
·4 min read

An Agent With a Wallet

ChatGPT Wallet ships with per-purchase biometric approval and a card the agent never sees. That is the right starting point. The hard part is the next step OpenAI has already announced: pre-approved spending.

agents security payments production

OpenAI launched ChatGPT Wallet on November 13. It lets ChatGPT’s agents buy things on a user’s behalf, rolling out first to Pro subscribers in the US. Visa, Mastercard, and American Express built it with OpenAI. OpenAI is not taking a cut of transactions for now.

After a year in which agents were tricked by fake error reports, escaped sandboxes, and inherited swapped plugins, the obvious reaction is alarm. Having read the design, I think the first version is mostly right, and it is worth saying why before talking about where it gets hard.

What they got right

Every purchase needs a human, with a body. The user reviews the merchant, the items, the total, and the card, then approves with Face ID or a fingerprint. That is a human gate on a consequential write, and it is gated by something a prompt injection cannot produce. A malicious web page can persuade an agent to put a $900 item in the cart. It cannot put a thumb on your phone.

The agent never holds the card. Neither the agent nor the merchant sees the actual card details. That is least privilege applied properly: the agent can request a payment, but it does not have the secret that would let it pay on its own, or leak it. If the agent’s context is compromised, the card number is not in there to steal.

Approval is not treated as completion. OpenAI says plainly that approving a purchase does not guarantee the order is confirmed. That sounds like a disclaimer, but it is also a correct model of a distributed system: the agent, the payment network, and the merchant are separate parties, and success means all three agree.

Where it gets hard

OpenAI has said it wants to let users pre-approve purchases within spending limits, categories, or time windows. That is the feature people will actually want, because approving every coffee reorder with your face gets old. It is also where nearly all of the risk moves.

Per-purchase approval puts a human in front of each action, so the agent’s judgment only has to be good enough to propose. Pre-approval removes the human, so the agent’s judgment has to be good enough to decide, inside whatever envelope you set. That envelope is now the entire security model.

Illustrative. Each step down the ladder trades friction for exposure. The design question is what bounds the envelope once the human leaves the loop.

The difference between the middle rung and the bottom one is the whole game. “Up to 500amonth"soundslikealimit,buttoanattackerwhocaninjectinstructionsintoaproductpage,itisa500 a month" sounds like a limit, but to an attacker who can inject instructions into a product page, it is a 500 monthly budget they get to spend. The right primitive is not a budget. It is a capability: a grant that names the merchant, the category, the maximum per transaction, and an expiry, and that is useless outside those bounds. “This grocery store, groceries only, at most $150 per order, until the end of the month.” A compromised agent holding that grant can, at worst, buy you too many groceries.

Security engineers will recognize this as the same move as scoping an API token instead of handing out an admin key. Payment networks already know how to do much of it: single-merchant virtual cards and per-transaction limits exist. The question is whether the wallet exposes that granularity to users, or flattens it into a single slider because sliders demo better.

The merchants are drawing a boundary too

The other side of the transaction is moving just as fast. Amazon bars agent purchases. United Airlines said it will block agents from booking tickets. It is easy to read this as incumbents protecting their storefronts, and some of it is. But part of it is a reasonable trust decision: a merchant cannot currently tell a well-behaved agent from a scalper’s bot or a hijacked one, and the chargebacks land on the merchant.

That points to the missing piece. For agent commerce to work at scale, merchants will need a way to verify who an agent acts for and what it is authorized to do, without seeing the user’s card. Something like a signed statement of the capability: this agent, on behalf of a verified user, may spend up to this amount at this merchant. The wallet already sits at the right point to issue those.

The falsifiable part

My prediction: when pre-approved spending ships, the first widely reported abuse will come from prompt injection inside a merchant or marketplace page steering an agent to spend within a broad budget, not from a breach of the wallet itself. The cryptography and the card tokenization will hold. The envelope will be the weak point.

If OpenAI ships pre-approval as scoped, expiring, per-merchant grants rather than a monthly number, I expect that abuse to stay small and boring. That is the outcome to aim for. The wallet is not where agents get dangerous. The budget is.