tencentcloud-tke
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/tke.pyand example code inSKILL.mdexecute thekubectlcommand-line tool usingsubprocess.run. The implementation correctly uses argument lists rather than raw shell strings, which mitigates standard shell injection vulnerabilities while allowing the agent to perform cluster operations. - [EXTERNAL_DOWNLOADS]: The skill identifies dependencies on the official
tencentcloud-sdk-pythonlibrary and thekubectlbinary. These are standard, well-known tools required for managing Tencent Cloud infrastructure. - [INDIRECT_PROMPT_INJECTION]: The skill provides functions to read Kubernetes resource metadata, events, and pod logs. These external data sources are untrusted and could contain malicious instructions intended to mislead the agent during troubleshooting or management tasks.
- Ingestion points: Untrusted data enters the agent context via
kubectl logs,kubectl describe, andkubectl get eventscommands inscripts/tke.py. - Boundary markers: No explicit delimiters or instructions to ignore embedded commands are present when processing tool output.
- Capability inventory: The skill has the ability to write sensitive kubeconfig files and execute cluster-modifying commands such as
scaleandrollout restart. - Sanitization: There is no evidence of filtering or sanitizing the content of logs or resource descriptions before they are processed by the agent.
Audit Metadata