threads-marketing
Warn
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The
lib/backend_selector.pyscript implements a 'Tier 2' publishing mechanism that utilizessubprocess.run()to execute a command string defined in theTHREADS_SKILLS_CUSTOM_POSTERenvironment variable. This allows the execution of arbitrary shell commands within the agent's environment. - [DYNAMIC_EXECUTION]: The skill instructions explicitly encourage the AI agent to 'build a custom poster' and set the execution path in an environment variable at runtime. This pattern of dynamic command construction and execution significantly increases the attack surface, as the agent's logic for building the command could be subverted by malicious input.
- [INDIRECT_PROMPT_INJECTION]: The
threads-audience-insightsandthreads-hook-extractorskills process untrusted external data retrieved via the Apify API (e.g., niche posts, competitor bios) or pasted from the user's clipboard. This data is used to extract strategies and draft content. - Ingestion points:
ApifyClientfetches remote content from the Threads platform; multiple skills accept user-pasted text as primary input for analysis. - Boundary markers: The skill bundle implements a 'human-in-the-loop' approval card via
lib/approval.py, requiring explicit user consent before any action is taken. However, the initial processing of untrusted data occurs before this boundary. - Capability inventory: The agent has network access via the
requestslibrary, file system access to manage thevoice-profile.mdfile, and shell execution capabilities through the DIY poster feature. - Sanitization: The
threads-humanizerskill provides style-based scrubbing for AI tells (e.g., removing em-dashes and specific vocabulary), but does not implement security-focused sanitization or instruction filtering for incoming social media data.
Audit Metadata