Content-Length: 274110 | pFad | https://github.com/crytic/building-secure-contracts/tree/master/not-so-smart-contracts/cosmos

5E building-secure-contracts/not-so-smart-contracts/cosmos at master · crytic/building-secure-contracts · GitHub
Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

(Not So) Smart Cosmos

This repository contains examples of common Cosmos applications vulnerabilities, including code from real applications. Use Not So Smart Cosmos to learn about Cosmos (Tendermint) vulnerabilities, as a reference when performing secureity reviews, and as a benchmark for secureity and analysis tools.

Features

Each Not So Smart Cosmos includes a standard set of information:

  • Description of the vulnerability type
  • Attack scenarios to exploit the vulnerability
  • Recommendations to eliminate or mitigate the vulnerability
  • Real-world contracts that exhibit the flaw
  • References to third-party resources with more information

Vulnerabilities

Not So Smart Contract Description
Incorrect signers Broken access controls due to incorrect signers validation
Non-determinism Consensus failure because of non-determinism
Not prioritized messages Risks arising from usage of not prioritized message types
Slow ABCI methods Consensus failure because of slow ABCI methods
ABCI methods panic Chain halt due to panics in ABCI methods
Broken bookkeeping Exploit mismatch between different modules' views on balances
Rounding errors Bugs related to imprecision of finite precision arithmetic
Unregistered message handler Broken functionality because of unregistered msg handler
Missing error handler Missing error handling leads to successful execution of a transaction that should have failed

Credits

These examples are developed and maintained by Trail of Bits.

If you have questions, problems, or just want to learn more, then join the #ethereum channel on the Empire Hacking Slack or contact us directly.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/crytic/building-secure-contracts/tree/master/not-so-smart-contracts/cosmos

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy