Back to skill

Security audit

TencentCloud VatInvoice OCR

Security checks for vulnerabilities and agentic risk

Overview

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.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:37
Finding

Unpinned Tencent Cloud SDK Installation Creates a Supply-Chain Risk

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
89% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

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.

Content

No source excerpt is available for this finding.