youtube-downloader
Fail
Audited by Gen Agent Trust Hub on Aug 3, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill implements a workflow to extract session cookies from the user's browser.
- It uses Playwright to navigate to Google login pages and executes JavaScript (
document.cookie) to harvest authentication tokens for.youtube.comand.google.comdomains. - These sensitive session credentials are then written to a plaintext file at
/tmp/yt-cookies.txt. - [EXTERNAL_DOWNLOADS]: The skill performs multiple automated and silent software installations.
- It executes
pip installforyt-dlp,ffmpeg-static, andimageio[ffmpeg]without user confirmation. - It attempts silent system-level installations using
apt-get install -y nodejsandbrew install node. - [COMMAND_EXECUTION]: The skill constructs and executes shell commands that incorporate external user-provided data.
- User-provided URLs are interpolated directly into
yt-dlpcommands, creating a potential surface for command injection if the agent does not properly sanitize the input. - [DATA_EXFILTRATION]: The extraction of browser session cookies represents a significant data exposure risk. While the stated purpose is for authentication, these tokens grant full access to the user's account and are stored in an insecure temporary location.
- [PRIVILEGE_ESCALATION]: The skill attempts to use system package managers (
apt-get,brew) to install software, including instructions to usesudoforapt-getcommands, which escalates the agent's permissions on the host system.
Recommendations
- AI detected serious security threats
Audit Metadata