The hilarious thing is nearly all of these high profile hacks happen even after being audited.
There was one company I remember being called out as a suspect, but I can't find the name.
Also given (a) anonymity (b) ability to take cover amid so many other hacks, you could do this for a few years, slow down, and remain a top tier firm claiming the lowest hack rate.
An argument that open source is less secure, and on Hacker News! Now I've seen it all.
Military cryptographic systems, IBM mainframes, and many other products use this approach as a layer in their security framework and it is actually pretty successful.
If I asked you to break into the a PFSense box you could just Google "PFSense version X.X.X CVEs" and you would probably get a way in if the box was enough out of date, but if you tried to find the same thing for something like the General Dynamics TACLANE you would have a hard time even finding where to start.
With crypto all it takes is one piece of malicious software, or to fall for a single phishing email, and you've lost everything.
[0] https://www.zdnet.com/article/bitcoin-wallet-trick-has-nette...
More than that, there's a minority perspective in DeFi that the code is the law. If the code allows it (e.g., withdrawals under an unintended circumstance), it's therefore legal. If it were illegal, the code wouldn't allow it.
Think again. In the wild wild west that is cryptocurrency the first thing people assume is an inside job.
People with a lot of money and a cut-throat ethic will send death threats to your front door merely for small bugs you accidentally commited to github or for a governance dispute on a forum where you posted pseudonymously.
If you dare steal money as an insider you had better make sure you know how to use it to quickly get high-end personal security for you, your family, and friends. This of course simultaneously outs you as guilty.
Any hack occurs and you are immediately woken up in the middle of the night to be interrogated by people you've never seen before let alone heard of, stomping through your apartment. Your life becomes a movie.
Angry vicious actors with few scruples and long memories will loudly and expensively hunt for you for the rest of your life so you can make them whole. LEOs aren't even your biggest concern at that point.
Being an insider or former insider after a large hack sucks whether or not you're guilty.
And the bug wasn't really obvious, although the lack of input sanitation is something an auditor (given enough time) would probably point out.
Uniswap: https://uniswap.org/audit.html
Sushi Swap: https://github.com/peckshield/publications/blob/master/audit...
Alpaca Finance (high complexity in my opinion): https://docs.alpacafinance.org/transparency
A lot of projects provide their source and you can verify that what you're interacting with matches the source.
Regardless, this quote from your link stands out: “it should never be expected that 100% of the deployed code has been formally audited.”
The audits of this protocol is also continuous.
Also, they specifically state that not everything is audited? Nowhere do they mention continuous audits.
Humans might be motivated to sit on a bug until they can reach the cybercafe. Bots, not so much.
I think proper DeFi company should have their own system on deploying contracts. Further, they should have their own security team that audit everything.
Someone starts a blockchain company and hires a bunch of devs who make, idk, $40 to $100 per hour to build the thing. Maybe more, it doesn't really matter. Even just one dev or a few devs can make all the contracts needed for this.
One day that dev notices a vulnerability in the smart contract he's writing! He has two choices: (a) patch the vulnerability, which will get him a pat on the back, or (b) convince himself he didn't notice anything, quit his job, wait a month, go to a coffee shop with a hoodie on, boot into whonix, connect to the internet with a 4g dongle, run a few lines of code, and get $600 million dollars.
Most people would choose (a)! And law enforcement is a thing! But a lot of people will choose (b), and if they do a merely decent job they will get away with it, and 600 million dollars is stolen®.
Actually, it's worse than that, because unlike normal banks, the code used by these digital banks is open source, and anyone in the world can go bug hunting.