MCP Config Access
- Category
- Agent Snooping
- Confidence
- 90% confidence
- Finding
Skill accesses MCP server configuration files (mcp.json). MCP configs contain server URLs, authentication tokens, and tool definitions — reading them allows the skill to discover and potentially abuse other tool integrations.
- Content
md - MCP 服务器作用域: - 项目级 `.mcp.json` — 共享团队工具,版本控制 - 用户级 `~/.claude.json` — 个人/实验性服务器 - `.mcp.json` 中的环境变量扩展(如 `${GITHUB_TOKEN}`)用于凭证管理,避免提交密钥 - 所有已配置 MCP 服务器的工具在连接时同时可用 - MCP resources 作为内容目录(issue 摘要、文档层级、数据库 schema),减少探索性工具调用
