baiducloud-auth
Pass
Audited by Gen Agent Trust Hub on Nov 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPERSISTENCE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
child_process.spawnSyncto interact with the officialbceandqianfanCLI tools. Execution follows safe practices by using argument arrays to prevent shell injection, although binary paths can be overridden via environment variables (BCE_CLI_BIN,QIANFAN_CLI_BIN). - [DATA_EXFILTRATION]: The
sync_qianfan.mjsscript reads sensitive STS credentials and ID tokens from local configuration files (~/.bce/oauth/) and transfers them to theqianfanCLI. This transfer is performed viastdinto prevent exposure in process lists or logs. The skill implements explicit masking for all sensitive values in its debug output and includes warnings against manual credential exposure. - [PERSISTENCE]: The
install_rule.mjsscript automates the installation of 'always-apply' rules into various AI agent host environments (such as Comate, Claude Code, and Cursor). These rules ensure that an account consistency check is performed before any sensitive cloud operations are executed, which is an intended security feature of the skill.
Audit Metadata