T09 · Insecure Skill Coding Practices
- Location
SKILL.md:42- Finding
Potential Disclosure of Sensitive Reasoning Data to an External API
- Content
View full analysis
# or omit if using credits X-WALLET: your-agent-id # for credit balance payment ``` **Minimum payload (10 samples, recommend 30–100):** ```json { "agent_id": "your-agent-id", "outputs": [ { "prompt": "Should we invest in this?", "response": "Yes, given recent strong performance...", "context": "finance" } ], "failure_feedback": [ "Agent consistently overweights recent price action" ], "domain": "finance" } ``` ``` The API reference further confirms the fields sent externally: ```markdown | Field | Type | Required | Description | |-------|------|----------|-------------| | `agent_id` | string | Yes | Unique agent identifier | | `outputs` | array | Yes | Min 10, recommended 30–100 | | `failure_feedback` | array | No | Known failure patterns or user complaints | | `domain` | string | No | Context for bias detection | | `bias_focus` | array | No | Specific bias types to prioritize | ``` ### Technical Analysis The Skill instructs an agent to transmit between 10 and 100 reasoning samples to `https://api.cerebratech.ai/bias_scan`. Transmitted fields can include prompts, responses, contextual information, outcomes, failure feedback, domain information, and a stable agent identifier. These records may contain personal information, confidential business material, financial information, credentials copied into prompts, customer data, internal instructions, or other sensitive content. T ...[truncated 2354 chars]- Remediation
View remediation
