Normal behavior: Each user's vault should be private, accessible only by that user.
Issue: The get_secret
function checks against a hardcoded owner (@owner
) instead of the caller, allowing any user to read the owner's secret.
Likelihood:
Any user can call get_secret
using the owner’s address.
Happens whenever dApps or other contracts retrieve vault secrets.
Impact:
Secrets can be publicly exposed.
Could enable further attacks or information leakage in dependent systems.
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.