Intent-Code Divergence
High
- Confidence
- 99% confidence
- Finding
- The status branch runs `cat $(load_state)`, but `load_state` returns JSON content rather than a pathname. Because command substitution output is subject to shell word splitting and filename interpretation, a crafted or corrupted `/tmp/clash-switch-state.json` can cause unintended file reads, errors, or unpredictable behavior; using `/tmp` also increases exposure to local tampering in multi-user environments.
