Rock Paper Scissors

First Flight #38
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: high
Invalid

Arbitrary Token Approvals

Summary: Contract can be tricked into approving malicious tokens.

Details: The contract blindly approves token transfers without validating token addresses, allowing attackers to trick it into approving malicious tokens.

Impact: Could lead to theft of legitimate tokens through malicious approval exploits.

Recommendation: Whitelist allowed token contracts:

Updates

Appeal created

m3dython Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Broken Token Game Creation

createGameWithToken and joinGameWithToken functions will revert because they attempt transferFrom without requiring the user to first approve

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.