T09 · Insecure Skill Coding Practices
- Location
SKILL.md:65- Finding
External Publication of Sensitive Due-Diligence Data Without Explicit Final Approval
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 65–68
Vulnerability Type: Unapproved external data publication
Risk Level: MediumVulnerable instruction, translated into English:
markdown ## Publish to the ima Knowledge Channel 1. Confirm that `ima-mcp` is connected; if it is not connected, authorize it on the connector management page. 2. Publish the Markdown output as an entry in the target knowledge channel through the ima MCP tool. Splitting it into a diligence checklist, valuation, and IC memo is recommended, although it may also be published as one long article. 3. Return the entry link or ID and a summary.Technical Analysis
The Skill directs the Agent to transmit generated content to an external knowledge service through an MCP connector. Although it requires the connector to be authorized, it does not require explicit user confirmation immediately before publication. It also lacks controls for reviewing the destination, access permissions, visibility, and final content.
This is particularly sensitive because the Skill processes venture-capital due-diligence information. Generated reports may contain financial statements, valuation assumptions, capitalization details, contractual risks, founder information, legal findings, intellectual-property information, and confidential investment recommendations.
Connector authorization alone does not establish that the user intends to publish every generated report. The missing approval and redaction controls create an unsafe external side effect. This is classified as
T09: Insecure Skill Coding Practicesbecause the Skill configuration does not safely handle potentially sensitive information before an external write operation.Attack Path
- A user supplies confidential company, founder, legal, financial, or transaction information for diligence analysis.
- The Skill incorporates that information into the diligence checklist, valu ...[truncated 1575 chars]
- Remediation
View remediation
Remediation Suggestions
- Make external publication explicitly opt-in rather than an automatic step.
- Generate the report locally by default and ask whether the user wants it published.
- Immediately before the MCP write operation, display:
- The complete content or a reviewable preview.
- The target workspace and knowledge channel.
- The destination visibility and access permissions.
- The fields that were redacted or retained.
- Require explicit confirmation for that specific content and destination. Prior connector authorization must not count as publication approval.
- Apply data-minimization and redaction controls by default, including removal of personal data, confidential financial details, contract terms, capitalization information, credentials, and source-document contents unless specifically approved.
- Allow the user to cancel publication without losing the locally generated report.
- Validate the destination identifier against an approved workspace or channel allowlist.
- Return the publication ID and effective visibility after publishing so the user can verify or remove the entry.
- Record an auditable publication event containing the approving user, destination, timestamp, and content classification, without duplicating sensitive report content in logs.
