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.spawnSync to interact with the official bce and qianfan CLI 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.mjs script reads sensitive STS credentials and ID tokens from local configuration files (~/.bce/oauth/) and transfers them to the qianfan CLI. This transfer is performed via stdin to 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.mjs script 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
Risk Level
SAFE
Analyzed
Nov 17, 2026, 06:58 AM