Intent-Code Divergence
Medium
- Confidence
- 93% confidence
- Finding
- The skill declares GH_TOKEN as the primary environment secret, but later instructs the sub-agent to override it by reading a token from an unrelated local config file. This expands the skill's access to secrets beyond its stated contract and can cause the agent to use the wrong credential source, increasing the chance of unauthorized secret access and cross-skill credential misuse.
