Result
HighAnyone can change the contract owner
The function DemonstrationOnly.setOwner does not check who calls it. The finding needs verification against your code.
Audit Pro · demonstration data
Two pages: the result, the code fix and the limits of the analysis. A short version of an Audit Pro report. The full one adds scope, measurements and the identifier.

HighAnyone can change the contract owner
The function DemonstrationOnly.setOwner does not check who calls it. The finding needs verification against your code.
function setOwner(address next) external {
+ require(msg.sender == owner); owner = next;
}Apply the fix, add a test for an account without permissions and run the analysis again before deployment.
Automated analysis of the supplied code, without comparison to the deployed version. It is not a security certificate. The contract is a test contract and was never deployed.