TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Smart Contract Security Field Guide

116 pointsby dmuhsalmost 2 years ago

8 comments

duxupalmost 2 years ago
Can someone give me a good use case (even better if you&#x27;re doing it yourself) for a smart contract?<p>What is anyone doing with them that they find really handy?<p>I&#x27;ve never been able to understand how it gets used &#x2F; why you would use smart contracts. I&#x27;ve googled and read... still don&#x27;t grok it.<p>I&#x27;ve seen so many &quot;benefits&quot; listed, but none make sense to me as far as the process you go through and how it works out in the end. Often it&#x27;s described as a magic thing that eliminates the use of &quot;intermediaries&quot; and so on. I suppose that is true but you only get to that by going through all the complexity of from making sure someone writes a good contract &#x2F; getting folks from the outside to review and validate it and so on. I&#x27;m not sure that saved a lot in the end.<p>Much like a most things blockchain I find these ideas (not bad ones) and then the practical usage ... much less than ideal.
评论 #36884374 未加载
评论 #36884235 未加载
评论 #36887405 未加载
评论 #36884313 未加载
评论 #36884591 未加载
评论 #36885272 未加载
评论 #36886614 未加载
评论 #36886056 未加载
评论 #36886914 未加载
评论 #36890868 未加载
评论 #36886865 未加载
评论 #36887769 未加载
评论 #36886969 未加载
评论 #36887696 未加载
评论 #36884125 未加载
sunshine-oalmost 2 years ago
Smart contracts are fundamentally a business technology where money is hosted &amp; manipulated natively on the platform. This is pretty awesome &amp; could be very dirsuptive.<p>The problem is at least in ecosystems such as Ethereum you have a single line of defense, your smart contract code. And that code is written in a poor language with very little security features.<p>Worst if something go wrong you can maybe pause, suicide your contract before your money is gone (what goes again the very principle of the platform) or if you are lucky &amp; worked very hard on this you might have the chance to upgrade your contract.<p>The result is any contract being used seriously need to go through a long &amp; very expensive by one of the few serious company is this field.<p>For now the Ethereum project have been very focused on solving the scalability &amp; decentralization problem but my guess is without big progresses on the smart contract security &amp; developer experience front no serious actor will ever consider adopting the platform.
评论 #36883121 未加载
评论 #36885931 未加载
评论 #36883338 未加载
评论 #36887426 未加载
flooowalmost 2 years ago
Every time I hear about another massive hack on Ethereum, I feel a little bit sad that I didn&#x27;t specialize in software security. For many years there was huge amounts of free cash just sitting on a table waiting to be taken, a victimless crime (VCs and cryptobros are not victims, everyone is playing the same game).<p>I expect the low-hanging fruit has gone now. And setting up spearfishing attacks to scam teenagers out of their NFTs doesn&#x27;t seem as noble (or as profitable).
评论 #36882156 未加载
dguidoalmost 2 years ago
I appreciate how organized the Consensys guide is laid out. It&#x27;s pretty easy to read. Trail of Bits has a similar guide that is a little more in-the-weeds technically. It also covers, what we think is, essential background about certain automated analysis techniques like static analysis and how fuzzers work. Check it out!<p><a href="https:&#x2F;&#x2F;secure-contracts.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;secure-contracts.com&#x2F;</a>
评论 #36882399 未加载
wslhalmost 2 years ago
Beyond the hype, my organization finds that smart contracts are a good area for research in software security methods such as static and dynamic analysis. The reason is that smart contracts are very small compared to general codebases and have a lot of real risks linked to money.<p>For example, here [1] the thesis is that when TVL rises, the probability of being hacked also rises which means that at some point there is not budget that can scale to protect your TVL.<p>[1] <a href="https:&#x2F;&#x2F;bittrap.com&#x2F;resources&#x2F;defis-growing-pains:-as-tvl-raises-so-does-the-probability-of-being-hacked" rel="nofollow noreferrer">https:&#x2F;&#x2F;bittrap.com&#x2F;resources&#x2F;defis-growing-pains:-as-tvl-ra...</a>
simple-thoughtsalmost 2 years ago
Has anyone tried vyper instead of solidity and if so does it help mitigate any of these security issues? I haven’t tried it because audited libraries are critical to smart contract development and I don’t know if any decent ones outside of solidity.
SkyMarshalalmost 2 years ago
Good resource, probably half of which is only necessary due to shoddy Solidity and EVM design.
VoodooJuJualmost 2 years ago
Who is still buying into this crap and why?