xfetch
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill requires the installation of third-party Python packages
twikitandbrowser_cookie3from the Python Package Index (PyPI) to facilitate X GraphQL interaction and browser cookie retrieval. - [COMMAND_EXECUTION]: The skill executes shell commands to install dependencies via
pipand runs a local Python scriptscripts/xfetch.pyto perform data extraction tasks. - [DATA_EXFILTRATION]: The skill contains functionality (
auth extractcommand) to access local browser profile directories to retrieve session cookies forx.com. It stores these credentials in a local configuration file at~/.config/xfetch/cookies.jsonusing restricted file permissions (0o600), which is a standard and documented feature of the tool's primary purpose. - [INDIRECT_PROMPT_INJECTION]: The skill presents a surface for indirect prompt injection by ingesting unmoderated user content from X.com.
- Ingestion points: Untrusted data enters the agent context via GraphQL API responses processed in
scripts/xfetch.py(specifically in theextract_timelineandparse_tweetfunctions). - Boundary markers: The skill does not employ specific delimiters or instructions to the agent to ignore potentially malicious content embedded within the fetched tweets.
- Capability inventory: The skill has the capability to perform network requests to X.com, write to the local filesystem (JSON, CSV, SQLite), and read local browser data.
- Sanitization: The script does not perform sanitization of the retrieved tweet text before outputting it to the agent.
Audit Metadata