Back to skill

Security audit

Tavily Search

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Tavily search/extraction helper; it sends user-provided queries or URLs and the Tavily API key to Tavily, which is expected for its purpose.

Install only if you are comfortable sending search queries, submitted URLs, and your Tavily API key to Tavily. Do not use it with secrets, confidential prompts, credentials, or internal-only URLs unless your Tavily account and data-handling requirements allow that.

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)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
node scripts/search.mjs "What are the latest developments in agentic AI?"

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill declares that it requires environment variables and implicitly performs networked API calls, but it does not define an explicit tool scope such as permissions or allowed-tools. This weakens least-privilege boundaries and makes the skill's execution requirements less transparent to users and host agents, increasing the chance of unintended data exposure or over-broad execution in permissive runtimes.

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 · scripts/extract.mjs (reported line 24)May include surrounding context.

js
process.exit(1);
}

const resp = await fetch("https://api.tavily.com/extract", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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/extract.mjs (reported line 24)May include surrounding context.

js
process.exit(1);
}

const resp = await fetch("https://api.tavily.com/extract", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% 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.mjs (reported line 62)May include surrounding context.

js
process.exit(1);
}

const resp = await fetch("https://api.tavily.com/extract", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This code performs a network POST to a third-party API and transmits the provided URLs along with a credential from the environment. Although the script name and endpoint imply extraction, there is no confirmation prompt, disclosure message, or explanatory comment warning users that their input will be sent off-box to Tavily.

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 · scripts/search.mjs (reported line 62)May include surrounding context.

js
body.days = days;
}

const resp = await fetch("https://api.tavily.com/search", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The documentation instructs users to submit search queries and URLs to Tavily, but it does not clearly warn that this data is transmitted to a third-party service. Users may unknowingly send sensitive prompts, internal URLs, or proprietary research targets over the network, creating a privacy and confidentiality risk even if the feature works as intended.

Content

No source excerpt is available for this finding.