cloudbase-cli
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill is designed to manage cloud infrastructure by executing
tcbCLI commands. It includes instructions for deploying cloud functions, managing databases, and configuring networking. While it utilizes flags like--yesand--forceto facilitate automation and CI/CD workflows, the primary instructions inSKILL.mdexplicitly mandate that the agent must use--dry-runand obtain user confirmation before performing any destructive actions (e.g., deleting environments, dropping databases, or overwriting storage). - [EXTERNAL_DOWNLOADS]: The skill facilitates the download of project templates and CLI updates from remote sources. Specifically,
tcb pullandtcb newcan fetch templates from GitHub, Gitee, and CNB (Tencent's code platform). Additionally,tcb self-updateenables the CLI to update its own binary. These operations target well-known or vendor-controlled infrastructure and are standard features of the toolset. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an inherent attack surface for indirect prompt injection as it ingests untrusted external data that is subsequently processed by the agent.
- Ingestion points: Ingests cloud function logs (
tcb logs search), project configuration files (cloudbaserc.json), and file metadata from cloud storage (tcb storage list). - Boundary markers: The provided instructions do not specify the use of delimiters or 'ignore embedded instructions' markers when processing these data streams.
- Capability inventory: The agent has the capability to deploy code, execute arbitrary SQL or MongoDB queries, and delete cloud resources.
- Sanitization: There are no explicit instructions for the agent to sanitize or validate the content of logs or configuration files before using them to make decisions or formulate further commands.
- [DATA_EXPOSURE]: The skill references sensitive local file paths where the CLI stores session credentials (e.g.,
~/.config/.cloudbase/auth.json). However, it provides clear security guidance, advising users to utilize environment variables for secrets and explicitly warning against hardcodingSecretId,SecretKey, orAPI_KEYinto project files or command history.
Audit Metadata