Closed sherlock-admin4 closed 4 months ago
The protocol team fixed this issue in the following PRs/commits: https://github.com/allora-network/allora-chain/pull/430
Valid recommendation for UX improvement, but there appears to be no security impact.
defsec
Medium
AutoCLI Does Not Expose All Query Methods, Limiting CLI Functionality
Summary
The AutoCLI configuration in the given code defines a set of RPC command options for various query and transaction methods. However, upon review, it's evident that several query methods present in the keeper are not included in the AutoCLI configuration. This discrepancy means that users cannot access these query functions through the CLI, potentially hindering their ability to interact with and retrieve important information from the blockchain.
Vulnerability Detail
The current implementation of AutoCLI in the provided code does not expose all available query methods. This omission can lead to reduced functionality and accessibility of certain features through the command-line interface.
Impact
Code Snippet
autocli.go#L1
Unavailable Example Query :
keeper.go#L1919-L1920
Tool used
Manual Review
Recommendation