#49527 [SC-Low] Edge case Integer UInt64SetLib.py::remove_item leads to int underflow
Description
Brief/Intro
Vulnerability Details
def remove_item(to_remove: UInt64, items: DynamicArray[ARC4UInt64]) -> Tuple[Bool, DynamicArray[ARC4UInt64]]:
@> last_idx = items.length - 1Impact Details
References
Proof of Concept
Proof of Concept
Previous#49413 [SC-Insight] discrepancy between document and codebaseNext#49553 [SC-Insight] program_sha256`, Reducing Auditability and Monitoring Efficiency
Was this helpful?