Back to skill

Security audit

TCCLI - 腾讯云命令行工具

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent Tencent Cloud CLI reference skill, but users should treat its credential and cloud-resource commands with normal cloud-admin caution.

Install only from a trusted Python environment, consider pinning or reviewing the TCCLI version, use least-privileged Tencent Cloud credentials, avoid entering secrets on shared machines, and double-check instance IDs, domains, firewall rules, and certificate targets before running state-changing commands.

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:13
Finding

Unpinned Third-Party Package Installation

Content
View full analysis
Remediation
View remediation
" ``` 2. Generate and verify cryptographic hashes for the package and all transitive dependencies, then install with: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Obtain packages only from an explicitly approved package index or internal artifact repository. 4. Verify the package publisher, release provenance, signatures, and expected dependency set before approving upgrades. 5. Install the CLI inside a dedicated virtual environment rather than into the system Python environment. 6. Run the CLI as a non-privileged operating-system user and avoid privileged or system-wide pip installation. 7. Use a least-privileged Tencent Cloud identity, rotate credentials regularly, and prefer short-lived credentials where supported. 8. Establish a controlled dependency-update process that reviews and tests each new version before changing the pin. ]]>
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill instructs users to configure long-lived cloud credentials directly via CLI commands but provides no warning about secure handling, least-privilege IAM, shell history exposure, or use on shared systems. In a cloud-administration skill, this increases the chance of credential leakage or unsafe storage practices that could enable unauthorized access to Tencent Cloud resources.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill includes state-changing cloud commands such as starting, stopping, and rebooting instances without any warning, confirmation guidance, or explanation of operational impact. In a cloud-management context these commands are legitimate, but presenting them as quick copy-paste examples can still cause accidental service disruption, outages, or data-loss risk if used on the wrong resources.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

All user-facing instructions and headings are in Chinese, which effectively forces a specific language for the skill's documentation without any opt-in or explanation. The policy requires flagging language or locale constraints unless the skill offers a choice or clearly justifies the restriction.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.