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.pyusessubprocess.runto execute local CLI tools (defuddleandnpx). Theurlparameter, 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_localfunction inscripts/anysearch.pyattempts to runnpx --yes defuddle. The--yesflag causesnpxto automatically download and execute thedefuddlepackage 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.comandanysearch.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
extractcommand inscripts/anysearch.pyfetches 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