T09 · Insecure Skill Coding Practices
- Location
scripts/extract_transcript.py:87- Finding
TLS Certificate Verification Disabled for yt-dlp Network Requests
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill does what it claims, but it asks users to provide YouTube browser cookies while disabling TLS certificate verification for part of the download flow.
Review before installing. Use this only with public videos unless you are comfortable handling YouTube cookies like passwords. Avoid exporting browser cookies from a primary account, do not leave cookie files in shared directories, delete them after use, and be aware that captions and video metadata are cached locally. The TLS certificate bypass should be fixed before using cookies or running on untrusted networks.
scripts/extract_transcript.py:87TLS Certificate Verification Disabled for yt-dlp Network Requests
SKILL.md:99Unpinned Third-Party Package Installation and Unrestricted Upgrades
The documentation instructs users to export browser cookies and supply them to the tool, but it does not warn that these cookies are authenticated session secrets that can grant account access if mishandled. Encouraging storage of such files in the skill directory without guidance on permissions, scope, rotation, or deletion increases the risk of credential theft or unintended reuse.
The script makes outbound requests to YouTube/caption URLs and persists downloaded metadata and captions to a local cache without explicit user-facing notice beyond implementation details. In a skill context, this can create privacy and operational surprises: users may not realize a provided URL triggers network access and that transcript/metadata artifacts remain on disk, potentially exposing viewing interests or retained content to other local users/processes.
Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
The skill explicitly states that transcripts are cached locally, but it does not clearly warn that video-derived content and metadata will be written to disk and may persist after the session. This can expose potentially sensitive viewing-related content to other local users, backups, or later forensic inspection, especially in shared or managed environments.
The top-level docstring and CLI description describe the script as extracting YouTube transcripts, suggesting a narrow purpose. However, when --json is used, the code returns a larger metadata bundle from L451-L464, which goes beyond transcript extraction and contradicts the narrow framing in the documentation.
No suspicious patterns detected.