Back to skill

Security audit

Tavily Search

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Tavily web-search helper that discloses its external API call and does not show hidden persistence, local data access, or destructive behavior.

Install this only if you are comfortable sending your search queries and selected Tavily request fields to Tavily using your API key. Do not put secrets, credentials, private user data, or long prompt contents in the JSON body; use concise search queries and domain/date filters when possible.

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 (8)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding

The skill invokes shell-based functionality (curl via a wrapper script) but does not declare any explicit tool scope such as allowed tools or permissions. This creates a governance gap: agents may execute network-capable shell commands without a clear least-privilege contract, increasing the chance of unintended command execution or misuse in broader environments.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 46)May include surrounding context.

./scripts/search.sh --json '{"query": "NVIDIA stock analysis", "search_depth": "advanced"}'

text

### Equivalent curl

The script is a thin wrapper around this call:

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 52)May include surrounding context.

md
if [ -z "$JSON_INPUT" ]; then
    echo "Usage: ./search.sh --json '<json>'"
    echo ""
    echo "The JSON body is sent directly to POST https://api.tavily.com/search"
    echo ""
    echo "Required fields:"
    echo "  query: string - Search query (keep under 400 chars)"

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 66)May include surrounding context.

md
if [ -z "$JSON_INPUT" ]; then
    echo "Usage: ./search.sh --json '<json>'"
    echo ""
    echo "The JSON body is sent directly to POST https://api.tavily.com/search"
    echo ""
    echo "Required fields:"
    echo "  query: string - Search query (keep under 400 chars)"

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/search.sh (reported line 37)May include surrounding context.

sh
if [ -z "$JSON_INPUT" ]; then
    echo "Usage: ./search.sh --json '<json>'"
    echo ""
    echo "The JSON body is sent directly to POST https://api.tavily.com/search"
    echo ""
    echo "Required fields:"
    echo "  query: string - Search query (keep under 400 chars)"

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/search.sh (reported line 62)May include surrounding context.

sh
if [ -z "$JSON_INPUT" ]; then
    echo "Usage: ./search.sh --json '<json>'"
    echo ""
    echo "The JSON body is sent directly to POST https://api.tavily.com/search"
    echo ""
    echo "Required fields:"
    echo "  query: string - Search query (keep under 400 chars)"

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · scripts/search.sh (reported line 61)May include surrounding context.

sh
fi

# --- call Tavily REST API -----------------------------------------------
printf '%s' "$JSON_INPUT" | curl -s --request POST \
    --url "https://api.tavily.com/search" \
    --header "Authorization: Bearer $TAVILY_API_KEY" \
    --header 'Content-Type: application/json' \

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
78% confidence
Finding

The script posts the provided JSON payload directly to Tavily's external REST API, which may include user or system data. Although the header comment and usage text describe the API call, there is no runtime confirmation or explicit privacy warning before transmission.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.