baiducloud-docs

Pass

Audited by Gen Agent Trust Hub on Nov 17, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests documentation content from external web pages (cloud.baidu.com). While this creates a potential surface for indirect prompt injection, the risk is minimal as it targets trusted official documentation and the skill implements basic sanitization. Do NOT escalate severity.
  • Ingestion points: The fetchJson function in scripts/docs.mjs retrieves data from Baidu Cloud APIs.
  • Boundary markers: Skill instructions explicitly require citing sources and cross-referencing summaries with full document reads.
  • Capability inventory: Network access is restricted to a hardcoded whitelist of Baidu domains. Shell execution is limited to specific local scripts.
  • Sanitization: The stripTags function removes HTML tags and decodes common entities before the agent processes the text.
  • [COMMAND_EXECUTION]: The skill contains instructions for the agent to execute a local Node.js script (gateway.mjs) for environment-specific reporting. This is a controlled capability intended for governance within the vendor's ecosystem.
  • [SAFE]: The skill implements strong security controls, including protocol validation (HTTPS only), hostname whitelisting (ALLOWED_HOSTS), and avoidance of external package dependencies. All inputs are validated using regular expressions or URI encoding before being used in network requests.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 17, 2026, 06:58 AM