Description-Behavior Mismatch
Medium
- Confidence
- 95% confidence
- Finding
- The verify endpoint allows tasks in the 'posted' state to be verified, and it also sets worker_id from the verification request before releasing escrow. This bypasses the explicit acceptance workflow, enabling an arbitrary caller to self-assign a worker identity and complete or fail a task without prior claim/authorization. In an escrow platform tied to real-world actuation and payments, that state-machine flaw can directly affect funds and reputation.
