T09 · Insecure Skill Coding Practices
- Location
SKILL.md:124- Finding
Proposal-Derived Confidential Information May Be Disclosed to External Search Providers and Plaintext Logs
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:124-166; related logging requirements appear inreferences/evidence-schema.md:3-14andtemplates/query-log-template.csv:1
Vulnerability Type: Uncontrolled external disclosure and plaintext retention of potentially sensitive proposal data
Risk Level: MediumVulnerable Code Snippet
From
SKILL.md:124-166:markdown ## Tool Routing And Fallback This skill works across multiple tool environments. Before retrieval, detect which capabilities are available and select the highest tier that is reachable. ### Tier 0 (Always First): Proposal Materials - User-provided proposal, initiation report, innovation package - Extract project summary, research theme, innovation points, promised outputs, and proposal-stated claims BEFORE any external search - Evidence grade: proposal-stated (not externally verified) ### Tier 1 (Recommended): Structured Patent/Paper Retrieval - Use the host's best structured patent and paper retrieval stack to test novelty, feasibility, and frontier evidence around normalized innovation points. - This usually means structured search plus record-level deep fetch. - Evidence grade: S/A ### Tier 2 (Fallback): Exa Search + Companion Skills - Use the host's best broad web research tool plus scholarly or finance companion lanes when available. - Exa, Tavily, Brave, official filings, and domain-specific research databases are good examples, not hard requirements. - Evidence grade: A/B - Coverage loss vs Tier 1: no structured patent field search, no assignee filtering, novelty conclusions less precise ### Tier 3 (Fallback): Generic Web Tools - Use generic web search and page/PDF reading tools available in the host. - Evidence grade: B/C ### Tier 4 (Minimum): Pure LLM + Proposal Materials - No external tools required - Evidence grade: C/U - The review can still extract and organize proposal claims, ...[truncated 4406 chars]- Remediation
View remediation
Remediation Suggestions
-
Require a sensitivity check before retrieval
- Classify input as public, internal, confidential, or restricted.
- Default confidential and restricted proposals to offline processing until the user explicitly authorizes external research.
-
Obtain informed authorization
- Identify the external provider categories that may receive queries.
- Explain that proposal-derived terms may be transmitted outside the local environment.
- Require explicit consent before the first external query.
-
Minimize and redact queries
- Remove project names, organization names, people, customer identifiers, and unpublished code names.
- Generalize unique measurements, compositions, tolerances, and parameter combinations unless essential.
- Search abstract technical concepts first and disclose additional detail only when necessary and approved.
-
Add provider controls
- Prefer organization-approved retrieval services with suitable privacy and retention terms.
- Support a provider allowlist and prohibit automatic fallback to unapproved services.
- Do not place confidential information in URL query strings where it may also enter browser, proxy, or server logs.
-
Harden local evidence logs
- Store redacted query text or a query hash when full text is unnecessary.
- Apply restrictive file permissions to the run directory and evidence files.
- Define retention and secure-deletion policies.
- Exclude confidential logs from source control, shared artifacts, and default report bundles.
-
Provide a genuine offline mode
- Permit proposal-only analysis without external retrieval.
- Clearly lower confidence in novelty conclusions rather than transmitting confidential content.
- Allow users to supply pre-approved public search terms or sanitized source material.
-
Add an enforcement rule
- State explicitly that proposal-deri ...[truncated 122 chars]
-
