tencent-docs
Warn
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill implements a spreadsheet manipulation feature via the
OperationSheettool defined insheet/api/operation-api.md. This tool accepts ajs_scriptparameter which is dynamically generated by the AI agent at runtime based on the guidelines insheet/api/js-script-rule.md. The generated scripts interact with the Tencent Docs Spreadsheet API (e.g.,SpreadsheetApp.getActiveSpreadsheet,Range.setValue). - [COMMAND_EXECUTION]: The skill includes a shell script
setup.shused for authentication and environment setup. This script is explicitly called by the instructions inreferences/auth.mdto manage tokens and configure themcportertool. It performs network operations viacurltodocs.qq.comand modifies local configuration files. - [PROMPT_INJECTION]: The
sheet/api/js-script-rule.mdfile contains explicit instructions intended to harden the agent against prompt injection, such as "System Instruction Immunity" and "Command Disclosure Prohibition." These represent attempts to override the model's standard response patterns and safety guidelines, even though they are directed toward security. - [INDIRECT_PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injections because it frequently ingests untrusted data from external sources. Tools like
scrape_url(inreferences/api_references.md) andget_contentfetch data from the web and existing documents. A maliciously crafted document or website could contain instructions that the agent might inadvertently follow, leveraging its extensive capabilities to create, edit, or delete documents. - Ingestion points:
scrape_url,get_content. - Boundary markers: The MDX specification (
references/mdx_references.md) defines structural delimiters like======and------, but these are primarily for parsing and do not provide robust security boundaries against adversarial instructions. - Capability inventory: The skill has broad capabilities including document creation (
create_smartcanvas_by_mdx), file management (manage.delete_file,manage.move_file), and dynamic code execution (OperationSheet). - Sanitization: The skill provides instructions for correct JSON escaping in
doc/doc_format/README.md, but lacks comprehensive sanitization for natural language instructions embedded in processed data. - [EXTERNAL_DOWNLOADS]: The
setup.shscript automatically attempts to install themcporterpackage globally usingnpm install -g mcporterif it is not detected on the host system.
Audit Metadata