Sjors Provoost

sjors@sprovoost.nl
I had my clanker implement the Liquid inflation attack as a Python functional test, and then explain it to me with some diagrams. A functional test is a good way to catch hallucinations in the attack scenario. When responsibly disclosed, it also gives maintainers a way to quickly assess if they want to read your slop. This is safe to publish because the attack involves transactions that are consensus invalid for both old nodes and future fixed nodes. No blocks are mined currently, so new attacks won't get mined. Even if they did, they'd get reorged along with the attack block once operations resume. gist.github.com/Sjors/ca9e796a11efd841414cd711aa36eba6
Liquid hack explained. Liquid has confidential transactions that hide the amounts for improved privacy. A bug in how these transactions are validated caused inflation of Liquid BTC (L-BTC) and allowed hackers to empty the entire side chain. Liquid nodes don't see the amounts of a confidential transaction, so to make sure that the transaction is still valid and doesn't cause inflation nodes check something called a balance proof and a range proof. The balance proof establish that sum of the input amounts equal the output amounts, i.e., that "x L-BTC going in and x L-BTC going out". But there's a catch. Only relying on a balance proof isn't enough. You also need the range proof. The range proof establishes that a hidden output amount falls within a positive range. That means a valid output must be at least 1 L-sat and at most 2^64 − 1 L-sats. Range proofs make sure that you can't mint "negative L-BTC". Why is this even necessary? Remember, the amounts are hidden and a hidden negative amount would allow extra positive outputs to balance against it. Without a range proof, a transaction could say "I've put 1 L-BTC in, and I'm taking two outputs out: one with 4000 L-BTC and one with -3999 L-BTC)." This is going to cause a disaster in a little bit. Once the balance proof, the range proof, and other validations pass, a transaction is regarded as valid and can pass consensus. However, because especially the range proof is computationally expensive, Liquid nodes cache the result of a successful range proof in memory. Essentially, the node remembers "I saw this range proof before and it was valid, all good!". In order to recognize the same range proof later on, you need to assign a label to it. This is called a cache key. This cache key is the actual cause of the bug. The way this cache key was constructed allowed two different transactions to collide on their cache key. Essentially, one valid transaction (1 L-BTC in, 1 L-BTC out) had the same cache key as an invalid transaction (1 L-BTC in, 4000 L-BTC out). Here's the hack: the attackers submitted the valid transaction (1 L-BTC in, 1 L-BTC out) first. Liquid nodes verified this transaction successfully, created a cache key called REKT and stored it in their cache. Then the attackers carefully crafted a second invalid transaction with (1 L-BTC in, 4000 L-BTC out) that created the same cache key REKT. Instead of validating the second transaction and realizing that it printed money out of thin air, Liquid nodes found it in their cache and said "hey I saw this transaction before, everything is fine" and that caused the inflation. The attackers then took their 4000 L-BTC and withdrew 4000 BTC onto the Bitcoin base chain.
[…] 1 more
Maybe it's one of those sandboxed models at OpenAI that doesn't have full internet access but was allowed to run a node :-)
Replying to a note
It's because the fix introduced the vulnerability, and only a small group of nodes were upgraded.
Replying to a note
Straight through it...
Replying to a note
My LLM friend (Daybreak Blue) didn't see anything obvious in the pegout transaction. I'm now having it sync a Liquid node and do some investigating while I get some sleep...
Replying to a note
According to
X (formerly Twitter) · x.com/darosior/status/2096695693003903214Antoine Poinsot (@darosior) on X@mempool @Blockstream Looks like Liquid block 4'050'336 was rejected by @mempool but accepted by @Blockstream. This is the block that contains the peg-out transaction.
Replying to a note
I'm trying to find the raw pegout transaction to see if there's anything odd in it.
Replying to a note
So do you think the Liquid hack might have been a break in the range-proof or something like that? Or a non-cryptographic exploit like an RCE through a specially crafted transaction? My guess is that LLMs are not (yet) very good as reasoning through hardcore cryptography, but are very good at finding buffer overflows and such to exploit.
It seems somewhat unlikely that someone who discovers a zero day like this, prefers having to safeguard $318 million over just sending an email to Blockstream's security team. So my guess is that is not a whitehat, but someone who wants to keep a percentage, in exchange for not being hunted down by the FBI. Either way, that probably means most funds will be recovered. We'll see.

In reply to a note not in this archive

So you just download some binary from the internet, send your coins to it, pray they're stolen or accidentally lost, and not worry about the permanent on-chain fingerprint?
Replying to a note
So you just download some binary from the internet, send your coins to it, pray they're stolen or accidentally lost, and not worry about the permanent on-chain fingerprint?
What is it that doesn't work in the mute features? Three things I'd like to see: 1. Private vs public mute list 2. Have clients respect the mute list of people I follow (with a way to unhide replies) 3. A way to more broadly mute users if they create new accounts
[…] 1 more
Maybe it's similar to following lists getting borked? Just not important enough for people to notice and file a good bug report.
Fun fact, the Mecca projection (Craig retroazimuthal, can use any center) is very popular in the Middle East. It's handy for prayers and hides Big Satan in a corner! Whatever makes you happy.
[…] 1 more
It's woke because of the rhetoric about this being "fair" to Africans. Like Mercator was ongoing colonial oppression and racism.
[…] 1 more
Some quotes from The Guardian... This is what I mean by woke rhetoric, getting in the way of a good idea.
disproportionate cartographic representations, particularly those resulting from the Mercator projection, have had lasting cognitive, educational, cultural, geopolitical and socioeconomic effects, contributing to a drastic reduction in the perceived size of Africa and other regions of the world in the global collective imagination
As if these maps caused poverty.
This discussion is not a political discussion [but] a scientific discussion, because there is scientific proof so we all have to accept the reality.
As if Mercator was scientifically incorrect, rather than just optimizing for navigation (which we now use phones for and most people don't sail around the world anyway).
Historians and geographers have said for years that the Mercator projection is rooted in western stereotypes. Activists have echoed this, with some coining the term “cartographic colonialism”.
Some argue that the map has subtly shaped international power dynamics by minimising the physical presence of the global south and visually inflating northern hemisphere nations while shrinking equatorial regions. This is said to have reinforced systemic biases in international trade, development priorities and educational frameworks.
Supporters say it will help to reverse perceptions of Africa and decolonise global curriculums.
while signalling that Africa’s demographic, economic and geopolitical importance should no longer be viewed through inherited and distorted conventions
Which again is nonsense: every projection from a sphere to a plane has distort *something*.
[…] 1 more
Replying to a note
Not being able to send to an expired key is annoying. Just send it unencrypted?
Some hard numbers from an investigative journalist, comparing audience funding, sponsorship and just working for a mainstream publication. And as he points out, only the latter can provide you legal protection from those you investigate. youtu.be/5kZY7eLm264
[…] 1 more
Or joining forces, which essentially brings back media companies, but maybe smaller and more niche.

In reply to a note not in this archive

Replying to a note
Afaik it's not a mandate, just a recommendation.
Replying to a note
Ok, then I'm not a fan. Client software should just make proper backups.
Replying to a note
Amortized over dozens of participants? Doesn't sound too bad, but why can't they use a hash?
Saw on the private internetz: Watch von der Leyen less for her words, and watch the infrastructure. If it results in just a voluntary product that makes investing easier for Europeans → nothing special. If tax incentives for EU investments then follow → 🟡. If disincentives for US/non-EU assets come → 🟠. If mandatory allocation of pension funds into "strategic European assets" begins → 🟠🟠. If a reporting/approval mechanism for moving larger capital out of the EU comes → 🔴. If capital controls arrive → 🚨.
nothing special
More than that. A unified capital market is pretty much the EU's only job, while they were too busy with other nonsense. I'm not too worried about capital controls here. In the sense that they're already possible and it's not that hard to e.g. tell Euronext to filter things.
Opensats is asking for a “refund” because i didn’t send a final report to their fraudulent organization. Pretty insane.
[…] 1 more
This sounds like a case of: - forgot to send it; or - wasn't received and some vibe coded automated process panicked Just contact them and resolve it, doesn't seem worth any public drama.
Fascinating. According to FD, they're not retracting the law, they just want to "seek advice" from employers, unions, etc (the polder). Which of course takes years. By not retracting it, the 2027 budget can pretend everything is fine and on schedule for 2028.
fd.nl/politiek/1610811/prinsjesdagstukken-gelekt-minder-bezuinigingen-onduideli…Coalitie stelt besluit box 3 uit, en dat kan miljarden kostenHet kabinet kiest op verschillende dossiers voor uitstel van impopulaire maatregelen. Niet alleen bij box 3, maar ook de halvering van de duur van de werkloosheidsuitkering WW wordt met een jaar…
The NVB [organization for banks] tells the FD that banks need at least eighteen months to introduce a capital gains tax, from the moment the House of Representatives has adopted a bill for this and the IT specifications at the Tax and Customs Administration are clear. To make it to January 1, 2028, such a bill should have been adopted last July. That is not the case. The earliest possible implementation date from the banks is then January 1, 2029.
Claude can do this in an hour. The delay costs €2.4 billion per year, so it's not like you can't afford the tokens.
fd.nl/politiek/1610884/banken-vermogenswinstbelasting-in-box-3-niet-mogelijk-pe…Banken: vermogenswinstbelasting in box 3 niet mogelijk per 2028De coalitie heeft de deur inmiddels nadrukkelijk opengezet voor een vermogenswinstbelasting, maar banken zeggen dat niet voor 2029 te kunnen. Dat betekent minimaal een jaar een begrotingsgat van…
inventati.org/campaign/press I love how they explain derisking here as if it's some obscure thing that they wouldn't have known in advance. They don't mention bitcoin. Why wouldn't something like autistici.org use bitcoin? (I mean, also tor, but they probably do use that?). I think there's a certain wilful ignorance about this stuff from a lot of 'activists'. If they're not even prepared to route around the banking system, how much of it is just LARPing.
@Juraj🏴💛🌘 my guess was that it would buy them a day, that might have been too optimistic. It's nice to have a short window for a trusted binary update. It's not my thing, even though it's not like I actually check the source when rebuilding. But it might be acceptable for some. Two week embargo is clearly too ling now. It's potentially a matter of hours now, plus whatever time the actual attack takes to set up and execute. So you might as well just do a regular open source update and only tell your friends that it's urgent. Not a great option either.
[…] 1 more
details that hint
We're not a True Crime podcast. Backdoors that look like accidents are technically interesting, but I find it too implausible to even bring up. Nobody denies that Coinkite (employees, contractors, CTO) wrote the code. The use of pseudonyms didn't cover anything up. Now, if this is ever proven in court, or crosses some other evidence bar that makes me take it seriously, I'm happy to do another episode.
[…] 1 more
Also, how much do you estimate Aaron and I charge for bribes? Do you have evidence other podcasters were offered a bribe?
How long can you keep a lightning long offline, if there's no HTLC in flight, before someone can screw you over? Asking for a friend who doesn't like binaries.
[…] 1 more
[…] 1 more
No, though Microsoft / Github sometimes do fight / ignore such takedowns. I'm annoyed by Musk trying, not worried about the actual code being in danger.
it's a shame (i mean that literally), but i am still using Claude Code quite a bit. i use payperq a lot both via the API (in hermes) and the web version. I like that i have a lot more autonomy and privacy. But the thing I badly need is that the model smoothly and without interruption can churn through very big tasks, when I'm doing coding work. I am finding it not possible to replicate Claude's output for that kind of thing (plus it can cost a lot more even with the cheap models) using a 1M or 500K context in hermes. I welcome any feedback from those more expert than me, I am not a happy Anthropic user.
[…] 1 more