L1Vault is shared between all users of L1BossBridge
Since there is a single instance of L1Vault within L1BossBridge that is shared by all users, it could be saturated very fast rendering the L1BossBridges depositTokensToL2 tokens unavailable.
POC:
In the L1TokenBridge.t.sol add a random user in the test' state:
Add following test:
Run the test -> it passes.
one user or a small group of users could saturate the L1Vault with L1Tokens up to the DEPOSIT_LIMIT amount thus rendering the L1BossBridge unavailable for other users.
Manual code review and automated test
Provide separate L1Vaults per user.
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.