Description: The buyOrder function incorrectly claims to accept "any token" for payment, but only accepts ETH. The NatSpec comment misrepresents the function's actual implementation.
Impact:
Potential user confusion due to misleading documentation
Security risk if users misunderstand the payment mechanism
Reduced contract transparency
Proof of Concept:
Recommended Mitigation:
Update the NatSpec comment to accurately reflect that only ETH is accepted
Consider adding explicit documentation about the ETH-only payment mechanism
If multi-token payments are desired, implement a more flexible payment system that can handle different token types
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.