Smart Contract Vulnerability Lab Developed a by Amna NasirSmart Contract Vulnerability Lab Developed a by Amna Nasir

Smart Contract Vulnerability Lab Developed a

Amna Nasir

Amna Nasir

Smart Contract Vulnerability Lab
Developed a hands-on smart contract security lab to demonstrate real-world vulnerabilities in Ethereum-based applications. This project focuses on understanding how common exploits occur, how attackers take advantage of them, and how to prevent such issues in production smart contracts.
The lab includes multiple vulnerability scenarios, each with a vulnerable contract, an attacker implementation, and an execution script to simulate real attack conditions.
Key Features
Demonstrates real-world smart contract vulnerabilities
Includes attacker contracts to simulate exploits
Provides executable scripts for testing attacks
Structured for learning and practical understanding
Vulnerabilities Covered
Reentrancy Attack
Access Control Vulnerability
tx.origin Authentication Flaw
Integer Overflow / Underflow
Tech Stack
Solidity
Hardhat
Ethers.js
JavaScript
Key Learnings
Smart contract vulnerabilities are often caused by logical flaws
Execution order and external calls can introduce critical risks
Proper access control is essential for contract security
Secure design patterns like Checks-Effects-Interactions are crucial
Like this project

Posted Apr 19, 2026

Smart Contract Vulnerability Lab Developed a hands-on smart contract security lab to demonstrate real-world vulnerabilities in Ethereum-based applications. T...