The wrap() function can be called by any external user, allowing anyone to mint new shares.
The critical issue is that the wrap function is defined with the external visibility modifier. This means any user can call the function and mint stETHAmount_,
There is no authentication check or onlyAuthorized modifier to restrict access.
This is a major access control vulnerability since minting new shares should only be done by an authorized party, not any user.
Anyone can mint stETHAmount_.
Manual review
Access control should be implemented.
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.