Description-Behavior Mismatch
Medium
- Confidence
- 95% confidence
- Finding
- Whitelisting `cat /etc/passwd` explicitly authorizes access to a sensitive system file that is unrelated to narrowly scoped safety filtering for dangerous exec/write/edit actions. Even if `/etc/passwd` is often world-readable, granting it as an approved command normalizes credential/user-enumeration behavior and can be abused by an agent to gather system intelligence for follow-on attacks.
