baiducloud-openapi

Pass

Audited by Gen Agent Trust Hub on Nov 17, 2026

Risk Level: SAFECREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: The runtime reads local Baidu Cloud configuration files (~/.bce/config.json) and temporary OAuth session tokens (~/.bce/oauth/) to authenticate API requests. This is a legitimate requirement for the skill's purpose, and the script includes a redaction function to prevent these secrets from appearing in logs or output.
  • [EXTERNAL_DOWNLOADS]: The resolve_product.mjs script fetches an API manifest and product documentation from a remote Baidu Object Storage (BOS) URL (portal-public.cdn.bcebos.com). These resources are used to dynamically resolve API endpoints and schemas.
  • [COMMAND_EXECUTION]: The script executes the local bce CLI binary to refresh OAuth credentials when they are expired.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests data from a remote manifest and API reference files. This data is then presented to the agent to guide request construction, creating a surface for indirect prompt injection. Evidence chain:
  • Ingestion points: scripts/resolve_product.mjs reads JSON and Markdown from external URLs.
  • Boundary markers: The skill mandates user confirmation for all state-changing (POST/PUT/DELETE) requests.
  • Capability inventory: The runtime can perform authenticated HTTPS requests to cloud APIs and execute local shell commands via the bce CLI.
  • Sanitization: The runtime validates hostnames, ports, and IP addresses, and redacts sensitive information from both requests and responses.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 17, 2026, 06:58 AM