Closed tarunbhm closed 1 year ago
Detect if a function annotated with the #[l1_handler] annotation is not checking the from_address to validate the correct L1 caller address. Without this check, anyone can send an L1-L2 message to trigger the function.
#[l1_handler]
from_address
Detect if a function annotated with the
#[l1_handler]
annotation is not checking thefrom_address
to validate the correct L1 caller address. Without this check, anyone can send an L1-L2 message to trigger the function.