@andrey_stejko Sir, version 1.1.2 of "ledgerhq/connect-kit-loader" was affected. The "ledgerhq/connect-kit-loader" package hotloaded the latest version of "ledgerhq/connect-kit" (the infected package). But yeah, latest version of wagmi is good.
@0xz80 Makes sense, but also think in the context that Solidity/Vyper is used, it's good for the lang itself to stay as consistent as possible - years of hacks can lead to safer code. New lang, new problems. Some level of mastery required before prod deployment. Tough if lang changes.
@luigyGT@yaron_velner@PhABCD@sherlockdefi Be that as it may, having just one audit firm review code for a significant change to core logic for a contract with 200m+ TVL is not by any means a best practice. I'm not saying the code wasn't audited. No pitchfork. Just saying they didn't exactly follow best practices IMO.
@real_philogy For sure, again, I'm not in any way trying to make a case against bounties. I believe in leveraging as many security devices/approaches as possible.
@real_philogy What I'm saying is that some (ofc not all) auditors seeing a protocol which hasn't been hacked in e.g. 1 year +, with a $100m bounty, might not have much confidence that they could crack it. Extreme example just trying to illustrate the point better.
@real_philogy I don't think it's a silver bullet. Might be overrated in theory but IMO it's underrated in practice since I see so few codebases leveraging it. As an example, @SiloFinance uncovered critical flaws which were missed by audits when they did FV. Holistic approach best imo.
@real_philogy Main thing I'm trying to say is that no matter how large a bounty is, some auditors will inevitably end up not diving fully into a review (no guarantee of a payout). I think there is also some inverse relationship at play where this effect is amplified as bounty size increases.
@real_philogy Formal verification also seems to be quite underrated when it comes to complex systems with hundreds of millions in TVL. Audits, formal verification & bounties should be standard for high TVL projects in my opinion. Complimentary to one another.
@real_philogy Bounties are great but I also think too many people think of them as a replacement for audits. An open bounty on a complex system which already has 100m+ TVL may not be/seem worth the effort, since someone jumping into it might not find any bugs - no payment for time invested.
@PhABCD I get that there were bug bounties open and there was an audit done by Sherlock but that's nowhere near what their home page showed in terms of all the robust audits done. There's a big difference between an open bounty versus paying a person/firm to commit to a full audit.
@PhABCD I'm not trying to be rude or dunk on anyone but why are so many people saying that they followed best practices from a security perspective? They made an upgrade which touched core logic and didn't even get it audited properly while they had hundreds of millions in TVL?
@scupytrooples I wonder how many audits actually included the code used for the exploit?
Looks like the relevant function was added in July 2022: https://t.co/fJ5xeuv9am
And the only audit which happened since then doesn't seem to include the code used in the hack: https://t.co/q5Q7bVLFWP