Intent-Code Divergence
Medium
- Confidence
- 95% confidence
- Finding
- The script claims to clean environment contamination but actually overwrites the global HOME variable with a hard-coded user path. Changing HOME affects where many tools read configs, credentials, SSH keys, and state files, so this can redirect subsequent commands to the wrong account context and undermine the claimed safety boundary.
