Money Printer go BrrRrrRRRrRrrrr
A user could use the vault address as the Vault always have funds and use his address as the recipient
The transfer from "Vault" to "Vault" is possible as the Vault will always have enough funds.
The exploiter could then set his address as the l2Recipient
and keep minting free token
POC
High as the amount available on the L2 won't be balanced with the amount on the Vault , allowing the attacker to drain the Vault back on L1
Manual
use msg.sender
instead of from
in depositTokensToL2 method
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.