Skip to content

serial-coder/solidity-security-by-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solidity Security By Example

Smart contract security is one of the biggest impediments to the mass adoption of the blockchain. For this reason, we are proud to present this series of examples regarding Solidity smart contract security to educate and improve the knowledge in this domain to the public.

Disclaimer

The smart contracts in this repository are used to demonstrate vulnerability issues only. Some contracts are vulnerable, some are simplified for minimal, some contain malicious code. Hence, do not use the source code in this repository in your production.

Nonetheless, feel free to contact Valix Consulting for your smart contract consulting and auditing services.🕵

Vulnerability Issues

No. Vulnerability Issue Article Links
01 Integer Underflow - On Medium
- On serial-coder.com
02 Reentrancy - On Medium
- On serial-coder.com
03 Reentrancy via Modifier - On Medium
- On serial-coder.com
04 Cross-Function Reentrancy - On Medium
- On serial-coder.com
05 Cross-Contract Reentrancy - On Medium
- On serial-coder.com
06 Integer Overflow - On Medium
- On serial-coder.com
07 Phishing With Improper Authorization - On Medium
- On serial-coder.com
08 Unexpected Ether With Forcibly Sending Ether - On Medium
- On serial-coder.com
09 Denial of Service With Revert - On Medium
- On serial-coder.com
10 Denial of Service With Gas Limit - On Medium
- On serial-coder.com
11 Denial of Service With Induction Variable Overflow - On Medium
- On serial-coder.com
12 Amplification Attack (Double Spending #1) - On Medium
- On serial-coder.com
13 Double Spending #2 - On Medium
- On serial-coder.com

Copyright

© 2022 - 2023 serial-coder: Phuwanai Thummavet (mr.thummavet@gmail.com). All rights reserved.

License

SPDX-License-Identifier: BSL-1.0 (Boost Software License 1.0)