Intent-Code Divergence
Medium
- Confidence
- 87% confidence
- Finding
- The script markets itself as a 'Secure Restore Script', but in the token-auth path it writes the GitHub token into the local git credential helper via `git credential approve`. That can persist the credential beyond the script's lifetime depending on the configured helper, increasing the chance of token exposure to other local processes or later users of the environment.
