Context-Inappropriate Capability
Medium
- Confidence
- 97% confidence
- Finding
- The code does more than read the documented XHS_COOKIE environment variable: it scans several local shell-script locations and extracts an exported cookie value from them. That expands the trust boundary and can silently harvest authentication material from unrelated local files, creating unauthorized credential reuse and possible cross-skill secret exposure on shared hosts.
