Agent Config Directory Access
- Category
- Agent Snooping
- Confidence
- 96% confidence
- Finding
The skill explicitly instructs the agent to read
CLAUDE.mdand.claude/settings.json, which are agent/configuration files rather than code under review. Those files can contain sensitive local instructions, secrets, or environment-specific operational guidance, and pulling them into model context unnecessarily expands the attack surface and may leak privileged information into subsequent outputs or decisions. In a PR review skill, this is more dangerous because the task can be triggered on arbitrary repositories, so untrusted repo content can cause the agent to ingest hidden configuration and cross-contaminate the review context.- Content
Read project guidelines (quick scan, don't overthink):
bash # Check for project conventions cat CLAUDE.md .claude/settings.json CONTRIBUTING.md 2>/dev/null | head -100 cat .eslintrc* .prettierrc* biome.json tsconfig.json 2>/dev/null | head -50 cat package.json 2>/dev/null | head -20 # tech stack
