Back to skill

Security audit

Youtube Download

Security checks for vulnerabilities and agentic risk

Overview

This skill does what it claims: it downloads a user-provided YouTube video to the local Downloads folder using yt-dlp.

Install only if you intend to let the agent download YouTube media to your Downloads folder. Review the URL before running it, expect files to be created locally using the video title as the filename, and ensure yt-dlp comes from a trusted package source such as Homebrew.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Vague Triggers

Medium
Confidence
94% confidence
Finding
The phrase "Or just give me the URL and I'll run it for you" creates an overly broad trigger that can cause the agent to invoke the skill without an explicit, well-bounded confirmation step. Because this skill performs a filesystem write and may initiate network activity, ambiguous invocation increases the chance of unintended downloads or misuse from loosely related user messages.

Missing User Warnings

Low
Confidence
88% confidence
Finding
The skill description explains that files are written to ~/Downloads, but it does not present this as a clear user-facing warning at the point of use. Without an explicit warning or confirmation, users may not realize that invoking the skill will create files on disk, which can lead to surprise writes, clutter, or accidental handling of untrusted media.

Static analysis

No suspicious patterns detected.