Skip to content

Latest commit

 

History

History
82 lines (47 loc) · 1.94 KB

File metadata and controls

82 lines (47 loc) · 1.94 KB

Aderyn Analysis Report

This report was generated by Aderyn, a static analysis tool built by Cyfrin, a blockchain security company. This report is not a substitute for manual audit or security review. It should not be relied upon for any purpose other than to assist in the identification of potential security vulnerabilities.

Table of Contents

Summary

Files Summary

Key Value
.sol Files 1
Total nSLOC 52

Files Details

Filepath nSLOC
contracts/SentinelRegistry.sol 52
Total 52

Issue Summary

Category No. of Issues
High 0
Low 2

Low Issues

L-1: Centralization Risk

Contracts have owners with privileged rights to perform admin tasks and need to be trusted to not perform malicious updates or drain funds.

2 Found Instances
  • Found in contracts/SentinelRegistry.sol Line: 46

         function transferOwnership(address newOwner) external onlyOwner {
  • Found in contracts/SentinelRegistry.sol Line: 54

         function recordHealth(bytes32 snapshotHash, string calldata riskLevel) external onlyOwner {

L-2: Address State Variable Set Without Checks

Check for address(0) when assigning values to address state variables.

1 Found Instances
  • Found in contracts/SentinelRegistry.sol Line: 48

             owner = newOwner;