Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 790 Bytes

PoC-Report-Template.md

File metadata and controls

43 lines (26 loc) · 790 Bytes

Title of this finding

Overview

Brief description of the finding.

Impact

Detailed description of the impact of this finding.

Proof of Concept

Vulnerability Details

Provide direct links to all referenced code in GitHub. Add screenshots, logs, or any other relevant proof that illustrates the concept.

Here is a coded PoC to demonstrate the issue:

    function testMax() public {
        uint256 max = a.max(5, 10);
        console.log("Max is =", max);
    }

Logs result:

Max is : 10

Test Setup:

  • Incorporate the tests in Contract name
  • Execute: forge test --mc contract-name --mt test-name -vvv

Tools Used

Manual review

Recommended Mitigation Steps

Your suggested fix for the finding.