tiangong-kb-course-fulltext-fetch

Pass

Audited by Gen Agent Trust Hub on Aug 16, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The script executes the Tiangong AI CLI via npx @tiangong-ai/cli@latest. Input parameters such as document_id and tags are extracted using jq and passed to the CLI using Bash array expansion, which safely handles arguments and prevents shell injection.
  • [DATA_EXPOSURE]: The skill provides a mechanism to load environment variables from a local file via the env_file parameter. The script implements a restrictive parser that validates environment keys against a specific regex (^[A-Za-z_][A-Za-z0-9_]*$) and skips malformed lines, adhering to safe configuration management practices.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 16, 2026, 03:01 AM
Security Audit — agent-trust-hub — tiangong-kb-course-fulltext-fetch