Intent-Code Divergence
Medium
- Confidence
- 92% confidence
- Finding
- The script claims strong input validation and command-injection prevention, but multiple state-changing commands such as merge-pr, check-pr, create-pr, issue operations, and collaborator management do not consistently validate owner, repo, numeric IDs, or free-form body/title fields before constructing API endpoints and JSON payloads. While quoting prevents straightforward shell injection, the inconsistent validation increases the risk of malformed requests, unsafe state changes, and abuse of privileged automation in a security-sensitive repository-management tool.
