skills/piofant/skills/tg-research/Gen Agent Trust Hub

tg-research

Pass

Audited by Gen Agent Trust Hub on Sep 14, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests raw Telegram chat history that is later processed by sub-agents. Malicious instructions could be embedded within the chat data to manipulate the research agents' behavior or influence the generated report.
  • Ingestion points: The skill calls mcp__telegram-remote__get_history and mcp__telegram-remote__search_messages in Step 2 to pull message data into local JSON files.
  • Boundary markers: The sub-agent prompt template in Step 4 uses Markdown headers (e.g., ## Primary data (TELEGRAM — ground truth)) to separate data sources, but it does not employ robust escaping, delimiters, or explicit "ignore embedded instructions" warnings for the tg_context_snippets or the full JSON dump content.
  • Capability inventory: Sub-agents launched via the Task tool have access to WebSearch and the ability to generate structured JSON outputs. The main skill environment utilizes Bash, Write, Read, and various Telegram MCP tools.
  • Sanitization: No sanitization or filtering of the Telegram message text (e.g., stripping markdown or control sequences) is performed before it is interpolated into the research agent's prompt.
  • [DATA_EXPOSURE]: The skill's primary function is to mine and analyze sensitive personal communications. Although it contains strong instructions to keep data within ~/research/ and avoid external uploads, the aggregation of private DMs and group chats into local files represents a significant data handling risk.
  • [COMMAND_EXECUTION]: The skill uses the Bash tool to perform file system operations, create directories, and run the pandoc document converter. It also executes a local script at ~/.claude/skills/research/validate_json.py to verify sub-agent outputs.
  • [DYNAMIC_EXECUTION]: The skill dynamically generates complex prompt templates for research sub-agents in Step 4, substituting multiple variables including verbatim snippets and file paths into the executable instructions.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 14, 2026, 10:43 PM