x-scanner
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from X/Twitter, which is a known vector for indirect prompt injection attacks where malicious instructions could be embedded in tweets to influence the agent's behavior.
- Ingestion points: The
scripts/scan_x.pyscript fetches real-time post content from X/Twitter via the xAI Grok API search tool. - Boundary markers: The prompt sent to the Grok API (in
scan_x.py) lacks explicit boundary markers or instructions to treat the ingested tweet content as potentially untrusted data. - Capability inventory: The skill has permissions to read the
.envfile, perform network operations to the xAI API, and write digest files to the local filesystem via thescripts/scheduled_scan.shscript. - Sanitization: The script does not perform sanitization or filtering of the tweet content beyond asking the LLM to skip 'generic motivational posts' and 'pure promo'.
Audit Metadata