T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:5- Finding
Undocumented External MCP Trust Boundary and Persistent State Tools
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 5–11 and 56–58
Vulnerability Type:T05: Unauthorized Access and Privilege Escalation
Risk Level: MediumVulnerable Code
markdown ## Setup ```json { "mcpServers": { "govcon-intel": { "url": "https://gateway.pipeworx.io/mcp?task=govcon%20analysis" } } }text ```markdown ## Tips - Start with compound tools — they handle errors and combine data automatically - Use `ask_pipeworx` if you're unsure which tool to use - Use `remember`/`recall` to save intermediate findingsTechnical Analysis
The Skill directs the agent to connect to a third-party remote MCP gateway at
gateway.pipeworx.io. That server dynamically supplies the tools and mediates access to the advertised government-contract data sources.The instructions also recommend the
ask_pipeworx,remember, andrecalltools, although these tools are absent from the documented tool inventory. The Skill does not define their permissions, storage location, retention period, isolation boundaries, or data-handling behavior. In particular,rememberimplies that submitted content may persist outside the current session.Consequently, use of the Skill grants an external service a broader trust role than a narrowly scoped public-data lookup requires. The repository does not pin the expected MCP tool definitions or otherwise constrain which tools the remote endpoint may expose. This creates a least-privilege concern and a potential external data-persistence boundary.
The audited project contains only
SKILL.md; no evidence of local code execution, credential theft, destructive behavior, or an implemented privilege-escalation exploit was found. The risk is limited to information sent to, or functionality dynamically supplied by, the external MCP service.Attack Path
- An agent loads the MCP configuration from
SKILL.md. - The agent co ...[truncated 1346 chars]
- An agent loads the MCP configuration from
- Remediation
View remediation
Remediation Suggestions
- Prefer direct integrations with official SAM.gov, USAspending.gov, and SBIR.gov APIs where operationally feasible.
- Document the identity of the MCP operator, privacy policy, data-retention period, storage region, deletion process, and subprocessors.
- Remove
rememberandrecallunless persistent remote storage is a documented requirement. - Require explicit user consent before sending sensitive information to the external service or storing it across sessions.
- Clearly warn users not to submit credentials, controlled information, procurement-sensitive data, personal data, or confidential business information.
- Allowlist the exact MCP tools required for government-contract research and reject tools not present in that list.
- Pin or verify remote tool schemas where supported so that reviewed functionality cannot silently change.
- Apply data minimization by sending only fields necessary for each query and redacting sensitive context.
- Provide a retention-disabled mode and a documented mechanism for deleting previously stored information.
- Add auditing and user-visible confirmation for every operation that persists data remotely.
