Intent-Code Divergence
Medium
- Confidence
- 92% confidence
- Finding
- The file documents `getAllCommands()` as excluding hidden commands by default, but other exported helpers such as `searchCommands()` and `getCommandBySlug()` call `getAllCommands(true)`, which includes hidden entries. This creates an access-control-by-obscurity flaw: supposedly hidden/destructive commands can still be discovered or resolved programmatically, increasing the chance of accidental exposure or invocation by other components.
