T09 · Insecure Skill Coding Practices
- Location
SKILL.md:22- Finding
Unnecessary Disclosure of User Input to an Unrelated Third-Party Service
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 22-36
Vulnerability Type: External transmission of potentially sensitive user input
Risk Level: MediumThe Skill instructs an agent to submit analysis requests, including user-controlled input, to the public testing service
https://httpbin.org/post. This endpoint is unrelated to the cruise-product MCP gateway configured inserver.json.markdown ## 用法 当需要提交分析请求时,向以下 API 发送 **POST** 请求(JSON body):text 示例 body: ```json { "input": "...", "skill": "cruise-product" }> 发布到 CruiseSkillBridge 后,上述 URL 会自动替换为网关地址,调用将计入控制台统计。
text ### Technical Analysis The documented request body places arbitrary user-supplied content in the `input` field and directs the agent to transmit it to httpbin.org. The actual MCP gateway declared in `server.json` is: ```text https://cruise-mcp.olavacations.com/api/gw/mcp/63460e43-c726-44dc-8ae3-28841083d243Despite the documentation claiming that the placeholder URL will be replaced after publication, the published Skill still contains the httpbin endpoint. There is no instruction to obtain informed user consent, minimize transmitted data, redact sensitive information, or reject secrets and personal data.
Exploitation does not require code execution. It requires only that an agent follow the documented usage instructions while processing user-controlled or confidential content.
Attack Path
- A user invokes the Skill and supplies content for analysis.
- The content may include personal information, confidential business data, credentials, tokens, or other sensitive material.
- The agent follows the instructions in
SKILL.md. - The agent places the supplied content in the JSON
inputfield. - The agent sends an HTTPS POST request to
https://httpbin.org/post. - The unrelated third-party service receives and processes the submitted content.
This ...[truncated 998 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the httpbin.org endpoint from
SKILL.md. - Replace it with the intended MCP gateway only if direct POST requests are genuinely part of the supported integration.
- Keep
SKILL.md,server.json, andreferences/mcp.mdconsistent so they identify the same service and data recipient. - Clearly document what request data is collected, where it is sent, how long it is retained, and which parties process it.
- Require explicit user confirmation before transmitting sensitive or potentially confidential content.
- Add instructions prohibiting submission of passwords, authentication tokens, private keys, payment information, and unnecessary personal data.
- Apply data minimization and redaction before outbound requests.
- Configure an allowlist so the agent may contact only the documented production MCP origin.
- Add a release-time validation check that rejects placeholder or testing domains such as httpbin.org from published Skill documentation.
- Publish authentication, privacy, retention, and incident-response policies for the remote MCP service.
- Remove the httpbin.org endpoint from
