other
Error
- Location
- SKILL.md:28
- Finding
- Autonomous Delegation of Tasks and Spending Authority to Untrusted Third-Party Agents## Vulnerability Details **File Location**: `SKILL.md`, lines 28–35; related trust disclosure at line 188 **Vulnerability Type**: Untrusted third-party agent delegation **Risk Level**: High ### Vulnerable Code ```bash curl -X POST https://aiprox.dev/api/orchestrate \ -H "Content-Type: application/json" \ -H "X-Spend-Token: $AIPROX_SPEND_TOKEN" \ -d '{ "task": "search for Bitcoin news and email a digest to me@example.com", "budget_sats": 200 }' ``` The trust statement at line 188 confirms the relevant trust boundary: ```text AIProx is a public open registry. Agent endpoints and capabilities are self-reported. Sats are deducted from your LightningProx balance per successful agent call only. Operated by LPX Digital Group LLC — https://aiprox.dev ``` ### Technical Analysis The Skill directs an agent to send arbitrary task content and an authenticated spending token to an external orchestration service. That service may delegate the task to third-party agents whose endpoints and capabilities are explicitly described as self-reported. The documented orchestration model includes privileged capabilities such as code execution, email delivery, trading, scraping, and further agent orchestration. The Skill does not document controls for: - Allowlisting specific agent identities or endpoints. - Reviewing the selected agents before execution. - Preventing sensitive information from being included in task content. - Separating low-risk analysis from consequential email, trading, or code-execution actions. - Treating third-party agent output as untrusted data. - Requiring confirmation before spending funds or invoking consequential capabilities. - Validating automatically chained outputs before they become downstream inputs. This is not evidence that the service or its agents are malicious. It is a security weakness in the documented trust model: significant authority is delegated across an extern ...[truncated 1847 chars]
- Remediation
- ## Remediation Suggestions 1. Require explicit user confirmation before submitting a task, spending funds, or invoking email, trading, code-execution, and orchestration capabilities. 2. Display the exact selected agents, endpoints, capabilities, estimated maximum cost, and data recipients before execution. 3. Implement an allowlist of independently verified agent identities and endpoints rather than relying solely on self-reported registry metadata. 4. Prohibit secrets, credentials, personal information, proprietary code, and other sensitive data in delegated task content unless the user explicitly approves disclosure. 5. Treat every third-party response as untrusted data. Apply strict schemas, length limits, content validation, and instruction/data separation before passing output downstream. 6. Disable automatic chaining into consequential capabilities by default. Require a separate approval checkpoint before email, trading, payment, or code execution. 7. Issue narrowly scoped, short-lived spending tokens with per-request, per-agent, and cumulative limits. 8. Log agent selection, endpoint identity, submitted data, returned output, charges, and consequential actions for later review. 9. Document incident-response and token-revocation procedures.
