twitter-search
Warn
Audited by Gen Agent Trust Hub on Sep 24, 2026
Risk Level: MEDIUMPERSISTENCECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [PERSISTENCE]: The
SKILL.mdinstructions suggest persisting sensitive credentials by appending export commands to the user's shell configuration files (~/.bashrcor~/.zshrc). - [COMMAND_EXECUTION]: The wrapper script
scripts/run_search.shaccesses and executes content from local configuration files using a combination ofgrepandevalto retrieve theTWITTER_API_KEYenvironment variable. - [EXTERNAL_DOWNLOADS]: The shell script
scripts/run_search.shincludes logic to automatically install therequestslibrary viapip3 install --userif it is missing from the environment. Additionally, the Python script fetches data from a non-whitelisted third-party domainapi.twitterapi.io. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze up to 1000 tweets, which are untrusted third-party inputs that could contain malicious instructions.
- Ingestion points:
scripts/twitter_search.pyretrieves tweet content from the Twitter API wrapper. - Boundary markers: The instructions lack explicit delimiters or guidance for the agent to treat tweet content as untrusted data or to ignore embedded instructions within the tweets.
- Capability inventory: The skill possesses network access capabilities and the ability to execute local shell and Python scripts.
- Sanitization: The script performs structural extraction of JSON fields but does not sanitize or filter the raw tweet text for potential injection attacks before the agent analyzes it.
Audit Metadata