Back to skill

Security audit

123

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Tavily web search and URL extraction helper, with expected external API use and no hidden persistence or destructive behavior found.

Install this only if you are comfortable using Tavily as a third-party search and extraction provider. Avoid sending private, internal, or sensitive URLs or queries unless your Tavily account and data-handling requirements allow it.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (10)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill requires environment access for TAVILY_API_KEY and performs network operations through the Tavily API, but it does not declare any explicit tool scope such as permissions or allowed-tools. This creates a least-privilege and transparency problem: a host agent may grant broader capabilities than intended, and reviewers cannot easily verify or constrain what the skill is allowed to access.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The script accepts arbitrary user-provided URLs and sends them to an extraction endpoint that returns raw page content, which is broader and more privacy-sensitive than concise search snippets. In an agent skill context, this can be abused to retrieve and expose content from unexpected targets, increasing data handling and policy risks.

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",

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill is described as a web search tool returning concise results, but this script performs arbitrary URL extraction and returns full page content. That mismatch expands capability beyond the declared scope, which can mislead users and downstream agents into sending sensitive or unintended URLs for retrieval and disclosure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The script transmits both user-supplied URLs and the API key to an external service without any warning, consent prompt, or disclosure in the script. In an agent environment, this can cause users or orchestrators to unintentionally send sensitive targets or metadata to a third party, creating privacy and compliance exposure.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The manifest describes an AI-optimized web search skill that returns relevant results. While making a network request is expected for that purpose, directly reading credentials from process environment is a separate capability not stated in the manifest and exceeds the user-visible scope of 'web search' itself.

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
91% confidence
Finding

This code sends user-supplied query data and an API credential to an external service via a POST request. While the script name implies search behavior, there is no visible comment, prompt, or user-facing notice in this file that the query will be sent to Tavily's API.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.