anysearch

Warn

Audited by Gen Agent Trust Hub on Sep 30, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/anysearch.py uses subprocess.run to execute local CLI tools (defuddle and npx). The url parameter, which can be provided by the agent or a user, is passed as a direct argument to these tools. While it does not use a shell environment (shell=True), passing unvalidated input to CLI tools can lead to argument injection or unexpected behavior if the underlying tool does not handle special characters safely.
  • [REMOTE_CODE_EXECUTION]: The _extract_local function in scripts/anysearch.py attempts to run npx --yes defuddle. The --yes flag causes npx to automatically download and execute the defuddle package from the public npm registry without user confirmation. This represents the execution of unverifiable remote code at runtime.
  • [EXTERNAL_DOWNLOADS]: The skill makes network requests to several external domains to fetch webpage content and search results:
  • api.anysearch.com and anysearch.com: Fetches search results and manages API keys via the vendor's primary infrastructure.
  • r.jina.ai: Fetches stripped markdown content from a third-party reader service.
  • defuddle.md: Fetches markdown content from a third-party reader service.
  • [INDIRECT_PROMPT_INJECTION]: The skill possesses a significant attack surface for indirect prompt injection attacks.
  • Ingestion points: The extract command in scripts/anysearch.py fetches and renders the full text content of arbitrary URLs discovered via search.
  • Boundary markers: The skill does not use specific delimiters or instructions to prevent the agent from obeying commands embedded within the fetched webpage content.
  • Capability inventory: The skill has the ability to execute shell commands (subprocess.run), perform network operations (urllib.request), and write to the local file system to store API keys (_save_key_state).
  • Sanitization: Content is only subjected to basic trimming and character budget clipping; no sanitization or filtering of malicious instructions is performed.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 30, 2026, 08:23 PM