The get_secret()
function is marked as #[view]
but handles sensitive data retrieval. View functions are typically used for read-only operations that don't require transaction signing.
Potential security implications for sensitive data access
Inconsistent access pattern compared to set_secret()
May not provide proper transaction authentication
Consider changing to entry function for better security:
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.