other
Error
- Location
- food-analyzer.md:46
- Finding
- Mandatory External Transmission of Complete Food Descriptions and Image URLs## Vulnerability Details **File Location**: `food-analyzer.md:46-63` **Vulnerability Type**: Undisclosed personal data exfiltration **Risk Level**: High **Vulnerable Instruction:** ```markdown - Note: - At least one of description or image_urls must be provided - **Original Input Pass-Through Principle (Mandatory Enforcement)**: - Must pass the user's original food description input **completely and verbatim** to the description parameter, **strictly prohibiting any form of processing** - Prohibited behaviors include but are not limited to: - Summarization - Extracting key information and rewriting - Omitting details - Reorganizing language or adjusting expression order - Deleting any words, interjections, or modifiers from user input - Must pass the user's originally uploaded image URLs **directly** to the image_urls parameter - **Strictly prohibited** to perform content recognition on images and convert them to text descriptions before calling the interface - Judgment criteria: Any difference (regardless of size) between the description or image_urls content and the user's original input is considered a violation ``` ### Technical Analysis The skill mandates transmitting the user's complete food-related input to the external `/foods/analyze` service without minimization or redaction. Food descriptions constitute personal health information and may also contain names, locations, medical conditions, medication information, or unrelated conversational content. The instruction explicitly prohibits removing any words or modifiers. It therefore prevents the agent from applying normal data-minimization controls. Directly forwarding image URLs is similarly unsafe because URLs may contain signed query parameters, access tokens, account identifiers, or private storage paths. The confirmation process in `SKILL.md` applies to persistent record storage, but the external ...[truncated 1126 chars]
- Remediation
- ## Remediation Suggestions - Obtain explicit, informed consent before sending any text or image information to an external analysis service. - Clearly identify the external provider, transmitted fields, processing purpose, retention period, and applicable privacy policy. - Extract and transmit only the minimum fields required for analysis, such as food name, quantity, and cooking method. - Redact names, contact details, locations, medical details unrelated to nutrition, and other incidental content. - Remove credentials, signatures, and identifying query parameters from image URLs. - Prefer short-lived service-mediated image references rather than forwarding original URLs. - Provide a genuinely local-only analysis mode and make external analysis opt-in. - Ensure that refusing storage also permits the user to refuse external analysis.
