Cork Protocol (@Corkprotocol) header
Cork Protocol (@Corkprotocol) profile picture

The rails for risk Price, hedge and transfer any observable onchain risk Backed by @RoadCapMgmt and @a16zcrypto CSX

Ethereum
Joined March 2024
Photo by Cork Protocol (@Corkprotocol)Photo by Cork Protocol (@Corkprotocol)Photo by Cork Protocol (@Corkprotocol)Photo by Cork Protocol (@Corkprotocol)Photo by Cork Protocol (@Corkprotocol)Photo by Cork Protocol (@Corkprotocol)Photo by Cork Protocol (@Corkprotocol)Photo by Cork Protocol (@Corkprotocol)Photo by Cork Protocol (@Corkprotocol)Photo by Cork Protocol (@Corkprotocol)
Cork Protocol retweeted
Four significant model releases in a week, and the interesting part is how differently they trade off. Fable 5.1 is still the best coder. I run it on low, which now feels comparable to the previous version at max. Astra is stronger at reasoning and planning and weaker at code, so it gets everything that is not code. Cheaper than Fable and about as fast. Gemini Flash is around 100x cheaper and roughly on par with Opus 5, and it is the first Google model I would actually reach for. Muse is in the same class on speed and price. Knowing which model to point at which job has become its own skill.
1
9
397
Cork Protocol retweeted
Liquidation Heist: Breaking down the reUSD oracle manipulation attack Last night an unknown wallet executed an oracle price manipulation attack which exposed highly levered looping trades in the PT-reUSD-10DEC2026/USDC Morpho market to be liquidated, resulting in $35,188,279 of liquidations and a net profit of $920,781 for the attacker. In this post I break down exactly what happened and what we can learn from it. The Morpho Market Setup In the last months, loopers have been flocking to a new form of yield arbitrage between reinsurance capital from Re (.xyz) and onchain borrow rates. The market which was attacked was the PT-reUSD-10DEC2026/USDC, which at it’s recent peak had $70m of borrows. The primary use case for this market was to loop reUSD Pendle PTs, which were consistently earning about 10-11% fixed yield against the 8.8% average borrow rate in this market. At a Liquidation Loan-To-Value (LLTV) of 91.5%, loopers could lever up to 10.5 times and as a result achieve an annual yield of 34.6%. Since reUSD is a senior tranche reinsurance token, that is immediately redeemable onchain against a cash buffer the size of 50% of its supply (source: re docs) - the risk of holding reUSD is in theory fairly low from both a strategy and duration point of view, making it a suitable candidate for looping trades. As a result, this Morpho market attracted tons of borrowers and lenders (including vaults from Wintermute, Steakhouse, RockawayX, Clearstar, Keyrock - none of which lost any funds in this event). The crucial kink in the armor of this trade from a loopers point of view, was the oracle configuration. It is configured as: PT/USDC price = min(Pendle 15-minute PT-to-USDC TWAP, 6% linear-discount curve). So it is the lower of either of the two rates: A linear discount model or a 15min time weighted average price (TWAP) of the PT denominated in USDC. Steakhouse eloquently expressed the case for this design (which I agree with) as “generally good practice for Pendle oracles to mitigate the possibility of bad debt in the event of an impairment in the underlying asset. “ In practice, what this means is that if there is an impairment of the underlying reUSD, the oracle will pick this up. The alternative which many markets deploy is to hardcode the price with a time-decay curve which can result in bad debt if the underlying is impaired as we have seen multiple times in the past. Fundamentally, the design is a risk transfer from borrowers to lenders. The position becomes safer for lenders to underwrite, but exposes borrowers at extreme levels of leverage to liquidation in the event of even a small impairment of reUSD or the PT. The attack On Aug-25-2026 04:28:47 AM UTC a wallet (0x854e3f3b521dbae34cb111ebef0dce41d8b5690d) freshly funded with 1m$ from Gate, mints 1m$ worth of reUSD, converts it to Pendle SY reUSD and proceeds to use the funds to aggressively purchase YT-reUSD-10DEC2026, which has the consequence of roughly doubling the YT price from 0.029 to 0.0575, consequently dropping the PT side to to 0.9425 at the bottom (the Pendle chart below doesn’t show the true bottom). Because borrower LTV ratios are calculated based on the value of the PTs as collateral, and these dropped in value by ~3%, this was sufficient to cause a cascade of liquidations. Liquidators earn a 2.616% incentive to perform liquidations in this event, which resulted in $920,781 in collected oracle bonuses. The main liquidator contract (0x51a453d677396F62fbb1dff9925a205fa96fAB5e) was funded by the same Gate wallet at the same time as the oracle manipulator address, so we can safely assume this was the same actor. Borrowers lost a total of $1,203,803 from the oracle bonus and liquidation at an unfavorable market rate. Because of relatively high rate of effective leverage, the equity losses amounted to approximately 30-40% for the affected borrowers (see img below). The legality of this market operation is dubious at best. Given the funds came from a CEX at a relatively large size, it should be possible to trace the manipulation back to a specific entity. The legal precedence here is unclear, but this smells like crime. Oracle design The fundamental question this event raises is one of oracle design. Is it wise, to configure markets with 15 min TWAPs on thin liquidity, and support 70m$ of borrow capacity? I would argue the design is better than hardcoding oracles as many PT looping markets do, which has blown up for lenders more than once. A major challenge for borrowers is understanding the risks present in oracle design - which I believe as an ecosystem we need to do a better job at communicating. It is a wide and unstandardized design space, that is highly technical, which has huge implications on the risk for both borrowers and lenders. The devil, is truly in the detail. In this case, the oracle meant a risk transfer from lenders to borrowers. At the same time, borrowers are able to capture 34.6% yields at 10x leverage, so you might rightfully say “no wonder this comes at some risk!” - If you are levered to your tits and earning 30%+ yield, then you simply cannot cry in the casino. I do think there is a fair critique to the oracle set-up in terms of it’s configuration compared to it’s design objectives. If the goal is to guard against impairment of reUSD - the oracle configuration should perhaps have some check against underlying impairment, before printing a lower value. This could balance both the needs of borrowers and lenders, without enabling this type of heist. Relying on Pendle secondary prices at a 15m TWAP, can be relatively easily manipulated, even with $30m+ of liquidity, as we saw today. At the same time, we cannot truly say the current design had a “bug”, in a sense the bug for the borrower is a feature for the lender. Every blow-up is a chance to make the system itself more resilient, having spent a fair bit of time underwriting vault risk I think it is clear we have come quite far over the past year in terms of risk management and oracle configurations, but there is more work to be done. Onwards. Give @robdogeth to stay up to date on crypto and vault risk.
8
8
1
50
5,553
Cork Protocol retweeted
For a while everyone had effectively unlimited token budgets and the game was token-maxing That’s flipping to token efficiency, which coincidentally will probably require as much time as we were previously spending on our prompt “bag of tricks” The previous mass instinct of just picking the strongest model and using it for everything will continue to prove wildly inefficient for how expensive it gets Contextual selection of different models for different tasks will grow more and more important
1
7
403
The way risk has been bought and sold hasn’t meaningfully changed in decades. But thats all about to change!
OpEd: 🗣️ The AI agent economy is already here, and it's only going to get even bigger. But Cork co-founder Phil Fogel argues that agentic finance is still missing one critical layer: risk infrastructure. Read on to find out why. 👇 coinmarketcap.com/academy/ar…
2
1
10
688
"Imagine pump and dump schemes happening at machine scale where the machines coordinate and you have no visible controls." @SamirTabar and @Philfog on what happens when agentic finance goes wrong, and why it's going to make Madoff look small.
7
7
40
3,361
Cork Protocol retweeted
Duration risk doesn't magically disappear when things are brought onchain. Like watching a world cup stadium emptying through a single door.
1
12
356
Risk customization, not risk mitigation. Take one @Morpho vault token. Three different users walk in wanting three different things out of their position: NAV protection, on-demand liquidity, range coverage. None of these products exist for them today, and no single “risk mitigation” product would fit their specific needs. We’re building the layer for scalable risk mitigation at Cork.
3
1
15
927
prompt engineering was 2024 context engineering is 2026
1
3
310
Cork Protocol retweeted
Over the last couple of weeks, I replaced our project management layer at Cork with an agent. The setup is straightforward. A repo holds read credentials for Granola, Slack, Notion, Drive and the Github commits. A scheduled Cronjob fires every 4 hours, pulls the diff since the last run (new transcripts, messages, commits), and runs it through a classifier that maps each artifact to an owner and an active workstream. Output writes to a public dashboard: who’s working on what, what was shipped, status of each feature in development and progress towards quarterly goals etc. No more moving tickets on a kanban; that whole workflow is now automated. The main constraint we built that makes this work: the agent only ingests what’s readable in the shared workspace. A decision made in a DM is invisible. So the team has moved almost everything into public surfaces. Commit frequently to remote, threads in channels instead of DMs. Working in private now has a direct cost (it doesn’t get counted), and working in public now has a direct and measurable benefit. The system still has some limitations and kinks, information that is untracked leaves minor gaps and crunching large volumes of data automatically can at times cause miss-annotations, but it’s directionally where the future of task tracking will go, enabling us to focus on the real work instead of boring reporting tasks.
1
1
11
993
the past few weeks alone: @a16zcrypto $34B in onchain RWAs @HaunVentures $1B crypto x AI agents fund @PanteraCapital AI+blockchain thesis letter tokenized stocks at $3.4B/mo led by @OndoFinance the bear market is doing more work than the last bull
2
16
648
.@_TalkingTokens asked me: "If you could tokenize anything, what would it be?" Entire balance sheets is the answer. Banks and companies use their balance sheets for most of their actions. If you're able to tokenize an entire balance sheet, you could do everything else onchain.
5
3
28
2,029
Agents can create risk. Agents can amplify risk. They cannot manage or transfer risk. That is the gap Cork is building for. Phil Fogel (@philfog), Co-Founder, @CorkProtocol, on programmable risk primitives and what capital formation in agentic finance actually requires:
1
1
14
569
Cork Protocol retweeted
Bear markets are when these kinds of lists gets built My top 2: insurance for vault deposits and onchain reputation for borrowers/lenders One thing missing from this list: risk primitives for agents
Things I want to see built in crypto next ↓ 1. Insurance for vault deposits 2. Credit scores for neobanks 3. Onchain reputation for borrowers/lenders 4. Better tax reporting tools 5. Stablecoin escrows 6. A decentralized Moody’s for protocols 7. Private perps, prediction markets, and DEXs 8. Prediction markets for yields and gas fees 9. Secondary markets for unvested tokens 10. Private reusable KYC Who's building these?
1
7
580
Keynoting at @AgenticSummit, hosted by @Microsoft in NYC tomorrow at 4PM ET Agents are already managing risk onchain but their only tool is exit, and when that's everyone's only tool it turns into a stampede Cork is building the toolkit they don't have yet
1
2
11
454
Cork Protocol retweeted
Agglayer's Vault Bridge creates yield on bridged assets instead of letting them sit idle. Cork Protocol's external liquidity buffer backs withdrawal capacity so capital stays deployed. Two stress events, with every withdrawal served. See the case study:
10
18
1
148
11,128
Excited to talk about how Cork fits into our agentic future!
Cork is a programmable risk layer for onchain assets including vault tokens, yield-bearing stablecoins, and LSTs. @Philfog, Co-Founder at @Corkprotocol, will take the stage at Agentic Finance Summit. June 3 · New York · agenticfinance.xyz
2
1
17
1,040
Cork Protocol retweeted
Phil Fogel says almost everything onchain is an unpriced credit product and KelpDAO proved it: "Almost everything onchain is actually a credit product. A stablecoin is a credit product. An LRT, an LST, IOUs with credit risk, infrastructure risk." "We're stacking all these risks on top of each other and the risk is interconnected. There's no way to isolate individual portions, price them, hedge them, or even set a market signal on what they should cost." "KelpDAO, bridge risk, liquidity risk in Aave that nobody priced, depeg risk on the LRT, oracle risk. All at once. None of it was isolated. None of it was priced. The only question anyone was asking was what's my rate. Cork is building the primitive that changes that."
7
5
30
3,758
Cork Protocol retweeted
1/ 🧵 $292M of rsETH — was drained from @KelpDAO's @LayerZero_Core bridge in a single forged message. 48 hours later, $13B of DeFi TVL had walked out the door whilst it remains unclear where the losses actually will land. Let's unpack the ecosystem impact.
8
6
2
25
6,463