Back to skill

Security audit

Web Search by Desearch

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Desearch web-search wrapper that sends user search queries to Desearch using the user's API key.

Install this only if you are comfortable sending search queries to Desearch and using a Desearch API key from your environment. Review your account billing and key permissions because the skill will authenticate requests with DESEARCH_API_KEY.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill requires access to an environment variable containing an API key and performs outbound network access, but it does not declare an explicit tool scope such as permissions or allowed-tools. This creates an authorization gap where the runtime may permit broader capabilities than reviewers or policy systems can easily verify, increasing the risk of unintended secret exposure or ungoverned external requests.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

This Python code performs an outbound HTTP request to api.desearch.ai and includes both the user's query in the URL parameters and the DESEARCH_API_KEY in the Authorization header. Although the module docstring documents the API key requirement, there is no runtime disclosure, confirmation, or visible warning that user input is transmitted to a third-party service.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.