T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:61- Finding
Generated Documents Are Uploaded Through a Public Download Link by Default
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 61-63
Vulnerability Type: Unnecessary external disclosure of generated documents
Risk Level: MediumVulnerable Instruction
English rendering of the relevant source instruction:
markdown ### 4. Upload and return a link Use the `uploader` skill to upload the generated file and return a public download link.Technical Analysis
The documented workflow directs the agent to upload every completed document through another skill and return a public download link. Uploading is not required for the core local task of parsing and filling a DOCX file.
Generated documents may contain contracts, personal identities, commercial terms, or other confidential information supplied by the user. The instruction does not require informed consent before transmission and does not identify the storage provider, access controls, retention period, deletion process, or link-discovery protections.
This breaks least-privilege principles by introducing external data transmission and public accessibility beyond what is necessary to generate the document.
Attack Path
- A user supplies a template and sensitive replacement data.
- The agent generates a completed DOCX containing that information.
- Following
SKILL.md, the agent invokes the externaluploaderskill. - The completed document is transmitted to an unspecified external service.
- A public download link is created.
- Anyone who obtains or discovers the link may access the document, depending on the uploader's controls.
Impact Assessment
This issue does not directly grant local system privileges. Its primary impact is unauthorized disclosure of the complete generated document to an external provider or unintended recipients. The affected scope includes all user data embedded in the output file, potentially including personal, contractual, financial, or proprietary information.
- Remediation
View remediation
Remediation Suggestions
- Save generated documents locally by default.
- Require explicit, informed user consent before invoking any uploader.
- Clearly identify the upload destination, retention policy, access model, and deletion procedure.
- Prefer private, authenticated, short-lived download links over public links.
- Warn users before transmitting documents that may contain sensitive information.
- Apply data minimization and avoid uploading intermediate files or unnecessary metadata.
- Provide a local-file return option so upload is never mandatory for successful completion.
