T08 · Insecure Dependencies
- Location
SKILL.md:37- Finding
Unpinned Tencent Cloud SDK Installation Creates a Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a coherent Tencent Cloud invoice OCR skill, but users should understand it sends selected invoice data to Tencent Cloud.
Install only if you are comfortable sending invoice images, PDFs, URLs, and extracted billing fields to Tencent Cloud for OCR. Use a virtual environment, consider pinning the Tencent SDK version, and provide Tencent Cloud credentials with the minimum permissions needed for OCR.
SKILL.md:37Unpinned Tencent Cloud SDK Installation Creates a Supply-Chain Risk
The skill declares use of environment-based secrets (TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY) but does not define an explicit tool/permission scope. In an agent environment, missing scope declarations can allow broader-than-intended secret or environment access and makes it harder to enforce least privilege or audit what the skill is allowed to read.
The trigger conditions include broad phrases such as handling 'any invoice OCR scenario' and batch invoice processing, which can cause the skill to activate in situations where the user did not explicitly intend Tencent Cloud OCR use. Overbroad triggering can route sensitive invoice images or PDFs containing financial and personal data to an external service unnecessarily, increasing privacy and compliance risk.
The script transmits invoice images/PDFs and extracted billing information to Tencent Cloud OCR, but it provides no explicit warning, consent step, or privacy notice to the user. Because invoices commonly contain sensitive financial and business data, users may unknowingly send confidential information to a third-party service, creating privacy, compliance, and data-handling risk.