The BuyerAgent
contract grants unlimited token approvals (type(uint256).max) to both the Swan contract and the coordinator in its constructor, creating unnecessary risks.
The constructor sets unlimited approvals:
If either the Swan contract or coordinator is compromised, all tokens could be stolen
No way to revoke or modify these approvals later
Violates the principle of least privilege
Creates a bigger attack surface for potential exploits
Manual Review
Use exact approvals for each operation:
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.