Pinned Tweet
Martín. Stablecoin and payment infra on EVM and Solana. I also break DeFi protocols in audits.
18 open-source protocols shipped. 23 findings with working PoCs on a private audit. 4 in contests this year, 3 High.
Site: martincasais.com
Labs: labs.martincasais.com
1
9
1,530
In January a lot of people are going to call their bank about a purchase they never made. Their AI agent made it.
This Black Friday is the first real test of agents that buy for you. Visa, Mastercard and Stripe all have agent checkout live.
None of them has an undo button.
Picture it. You tell your agent to find headphones under 300 bucks. It finds two deals and buys both. Or the wrong model. Or whatever store tuned its listings for agents.
Who pays?
The platform's terms say you do. You gave the agent permission.
But nobody reads terms. You call your bank, say you didn't buy it, and the merchant eats the chargeback.
The rules that would settle this don't exist yet. EMVCo's standard for proving an agent stayed within what you allowed came out as a draft in September. Two months before the biggest shopping day of the year.
And returns were already a mess before agents. Over 55% of January refund claims come from holiday orders, according to Riskified.
Only 15% of Americans have ever let an AI finish a purchase. That's the whole test group. Wait until it's half.
Today you'll see a lot of posts about record AI traffic.
The real numbers come out in January.
1
1
41
Tether can delete your money.
Not freeze it. Delete it. Balance set to zero, tokens burned, gone.
The function is literally called destroyBlackFunds. Last year Tether used it on $698 million.
In total it has frozen $5.69 billion in USDT across 9,597 addresses.
If you land on that list, you're probably staying. Only 3.6% of the addresses blacklisted in 2025 ever got off.
The worst part: a frozen wallet can still receive. Your clients keep paying you, and the money piles up where you can't touch it.
"Fine, I'll use USDC."
In March, Circle froze 16 business wallets in one go, over a civil case. One of them was a bridge contract. Thousands of people with nothing to do with the case couldn't withdraw.
Yes, most of the frozen money belongs to scammers and sanctioned wallets. Good.
But stop calling it cash. It's a bank account where the blacklist sits on a block explorer and the delete button is in the contract.
That's also why it won. Banks and regulators didn't adopt stablecoins in spite of the freeze function. They adopted them because of it.
Crypto promised money nobody could stop. The version that went mainstream is the one a single company can.
1
2
63
Only 11% of Americans would let an AI pick their toothpaste.
The forecast for AI agent shopping is $1.5 trillion by 2030.
Both numbers came out this year. One of them is wrong.
Gartner asked people if they'd let an AI decide a purchase for them. Only the cheap stuff, toothpaste and paper towels. 11% was the best it got.
Checkout. com asked the merchants. 89% say they're getting ready for agent shoppers. Agents are 3% of their transactions.
And the people who did try shopping with AI? 62% told Gartner it wasted their time.
Meanwhile Visa, Mastercard, Stripe, OpenAI and Google all shipped agent checkout this year.
Everyone built the checkout. Nobody asked the customer.
$8 billion this year to $1.5 trillion in four. That's 187x, from people who won't delegate toothpaste.
Amazon fixed "buying is too much work" 25 years ago with one click. Choosing is the part people like.
Watch how many agents show up this Black Friday.
3
1
70
Citi just rewrote its terms. If your AI agent gets hacked and someone drains your account, Citi says you authorized it.
It's a new section in the user agreement, added this month.
Give a third-party agent access to your account and everything it does counts as you. It ignores your instructions, that's you. It leaks your login and a stranger moves the money, also you.
JPMorgan and Bank of America made similar moves in October. PNC and Citizens followed last week.
Five banks in two months.
Now compare that to a card. Someone steals your card number, the bank eats the fraud. That deal is 50 years old and it's the reason people trust cards.
Agents get the opposite deal.
And this is the same month OpenAI and Google both shipped agents that buy things for you.
The banks call it security. But Citi's terms have one exception: Citi's own agents.
So agents aren't too risky. Other people's agents are.
Everyone wants you to have an agent. Nobody wants to insure it.
2
57
Amazon went to court to stop an AI agent from shopping on Amazon.
Last Thursday it opened a store for AI agents.
The store is AWS Marketplace. An agent finds a seller, pays per request, and the charge lands on the AWS bill.
The lawsuit is against Perplexity, whose browser was buying things on amazon.com for its users. Agents from Google, Meta and OpenAI are blocked there too.
Amazon says it's a security thing. I think it's an ads thing.
On AWS there are no ads. The agent buys, Amazon bills, everyone's happy.
On amazon.com the agent goes straight to the cheapest shampoo and skips every sponsored result on the way. Sponsored results are a $17B a quarter business.
An agent is the first customer you can't advertise to.
Every platform is going to do the same. Open to agents where it charges per use, closed where it sells attention.
Agents are welcome anywhere there are no ads to skip.
Amazon just shipped x402 without the crypto.
Since Thursday an agent on AWS pays x402 sellers per request in plain dollars, and it shows up on the AWS bill. No wallet, no USDC, not even an API key.
From day one the pitch was that agents need stablecoins because an agent can't open a bank account.
Turns out it doesn't need one. It needs a company with an AWS account, and every company already has that.
Ask any CFO what they'd rather sign off on: one more line on the AWS invoice, or a hot wallet full of USDC on Base that an LLM can spend from.
So the open standard won, and the buyer never touches a chain.
Crypto wrote the spec and Amazon sends the invoice.
Wrote a follow up to this. Turns out Amazon is fine with agents buying on AWS and still fighting one in court for buying on its own site
teapaw.org/casaisdev/status/21249…
Amazon went to court to stop an AI agent from shopping on Amazon.
Last Thursday it opened a store for AI agents.
The store is AWS Marketplace. An agent finds a seller, pays per request, and the charge lands on the AWS bill.
The lawsuit is against Perplexity, whose browser was buying things on amazon.com for its users. Agents from Google, Meta and OpenAI are blocked there too.
Amazon says it's a security thing. I think it's an ads thing.
On AWS there are no ads. The agent buys, Amazon bills, everyone's happy.
On amazon.com the agent goes straight to the cheapest shampoo and skips every sponsored result on the way. Sponsored results are a $17B a quarter business.
An agent is the first customer you can't advertise to.
Every platform is going to do the same. Open to agents where it charges per use, closed where it sells attention.
Agents are welcome anywhere there are no ads to skip.
156
Mastercard paid $1.8 billion for the company that settles its AI agent payments.
The entire AI agent payments market does $1.59 million a month.
That's 94 years of volume to match the price of one acquisition.
It gets worse. At the peak last year that number was $29 million. It's down 94.5%.
TRM Labs went through the x402 data, took out everything that wasn't commerce, and found almost nothing left.
The peak was mostly bots. What's left is tiny.
And the money keeps coming anyway. Visa just put 50+ companies into its agent payments program. OpenAI launched a wallet.
That wallet runs on cards, by the way.
Either Mastercard knows something the data doesn't show, or this is the most expensive bet ever made on a market that isn't there yet.
1
1
106
Someone sent an AI agent a message in Morse code.
The agent sent them $175,000.
Nothing onchain was broken. It read the message and did what it said.
For scale: every x402 payment on Base and Solana over 35 days this summer, all 6.4 million of them, adds up to $119,947.
One message in dots and dashes moved more than that.
Most of it was recovered. Then a second agent got talked out of another $106,200.
And the fix everyone is shipping is a spending limit. A limit says how much. It never says who.
The whole industry is wiring money into software that obeys whoever wrote the last message it read.
2
1
103
The entire AI agent economy moved $73M in a year.
Visa does that in three minutes.
That's the trillion dollar market half of crypto is raising money on right now.
And I still think the bears have it wrong, because of a number nobody quotes: 176 million transactions.
Do the division. 41 cents a payment.
Stripe takes 30 cents before it even touches its percentage. Cards can't do a 41 cent payment. They never could, which is why the internet ended up running on ads and subscriptions.
So it's a tiny market that the biggest payment companies on earth can't serve.
I know which side of that I'd bet on.
1
1
86
The biggest hack in crypto history had zero bugs in the code.
Bybit, Feb 2025. $1.5B gone. The Safe contracts did exactly what they were written to do. Three people approved what their screen said was a routine transfer.
WazirX, $230M. Radiant, $50M. Same story both times: audited contracts, and signers who couldn't see what they were actually signing.
In the first half of 2025, smart contract bugs were about 8% of everything stolen.
And teams still pay six figures for an audit, then approve a nine figure transfer by squinting at a hex string on a hardware wallet screen.
The contract is the best defended part of the whole stack. Attackers figured that out years ago. Security budgets still haven't.
2
1
80
AI agents booked 4 Uber rides during Halloween week
Not a typo. Uber did 320 million trips and orders that week, and the CFO said the number out loud on the earnings call
Nine days later OpenAI, Visa, Mastercard and Amex launched a wallet so your agent can shop for you
Four giants built a checkout for a customer who took 4 Ubers
Dara gave the reason himself. Ordering a ride takes 50 seconds. There's nothing for an agent to save you
Meanwhile, with nobody watching, x402 passed 400 million payments. Average size around 25 cents
Nobody's agent is buying them dinner. Agents are buying API calls, data and compute, thousands of times a day, in amounts where a card fee eats the whole payment
That's the agent economy. It already exists and it looks nothing like the demo
Humans don't need help spending 50 seconds
Machines need a way to spend 25 cents
91
Goldman, Citi, Santander and Deutsche just put $270M into a stablecoin
$14B left stablecoins in the last 30 days
Same month
That's the fastest drop since 2022. $21B gone since May. And the banks keep coming, 37 more in Europe are building a euro one
They all bought the same pitch: stablecoins are the future of payments
But payment money doesn't leave when traders get scared. Visa doesn't shrink in a bear market. Nobody stops paying rent because their portfolio is red
That $14B left because it was never paying for anything. It was sitting between trades
Stablecoin people hate hearing this. $290B later, the product is still mostly a casino chip
The banks think they bought a payment rail
They bought chips, right when the players are cashing out
1
65
ChatGPT can now pay for your flight
United can now cancel it because ChatGPT booked it
Both happened this week
OpenAI shipped a wallet with Visa, Mastercard and Amex on Friday. Two days earlier United rewrote its contract so it can cancel any reservation an AI agent made or changed. It hasn't authorized a single agent so far
For two years the whole debate was how agents will pay. Cards or stablecoins. Visa or x402
Nobody asked if the store wants them
This is the part crypto people won't like. A permissionless rail does nothing when the seller is the one giving permission. United doesn't care if your agent pays in USDC, it just won't sell to it
Read the word they chose: unauthorized. So there will be authorized ones. Agents that signed a deal and pay for the shelf space, like travel agencies and booking sites did
The open agent economy, any bot buying from any store, was a nice idea
What we're getting is a guest list
2
2
117
OpenAI launched agent payments yesterday and didn't use crypto for any of it
ChatGPT Wallet runs on Visa, Mastercard and Amex. No stablecoin, no chain, no token
For two years crypto said AI agents would need crypto rails because an agent can't open a bank account. Turns out it doesn't need one. It uses your card and you approve with Face ID
And cards came with refunds. If your agent buys junk, you dispute it and get your money back. Onchain that money is gone
The only thing left for stablecoins is what cards can't do. One agent paying another 2 cents, a thousand times a day, with no human approving. That market is real but tiny right now
We owned the agent payments narrative for two years and the biggest launch went to Visa
5
3
156
Wall Street picked Ethereum and ETH is under $2,000.
Stablecoins passed $300B. Tokenized treasuries went 7x. Most of it lives there.
The token is worth less than half its price five years ago.
Turns out you can use the chain all day and never hold the coin.
2
48
x402 moved $274,000 in October
Visa, Mastercard, Google, Microsoft, Stripe and AWS are all backing a payment network that does less business than one McDonald's
5.1 million transactions, around five cents each. And yes that's the whole month, I read it as a daily figure the first time too
It used to be bigger. One week last November did $10M, more than 35 times what all of October did. That was people minting tokens through it. Then the speculation left
So when someone tells you x402 has processed 196 million transactions, ask for the dollars. They never lead with the dollars
Agents aren't buying anything. They ping APIs for fractions of a cent, and a good part of that is the companies selling the rails testing their own rails
Right now the agent economy is a governance board, three competing standards and a lot of conference panels
The cars haven't shown up
1
97
If a recruiter sent you a coding test tonight, you would run it.
That is how Binance lost $6.34 billion.
And the engineer who did it is the last person I would blame.
September. A recruiter writes to a Binance engineer on a normal job platform. Two interviews follow, one with HR and one with the CEO. The company did not exist.
Then the take-home. He ran it on his work laptop. Zero day malware, antivirus saw nothing.
October 29, the biggest theft crypto has ever seen.
Half the industry is laughing at this guy. How could he be so stupid.
He was not stupid. He was a good candidate.
He replied to the recruiter. He showed up twice. He did the assignment without complaining. Every hiring manager on LinkedIn would have loved him.
We built this. For ten years companies told engineers that the way to prove you are worth hiring is to download a stranger's code and run it. Say no and you look difficult. North Korea read the same career advice you did.
It gets worse. Nobody fakes a whole company for a junior. They do it for people with production access. The more senior you get, the more of these interviews you will see.
Binance says it stopped 57 suspected North Korea linked attacks this year. The one that got through looked like a job offer.
So here is the part people will not like.
Take-home tests are a security hole now. Every company still sending them is training engineers to get hacked. Its own engineers included.
Millions spent on audits, and the way in was an engineer who wanted a better job.
A repo lands in your inbox tomorrow. The role pays double.
Do you run it?
2
2
123
The next Binance hack won't need a fake job interview. It'll need one line of text and an agent that pays over x402
Binance lost $6.3B because an engineer ran a take-home repo on his work laptop. Getting one human to do that took two interviews, a fake CEO and weeks of patience
An agent does it on the first try. It reads the repo, finds a line saying pay this endpoint before continuing, and pays. There's nobody to flatter
And Binance's own report says the attackers used the company's internal AI tool to reach two more employees. The AI was already the easy part of that hack
People get suspicious. That's the only reason social engineering is hard, and it's the one thing we're removing
Crypto's answer so far is spending limits. Great, so the agent gets robbed $50 at a time, ten thousand times
Giving agents wallets before solving prompt injection is the dumbest thing this industry is doing right now, and I say that as someone who wants agent payments to win
4
2
101
Nobody wants to say this but most senior engineers are paid for memory, not skill.
You know where the bodies are buried in the codebase. You know why that service has a retry loop nobody dares to remove. That knowledge took you 3 years to collect and it's the real reason you can't be replaced in 2 weeks.
Well. I pointed a model at a 200k line repo I'd never seen and it explained the retry loop to me in 4 minutes, with the commit that added it and the incident that caused it.
That was the moat. The whole thing.
The skill part still matters, but skill is portable and memory wasn't. Once memory is portable too, there's no reason to keep paying someone 12 months a year for a 6 week problem.
Contract work never happened in software because onboarding ate the contract. That excuse just died.
If your value to your company is that you remember things, you have maybe 18 months.
29

