T09 · Insecure Skill Coding Practices
Warning
- Location
- SKILL.md:195
- Finding
- Autonomous Swarm Mode Can Disclose Sensitive Task Context Without Explicit Per-Transmission Consent## Vulnerability Details **File Location**: `SKILL.md:195-199` and `SKILL.md:208-216` **Vulnerability Type**: Uncontrolled disclosure of conversation and project context to third-party AI services **Risk Level**: Medium ### Vulnerable Instruction Snippets From `SKILL.md:195-199`: ```markdown **Autonomous (agentic platforms — GUI/browser/API access to other AIs):** - Connected/logged in → execute yourself: craft, send, receive, synthesize. User does nothing. - Not connected → ask once: *"I need access to [platform] for the best result here — log in and I'll handle the rest."* - Can't/won't connect → fall back to relay gracefully: *"No problem — copy-paste a message I write, bring back the response. Two minutes."* - Other AI's reasoning chain visible → read it, not just the output. Poor reasoning behind a correct-looking answer is still poor reasoning. Probe with follow-ups if unclear. ``` From `SKILL.md:208-216`: ```markdown ### Relay Prompt Template Other model has zero context — assume nothing, it can't ask follow-ups. **Context** — full background: project, goal, what's been discussed **Task** — clear, specific **My current approach/draft** — reaction to something concrete beats an open request **What I need specifically** — pick ONE angle: challenge this / independent creative take / research [topic] / devil's advocate / most contrarian take / find what's weak or generic / stress-test assumptions [X, Y] **Output format** — structure, length ``` The related declaration in `SKILL_CARD.md:39` understates this behavior: ```markdown **No code execution, no API calls, no credential handling, no external data transmission are defined by this skill itself.** It is two Markdown files containing natural-language instructions only. Any tool use, file writes, or web access happen only through capabilities the host platform already independently provides. ``` ### Technical Analysis The skill directs an agentic host that is already connected to another AI platf ...[truncated 3035 chars]
- Remediation
- ## Remediation Suggestions 1. **Require explicit approval for every external transmission.** Before sending, identify the provider, destination account, purpose, and categories of data to be transmitted. Do not treat an existing login as consent. 2. **Show a transmission preview.** Present the exact outbound prompt or a concise summary and require affirmative user confirmation. 3. **Replace “full background” with data minimization.** Instruct the host to provide only the context strictly necessary for the requested second opinion. Exclude unrelated conversation history by default. 4. **Add mandatory sensitive-data screening.** Before transmission, detect and remove credentials, API keys, tokens, private keys, personal identifiers, regulated information, and confidential source material unless the user expressly authorizes each category. 5. **Provide a local-only option.** Allow users to disable Swarm Mode or require relay mode for confidential tasks. If sensitivity is uncertain, default to no external transmission. 6. **Enforce destination restrictions.** Require confirmation that the selected provider and account are authorized for the project and compatible with applicable retention, training, residency, and contractual requirements. 7. **Record consent and scope where supported.** Preserve an auditable record of the approved destination and data scope without storing the sensitive payload unnecessarily. 8. **Correct the Skill Card.** Explicitly disclose that the skill can instruct a capable host to transmit task context to third-party AI platforms. Clarify that the absence of embedded API code does not mean the skill defines no external transmission behavior. 9. **Use safer replacement language**, for example: ```markdown Before contacting another AI service, identify the provider and show the user the exact minimized, redacted prompt. Obtain explicit approval for this specific transmission. Never send credentials, secrets, personal data, private files, ...[truncated 92 chars]
