Missing Event Emission on Ownership Transfer Reduces Administrative Traceability
Description:
The Stratax::transferOwnership function updates the owner state variable but does not emit an event to signal this critical administrative change:
Ownership changes are highly sensitive operations that should always be observable by off-chain systems. Without an event, it becomes difficult for indexers, monitoring tools, and auditors to track when control of the contract has changed.
Impact:
Low. No direct security risk, but:
Reduces transparency of privileged operations
Makes ownership changes harder to monitor or audit
Can delay detection of unauthorized or accidental transfers in operational environments
Recommended Mitigation:
Emit an event including both the previous and new owner.
This aligns with common best practices (e.g., OpenZeppelin’s Ownable) and improves observability of privileged state transitions.
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.
The contest is complete and the rewards are being distributed.