Back to skill

Security audit

youtube-api

Security checks for vulnerabilities and agentic risk

Overview

This YouTube helper is mostly coherent, but it asks agents to broadly auto-use a third-party service and persist API credentials in a way users may not clearly control.

Review this before installing if you care about privacy or credential control. Use it only when you intentionally want YouTube data routed through TranscriptAPI, and prefer manually setting the API key in a trusted secret manager instead of letting the skill create an account or persist credentials broadly.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (5)

Vague Triggers

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The trigger language is unusually broad: it says to use the skill for any request where YouTube content would help, even if not mentioned explicitly. That can cause implicit invocation on ordinary research requests and send user queries or identifiers to a third-party API without a clear, specific user intent to use this service.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

This file instructs the agent to obtain, handle, and persist TranscriptAPI credentials, including creating third-party accounts and completing OTP-based verification on the user's behalf. That behavior is materially outside the declared YouTube-data retrieval scope, creating an unjustified secret-handling and account-provisioning capability that could be abused for credential capture or unauthorized persistence of access.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The instructions tell the agent to persistently store a third-party API key so it survives future sessions and non-interactive shells, which expands the blast radius far beyond the immediate task. In the context of a YouTube helper skill, this creates unnecessary long-term credential retention and increases the risk of secret exposure, misuse by other workflows, or cross-session abuse.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The documentation explains how to call TranscriptAPI but does not clearly warn that user-provided search terms, video URLs, channel handles, playlists, and related metadata are transmitted to a third-party service. In a skill designed for broad automatic use, that omission creates a privacy and data-governance risk because users may not realize their inputs are being disclosed externally.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The guidance has the agent collect and store a sensitive API key without clearly warning the user that the secret may be retained persistently and available to future sessions. That omission undermines informed consent and can lead users to disclose credentials without understanding storage, reuse, and compromise risks.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.