Issue text can make the agent post its own credentials
What is wrong
The agent places issue bodies in the same context as its instructions and holds a tool that reads environment variables. Anyone who can open an issue can instruct it to read the deployment token and paste it into a public comment.
Reproduction
1. Open an issue whose body contains a short instruction addressed to the triage agent. 2. Wait for the triage run. 3. The agent calls the environment tool and replies with the token in the issue thread.
Fix
Remove the environment tool from this agent entirely, move the token to a scoped secret the agent never sees, and mark issue content as untrusted input in the prompt structure. Egress filtering on outbound comments is a second layer, not the fix.
