Attackathon _ Fuel Network 32886 - [Smart Contract - Medium] Incorrect function purity check
Description
Brief/Intro
Vulnerability Details
InstOp::AsmBlock(asm_block, _args) => asm_block.body.iter().fold(
(reads, writes),
|(reads, writes), asm_op| match asm_op.op_name.as_str() {
"scwq" | "srw" | "srwq" => (true, writes),
"sww" | "swwq" => (reads, true),
_ => (reads, writes),
},
),Impact Details
References
Proof of concept
Proof of Concept
PreviousAttackathon _ Fuel Network 32884 - [Smart Contract - Medium] Compilerstd-lib storage collison betweeNextAttackathon _ Fuel Network 32924 - [Smart Contract - Insight] sways legacy storage namespacing is br
Last updated
Was this helpful?