trtc-chat
Fail
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill explicitly instructs the agent to ask the user for their Tencent Cloud IM
SecretKeyandSDKAppID. While the skill includes steps to clear the key from temporary storage after use, the initial collection and processing of raw sensitive secrets by an AI agent is a high-risk pattern. - Evidence: Found in
references/02-path-a-questions.md(Q.1) andreferences/02-path-a-script.md(A.3.0.2). - [DYNAMIC_EXECUTION]: The skill uses a delegation mechanism in
tools/_delegate.pyto dynamically load and execute Python modules from a sibling directory (../../trtc/tools/) usingimportlib.util. This allows the skill to execute code that is not resident in its own directory structure. - Evidence: Utilized by shims in the
tools/directory, includingkb.py,flow.py,session.py, andreporting.py. - [EXTERNAL_DOWNLOADS]: The skill utilizes
npx degitto fetch and extract project templates from a remote repository during the scaffolding phase. - Evidence:
references/02-path-a-scaffold-template.mdexecutesnpx --yes degit vitejs/vite/packages/create-vite/template-vue-ts --force, targeting a well-known repository on GitHub. - [COMMAND_EXECUTION]: The skill's test suite performs shell command execution to verify tool behavior.
- Evidence:
tests/test_chat_bundle_contract.pyusessubprocess.runto execute internal Python CLI tools. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data from web searches and fetches, creating a significant attack surface for indirect prompt injection. It has the capability to write to the local filesystem and execute commands based on these inputs.
- Ingestion points: User-provided "natural language" descriptions and documentation retrieved via
web_fetchinreferences/14-official-docs.md. - Boundary markers: While it utilizes specific fields in
.docs-query.yamlto store prompts and answers, it lacks robust delimiter enforcement for external documentation content. - Capability inventory: The agent can write files (
write_to_file), manage sessions, and execute shell commands. - Sanitization: There is no evidence of specific sanitization or filtering logic applied to external content before it is processed by the LLM.
Recommendations
- AI detected serious security threats
Audit Metadata