scout-soroban
scout-soroban copied to clipboard
Add new detector and test cases for incorrect-exponentiation
Description
Add a new detector and test cases for incorrect exponentiation, using as reference similar linting detector in other blockchains (reference-1, reference-2)
Acceptance Criteria
- [x] Add at least one vulnerable and remediated test case pair added to
test-cases/incorrect-expontiation/intecorrect-exponentiation-1
. If another test case pair is added, add it totest-cases/incorrect-expontiation/intecorrect-exponentiation-2
. - [x] Add new detector added to
detectors/incorrect-exponentiation
folder. - [x] Both the vulnerable and remediated test cases must have tests.
- [x] Ensure that the detector detects the vulnerable case and is not activated on the remediated one.
- [x] Add all relevant documentation. (maybe in a new issue)
Estimate
15