search-layer
Fail
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/fetch_thread.pyattempts to read~/.git-credentialsto extract GitHub authentication tokens. - [CREDENTIALS_UNSAFE]: Multiple scripts, including
scripts/search.pyandscripts/relevance_gate.py, read a configuration file at~/.openclaw/credentials/search.jsoncontaining API keys for Grok, Exa, and Tavily. - [INDIRECT_PROMPT_INJECTION]: The skill represents a surface for indirect prompt injection by processing content from arbitrary external sources like Reddit, GitHub, and general search results.
- Ingestion points: Untrusted data enters via
scripts/fetch_thread.pyandscripts/search.py. - Boundary markers: Missing specific delimiters for external content to prevent the agent from executing instructions embedded in search snippets or discussion threads.
- Capability inventory: The skill can perform network operations via
requestsandurlliband follows links recursively throughscripts/chain_tracker.py. - Sanitization: Content is cleaned of HTML tags but is not sanitized or filtered for malicious instructional content.
- [DYNAMIC_EXECUTION]:
scripts/search.pyuses theimportlib.utilmodule to dynamically load thescripts/fetch_thread.pyscript at runtime.
Recommendations
- AI detected serious security threats
Audit Metadata