Back to skill

Security audit

Xiaogua Tavily Search

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Tavily web-search wrapper that sends searches to Tavily and does not show hidden persistence, unrelated local access, or deceptive behavior.

Install this only if you are comfortable sending search queries and your Tavily API key to Tavily. Prefer an environment variable for the key on shared systems, avoid sensitive private queries, and keep any local .secrets/tavily.key file private.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

External Transmission

Medium
Category
Data Exfiltration
Content
except Exception:
    pass

API_URL = "https://api.tavily.com/search"
DEFAULT_NOISY_DOMAINS = {
    "facebook.com",
    "m.facebook.com",
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Natural-Language Policy Violations

Low
Confidence
83% confidence
Finding
The manifest description and introductory sections present bilingual Chinese content by default, which imposes a locale choice in the skill's natural-language interface rather than offering language selection. The policy specifically calls for flagging language or locale constraints when they are not optional or justified as region-specific.

Missing User Warnings

Low
Confidence
83% confidence
Finding
This code sends the search query and API key to the external Tavily API, but the script does not print, prompt, or otherwise explicitly warn the user at execution time that their query will be transmitted to a third-party service. Although the script's purpose is web search, there is no visible runtime disclosure about the outbound data flow.

Static analysis

No suspicious patterns detected.