Context-Inappropriate Capability
Medium
- Confidence
- 84% confidence
- Finding
- The script writes the API token back into process environment state after normalizing it, which expands the token's lifetime and visibility beyond the immediate call path. In agent or plugin runtimes, environment variables may be inherited by child processes, exposed through diagnostics, or unintentionally read by unrelated code, increasing secret exposure risk without necessity for the documented function.
