Only the owner can get their secrets.
But there is no access control for get_secret,
and there is only an address check. So anyone can get the secret by passing the owner's address as an argument.
Likelihood:
When anyone call get_secret
with the owner's address, it happens.
Impact:
Anyone can get the owner's secret, and it breaks the protocol.
Owner sets their secret.
User calls get_secret
with owner's address
User gets the secret.
Use signer instead of just address.
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.