twitter-reader
Fail
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The SKILL.md documentation includes a command pattern that pipes output from
curldirectly topython3. While the provided example uses the-cflag for parsing JSON, the structural pattern of piping remote network content into an interpreter represents a significant execution risk surface if modified or redirected. - [EXTERNAL_DOWNLOADS]: The
scripts/fetch_article.pyscript utilizesuv run --with twitter-clito dynamically download and execute thetwitter-clipackage from a remote registry at runtime. This practice bypasses static dependency pinning and introduces supply chain risks, as the code executed is determined at the time of invocation. - [COMMAND_EXECUTION]: The scripts
fetch_article.py,fetch_tweet.py, andfetch_tweets.shusesubprocess.runor direct shell execution to call system binaries likecurlanduv. Although basic URL prefix validation is performed, passing user-supplied URLs as arguments to these tools increases the attack surface for potential command injection or exploitation of the underlying binaries. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: The skill retrieves content from external, untrusted sources including Twitter/X posts and long-form articles via
scripts/fetch_article.pyandscripts/fetch_tweet.py. - Boundary markers: The skill lacks explicit boundary markers or instructions to the agent to ignore embedded commands when processing the fetched content.
- Capability inventory: The skill possesses capabilities to write files to the local system (
Path.write_text) and execute shell commands (subprocess.run). - Sanitization: While filenames are sanitized to prevent path traversal, the actual content of the tweets and articles is not filtered for malicious instructions or prompt injection attempts.
Recommendations
- HIGH: Downloads and executes remote code from: https://api.fxtwitter.com/ - DO NOT USE without thorough review
Audit Metadata