other
- Location
SKILL.md:17- Finding
Mandatory Artifact Repasting Can Disclose Sensitive Content to External Consultants
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 17
Vulnerability Type: External artifact disclosure
Risk Level: HighVulnerable Snippet
text 2. The first consultant-bearing round on a new skill topic must paste the real artifact inline broadly enough for exact-wording review. Path-only references, `FILE:` labels without body text, shell snippets, unresolved placeholders, short summaries, and partial fragments that do not actually cover the claim under review do not count as pasted artifact. In fresh, replacement, or recovery consultant sessions, `STATE_SNAPSHOT`, `SYNC_POINT`, `RESUME_SNIPPET`, accepted-state summaries, patch summaries, or an intention to repaste later do not count as pasted artifact either.Related requirements reinforce this behavior by requiring baseline artifacts to be repasted into fresh, replacement, and recovery consultant sessions before excerpts may be used.
Technical Analysis
The skill mandates broad inline transmission of the real artifact to an external consultant. It does not first require:
- Secret or credential detection.
- Redaction of personal or proprietary data.
- Data-classification checks.
- Confirmation that the consultant is local or external.
- Explicit user consent for third-party disclosure.
- Data minimization based on the specific review question.
An artifact may contain API keys, tokens, internal hostnames, customer data, private source code, deployment configuration, or confidential business logic. Requiring the artifact to be pasted broadly enough for exact-wording review can transmit this information to a third-party model provider and place it in persistent consultant chat history.
This is not direct network-exfiltration code, but it creates an agent-mediated disclosure channel as part of the skill's ordinary workflow.
Attack Path
- A user requests review of an artifact containing confidential code, credentials, internal co ...[truncated 1233 chars]
- Remediation
View remediation
Remediation Suggestions
- Add a mandatory sensitivity and secret scan before sending any artifact to a consultant.
- Require explicit user consent before transmitting content to an external model or service.
- Distinguish clearly between local and external consultants.
- Default to local analysis when artifacts contain secrets, personal information, regulated data, or proprietary code.
- Replace broad baseline-repaste requirements with a minimum-necessary excerpt policy.
- Redact credentials, tokens, private keys, internal endpoints, customer identifiers, and unrelated confidential sections.
- Display the exact proposed disclosure scope before transmission.
- Do not copy sensitive baseline content into persistent or recovery chats unless separately authorized.
- Document consultant retention, logging, and privacy assumptions in the runtime contract.
- If safe disclosure cannot be established, downgrade to local analysis rather than treating the missing external repaste as a validation failure.
