search-layer
Fail
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/fetch_thread.pycontains logic to explicitly search for and read the~/.git-credentialsfile on the local file system to harvest plain-text GitHub authentication tokens.\n- [DATA_EXFILTRATION]: Thefetch_thread_urlfunction inscripts/fetch_thread.pyutilizesurllib.request.urlopento fetch content from arbitrary URLs without validating the protocol scheme. This permits an attacker or malicious search result to trigger the reading of sensitive local system files (e.g.,/etc/passwd) via thefile://protocol. Content retrieved this way is subsequently passed to external LLM APIs (such as the Grok completions endpoint) for analysis inscripts/chain_tracker.pyandscripts/relevance_gate.py, facilitating data exfiltration.\n- [INDIRECT_PROMPT_INJECTION]: The skill performs recursive fetching and synthesis of web content throughscripts/chain_tracker.py. This ingested untrusted content is interpolated directly into prompts sent to LLMs inscripts/relevance_gate.pywithout sufficient boundary markers, semantic filtering, or sanitization, making the agent vulnerable to indirect prompt injection where a malicious website could take control of the agent's reasoning loop.\n- [DYNAMIC_EXECUTION]: The skill employsimportlib.utilinscripts/search.pyto dynamically load and execute thefetch_thread.pymodule from a computed path. Furthermore,references/research-light-regression-samples.mdincludes a bash-embedded Python script that demonstrates dynamic execution of local modules using similar techniques.\n- [COMMAND_EXECUTION]: The instructions inSKILL.mdprompt the agent to execute shell commands with arguments influenced by user queries, which represents a potential command injection vector if the execution environment does not correctly sanitize the input string before shell interpolation.
Recommendations
- AI detected serious security threats
Audit Metadata