duckduckgo-search

Warn

Audited by Gen Agent Trust Hub on Sep 27, 2026

Risk Level: MEDIUMEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill recommends installing a Python package named ddgs via pip install ddgs. However, the official and widely-used library for DuckDuckGo search is duckduckgo-search. Recommending an incorrect package name is a supply chain risk that can lead to the installation of malicious or unrelated software (typosquatting).
  • [EXTERNAL_DOWNLOADS]: The skill mentions validation against ddgs==9.11.2. This version number does not align with the version history of the legitimate duckduckgo-search library, further indicating a potential dependency confusion or promotion of an untrusted package.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests search results (titles, snippets, and bodies) from the live web via DuckDuckGo. These results constitute untrusted external data.
  • Ingestion points: Data enters the agent context through the ddgs CLI output and the DDGS Python class results in SKILL.md and scripts/duckduckgo.sh.
  • Boundary markers: The instructions do not define boundary markers or recommend "ignore instructions" prompts when processing search results.
  • Capability inventory: The skill uses terminal and execute_code capabilities, which are high-impact if an injection attack succeeds.
  • Sanitization: There is no evidence of sanitization or validation of the search results before they are processed by the agent.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 27, 2026, 04:37 AM