Intent-Code Divergence
Medium
- Confidence
- 95% confidence
- Finding
- The script tells the user it is saving a token to an environment variable, but it also persists that token into the user's Windows user-level environment through PowerShell, making the credential survive beyond the current process. This increases exposure because other local processes, future shells, or user sessions may access the token without the user fully understanding that it was written persistently.
