It is not possible to limit the maximum of 4 NFTs that can be pledged.
The stake function of the Streets contract fails to retrieve the user's pledged quantity, thereby unable to restrict each user to pledge more than 4 NFTs, allowing users to pledge NFTs without limitations.
Users can bypass restrictions on pledging NFTs.
Manual audit
Add a mapping[address user => uint256 pledged quantity] to record the pledged quantity of each user, and check if the user's pledged quantity is greater than 4 in the stake function.
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.