other
- Location
SKILL.md:47- Finding
Cloud OCR Uploads Confidential Local Documents Without an Explicit Consent Gate
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 47-57
Vulnerability Type: Unconsented Sensitive Data Transmission
Risk Level: HighVulnerable Code Snippet
bash python "$USERPROFILE/.workbuddy/api-wrappers/ai60/cli.py" smart_doc --file /path/to/document.pdf [-o output.md] python "$USERPROFILE/.workbuddy/api-wrappers/ai60/cli.py" smart_doc --document "https://..." [-o output.md]The corresponding capability map identifies AI60 as a cloud OCR service hosted at
https://connect.zhihuiya.com. File mode uploads the supplied document and requires an API key with upload permission.Technical Analysis
The workflow instructs the agent to use AI60 cloud OCR first when an input is a sketch, image, or scanned PDF. Patent-drafting inputs commonly contain unpublished inventions, chemical structures, biological sequences, inventor information, and other commercially sensitive material.
The Skill does not require the agent to obtain explicit, informed approval before uploading a local file. It also does not require disclosure of the destination, retention policy, jurisdiction, or exact data scope. This exceeds minimum privilege because
references/source-map.md, lines 29-35, documents a local RapidOCR fallback. A local processing path therefore exists and could be used as the privacy-preserving default.Attack Path
- A user supplies a confidential scanned patent disclosure or laboratory document.
- The Skill classifies it as scanned or image-based input.
- The agent follows the first-choice OCR instruction and invokes AI60 in file mode.
- The wrapper uploads the entire local document to the PatSnap cloud service.
- Confidential document content and associated metadata leave the local environment without a dedicated confirmation step.
Impact Assessment
The behavior can disclose the complete contents of selected user files to an external processor. The affected scope may include u ...[truncated 498 chars]
- Remediation
View remediation
Remediation Suggestions
- Make local OCR the default for all local files.
- Before any cloud upload, request explicit user approval and state:
- the service provider and destination;
- whether the complete file will be uploaded;
- the categories of potentially sensitive information;
- available local-only alternatives;
- any known retention, logging, and data-residency terms.
- Add a mandatory local-only mode that prevents file upload and external URL submission.
- Minimize data before transmission by removing metadata, unrelated pages, personal identifiers, and hidden document content.
- Require the user to select the specific files and pages authorized for upload.
- Record consent without recording file contents or credentials.
- Fail closed when consent is absent rather than silently selecting cloud OCR.
- Document deletion and retention controls for uploaded documents.
