other
- Location
SKILL.md:80- Finding
Potential Disclosure of Personal Data Through External Web Search
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 80–94
Vulnerability Type: Privacy Data Disclosure
Risk Level: MediumComplete Code Snippet
markdown ## 工具使用 - `read` — 读取原始数据文件 - `exec` — 运行 Python openpyxl/pandas 处理 - `write` — 写出清洗后的文件 - `web_search` — 辅助数据验证(如手机号归属地) ## 常用清洗规则(内置) | 列类型 | 规则 | |--------|------| | 手机号 | 去空格、统一 11 位、验证格式 | | 日期 | 统一 YYYY-MM-DD、修复乱码日期 | | 金额 | 去货币符号、统一小数、检测异常 | | 地址 | 提取省市区、补充邮编 | | 姓名 | 去空格、统一大小写 | | 身份证 | 验证校验位、提取生日性别 |Technical Analysis
The skill instructs the agent to process personal identifiers, including telephone numbers and national identity numbers. It also authorizes use of
web_searchfor data validation and explicitly identifies telephone-number attribution as an example.A complete telephone number used as a search query is transmitted to an external search service. The instructions do not require informed user consent, masking, data minimization, an approved destination, or confirmation that the relevant search provider may process the data. Local syntax and checksum validation do not require disclosure to an external service.
The document does not explicitly instruct the agent to submit national identity numbers to web search. Therefore, the confirmed concern is limited to telephone numbers; identity-number processing increases the sensitivity of the dataset but is not itself evidence of external disclosure.
Attack Path
- A user supplies a CSV, XLSX, or JSON file containing telephone numbers.
- The agent reads the file under the skill's workflow.
- The agent applies the suggested telephone-number validation or attribution procedure.
- The agent invokes
web_searchusing a complete telephone number as the query. - The external search provider receives the identifier and may retain it in query, telemetry, or access logs.
- The identifier is consequently disclosed outside the user's local process ...[truncated 713 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove external web search from the default validation workflow.
- Validate telephone-number length, prefix, syntax, and checksums locally where applicable.
- Require explicit, informed user approval before any identifier is sent to an external service.
- Clearly identify the external provider, data sent, processing purpose, retention implications, and expected result before requesting approval.
- Minimize submitted data by masking, tokenizing, or otherwise reducing identifiers whenever the validation objective permits it.
- Permit external validation only through approved, allowlisted APIs with suitable authentication, transport security, contractual privacy safeguards, and retention controls.
- Prohibit submitting national identity numbers or similarly sensitive identifiers to general-purpose search engines.
- Add logging that records user authorization and the destination without reproducing complete personal identifiers in local logs.
- Define retention and deletion rules for source files, cleaned outputs, reports, temporary files, and any lookup results.
