T08 · Insecure Dependencies
- Location
SKILL.md:31- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a disclosed invoice-recognition skill with expected file conversion helpers and no evidence of hidden exfiltration, persistence, or unrelated authority.
Use this skill only for invoices the user intentionally provides. Treat invoice files and extracted fields as sensitive, prefer local or restricted processing, avoid shared output directories for OFD conversion, and pin or review the optional ofd2pdf dependency before installing it.
SKILL.md:31Unpinned Third-Party Dependency Installation
scripts/pdf_to_image.py:105Predictable Temporary PDF Path Permits File Overwrite and Deletion
声明的核心用途是发票识别与信息抽取,但提供的代码块只是在OCR前处理阶段将PDF或OFD文件转换成图片。虽然这种转换可作为发票OCR的支持性实现细节,但当前代码本身并没有实现声明中最关键的功能:识别文字、提取字段、分类票据、校验格式。相反,它的实际主要目的与CLI描述都集中在文件格式转换,因此与声明存在实质性不一致。
Invoices contain sensitive personal and business information, but the skill description does not prominently warn users about privacy, retention, or exposure risks before encouraging upload and processing. This omission can lead users to share documents without informed consent or understanding of how sensitive fields should be minimized, redacted, or deleted after use.
The trigger conditions are broad enough that the skill could activate on many invoice-related requests involving sensitive financial documents, increasing the chance of unnecessary processing or over-collection of data. In a skill that handles invoices containing tax IDs, names, transaction details, and amounts, overly permissive invocation increases privacy and data-minimization risk even without overtly malicious logic.
文件描述全文以中文限定技能用途和交互场景,但未说明是否支持其他语言或允许用户按偏好选择输出语言。若组织要求避免未经用户同意强制特定语言,这种单一语言约束可能构成自然语言策略违规。
This markdown file presents all instructions and examples exclusively in Chinese, and there is no indication that users may choose another language or that the content is intentionally limited to a Chinese-speaking or region-specific audience. Under the language/locale policy, forcing a single language without opt-in can be a natural-language policy violation.
The file title and all instructional content are written entirely in Chinese, with no indication that the skill supports other languages or that Chinese-only output is an intentional, documented constraint. Under the policy, forcing a specific language without user opt-in can be a natural-language policy violation.
All user-facing natural-language content in the module docstring, argument help, warnings, and status messages is written only in Chinese. Under the policy, forcing a specific language without opt-in or an explicitly documented locale constraint is a natural-language policy violation.
The OFD conversion path writes an intermediate PDF file and then deletes it, which is a file write and deletion operation. While the script broadly describes converting documents to images, these temporary filesystem side effects are not explicitly disclosed in the function comments or user-facing output near the operation.