Register and share your invite link to earn from video plays and referrals.

banteg
@banteg
the bunny talisman of yearn
3.5K Following    227K Followers
we are officially at a point when a thought of "why is there no x?" is just one sol ultra prompt away from a polished version of x.
updated fable eval scores
0
97
9.1K
451
Forward to community
introducing vyupgrade it automatically rewrites old vyper contracts into modern vyper, then proves the rewrite is safe by checking it compiles under both source and target versions, diffing the abi, method ids and storage layout. it supports all syntax changes from 0.2.1 to 0.4.3, as well as picking up dependencies and modules like snekmate. some rewrites are not inherently safe and need your judgement. the tool flags those and shows you exactly what to look at. $ uvx vyupgrade contracts/
Show more
situation: all three ef protocol leads have left
so many landmines and footguns when deploying complex crypto protocols; easy to say "they shouldve known better"
if you use tss-lib, it's probably worth checking the upstream
@alinush honestly agree, this tss protocol looks too complex and too brittle. there is a difference between the proof and the implementation. the protocol assumes well-formed key material, reliable broadcast, replay protection, and clean abort handling. all of these layers were violated.
Show more
@alinush honestly agree, this tss protocol looks too complex and too brittle. there is a difference between the proof and the implementation. the protocol assumes well-formed key material, reliable broadcast, replay protection, and clean abort handling. all of these layers were violated.
Show more
You’re right. It’s not a casino and it loses people’s money. 2019-2020: Multiple treasury grabs by insiders (both known and unknown, both DPRK and not DPRK) June 2021: $200k Asset name parsing July 2021: $5m Bifrost Override handler July 2021: $8m Fake deposit exploit July 2021: $2m literally again the same shit bc you can’t fix your fucking shit July 2021: mid 6 figs in phishing thefts on top of it lmaooooooo 2023: tsshock but too lazy to patch 2024: $100m-$200m Thorfi Rugpull 2025: $3m JP key compromises (btw some of his prod keys still aren’t rotated you motherfucking retards) 2026: $11m TSS/unknown Personally, if I must lose my money, I prefer to lose it to a casino. A casino is also more honest about its core properties and ambitions.
Show more
i hope my post is wrong because otherwise we are at the cryptography breaking stage, which is terrifying.
The biggest thing Im struggling with rn is not the theoretical attack flows. It’s literally the sheer number of variables and tracking what people are supposed to have vs absolutely cannot have. Keygen reveals X^y Round 1 reveals y mod q On and on and on Ultimately you’re trying to solve for 1 parameter in a long equation. But also it could be any number of parameters bc, again, so many different parameters and combinations of parameters and being shared and you can solve equations in many many ways. Some shit happens during keygen, some during signing, and even more during aborts/blames (when signing fails at some point in the 7 fucking rounds) And on top of it, since you’re a malicious attacker, you can craft your own parameters. You can even change them over time. Which will then result in different outputs being returned. Which leaks information. All of which would allow the equation to be solved. And thus you, the attacker, being able to derive the underlying ECDSA key that shouldn’t exist. One example:
Show more
For some unknown reason I was under the impression that the TSS stack of vulns were in the same sorta class as other cryptography vulns. It’s honestly a completely different beast and I’m struggling to understand how anyone figured this would ever be secure enough lol?
Show more
thorchain gg20/tss attack path i reproduced the suspected gg20 leakage mechanics against the tss-lib version they used. it accepts malformed paillier material, exposes a type 5 / type 7 oracle shape, and the go-tss wrapper misses some important checks.
Show more
after a couple of days of studying thorchain exploit, im just letting codex and gpt pro talk to each other at their higher iq plane.