StrataxOracle allows the current owner to transfer ownership by calling transferOwnership, which immediately sets the new owner. Only the owner can call setPriceFeed and setPriceFeeds to manage Chainlink price feeds.
The transfer happens in a single step with no confirmation from the receiving address. If an incorrect address is provided, ownership is irreversibly transferred and there is no way to recover it.
Likelihood:
The owner makes a typo or copies the wrong address when calling transferOwnership.
The owner transfers to a contract address that has no capability to call owner-restricted functions.
Impact:
setPriceFeed and setPriceFeeds become permanently uncallable, making price feed management impossible.
The oracle cannot be updated or extended, which over time leads to stale or missing price data for new tokens in Stratax.sol.
Owner calls transferOwnership(wrongAddress).
owner is immediately set to wrongAddress.
The deployer tries to call transferOwnership again — reverts with "Not owner".
No one can call setPriceFeed or setPriceFeeds anymore.
Protocol cannot add or update Chainlink price feeds.
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.