mastodon

Pass

Audited by Gen Agent Trust Hub on Nov 19, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The 'Research -> Informational Post' workflow in SKILL.md instructs the agent to ingest external data from TikTok transcripts and web search results to draft public social media posts. This creates a risk where malicious instructions embedded in external content could influence the agent's behavior.
  • Ingestion points: Described in SKILL.md for scraping TikTok captions and spoken transcripts (VTT files) using the nanogpt-tiktok skill.
  • Boundary markers: The instructions do not specify the use of delimiters or instructions to ignore embedded commands within the processed transcripts.
  • Capability inventory: The skill possesses capabilities for network operations (API calls), file writing, and bulk account modifications (unfollowing via follow_prune.py).
  • Sanitization: The workflow focuses on structural cleaning (stripping headers/timestamps) but lacks sanitization to prevent prompt injection from the source material.
  • [COMMAND_EXECUTION]: The utility script scripts/mastodon_reauthorize.py uses subprocess.run to execute curl commands for registering OAuth applications and exchanging authorization codes. While it utilizes a list of arguments rather than a raw shell string, it relies on external command execution for core administrative tasks.
  • [DATA_EXFILTRATION]: The skill frequently accesses and references a sensitive credential file path at ~/.hermes/secrets/mastodon_token for authenticating API requests. While this is the intended storage location for the skill's authentication token, the explicit documentation and access to this path in multiple scripts represents a potential exposure of sensitive credentials within the agent's environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 19, 2026, 12:05 AM