T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:64- Finding
Unrestricted Retrieval of Private Agent Session History
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent multi-agent handoff protocol, but it asks agents to access private session history and system configuration too broadly.
Review this skill carefully before installing in any environment where agents can access private histories, broad configuration files, or real messaging channels. It would be safer if context were passed through task-scoped summaries, identity lookup used a narrow API or sanitized mapping, and outbound routing fields were validated against trusted task metadata.
SKILL.md:64Unrestricted Retrieval of Private Agent Session History
SKILL.md:54System-Wide Configuration Read for Identity Resolution
SKILL.md:44Unvalidated Routing Envelope Controls Outbound Cross-Channel Messages
The protocol explicitly authorizes retrieval of upstream agents' thought process or private chat history when context is insufficient, which exceeds normal handoff needs and can expose sensitive internal reasoning, secrets, or private user data. In a multi-agent environment, this creates an unnecessary lateral data access path that could leak information across tasks, users, or trust boundaries.
Directing agents to retrieve upstream private history via natural-language instructions creates a practical data-leakage channel, because agents may disclose or act on sensitive content that was never intended for the downstream recipient. The surrounding skill context makes this more dangerous because it is a collaboration protocol for multi-agent handoffs, so the instruction is likely to be repeatedly exercised across many interactions and channels.
The skill presents a least-privilege tool list but later instructs agents to use sessions_history, creating a mismatch between documented permissions and actual behavior. This can lead operators to grant additional access ad hoc or deploy the skill with unclear security expectations, increasing the chance of over-privileged access to prior conversations.