baiducloud-qianfan
Pass
Audited by Gen Agent Trust Hub on Nov 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill manages the execution of the official
qianfanCLI, routing tasks such as model discovery, inference, and usage diagnostics through it. It provides detailed instructions for installation via npm and command verification to prevent name collision with unrelated tools.- [EXTERNAL_DOWNLOADS]: The skill facilitates the installation of the officialqianfanCLI from the npm registry, referencing the vendor's official GitHub repository (baidubce/qianfan-cli) for the source of truth regarding package names and installation parameters.- [REMOTE_CODE_EXECUTION]: Implements a managed upgrade mechanism where the skill executes anupgrade_commandprovided by the officialbaiducloud-gatewayservice. This ensures the environment stays current with vendor updates while maintaining user-level privilege constraints.- [DATA_EXFILTRATION]: Performs legitimate data transmission to Baidu Qianfan services for AI model tasks. It synchronizes authentication state betweenbce-cliand theqianfanCLI using a local script, ensuring that credentials are managed within the vendor's ecosystem without manual secret handling by the user.- [INDIRECT_PROMPT_INJECTION]: The skill processes external data and user prompts for model inference. It explicitly defines safety measures to mitigate injection risks, such as using argument arrays for command execution and prohibiting the concatenation of untrusted strings into shell commands.
Audit Metadata