Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

yt-dlp/yt-dlp
master @ 2f3929b
4
Fixes
0
CVEs
CRITICAL
Peak severity
25.0%
Coverage
Highlights
Command Injection: 2 prior fixes. Scrutinize any change in this area.
yt_dlp/YoutubeDL.py: most-fixed (2 issues). Treat as high-risk during review.
4 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Command Injection: 1 historical fix(es) link yt_dlp/utils/_utils.py, yt_dlp/YoutubeDL.py to Command Injection.
Command Injection: 1 historical fix(es) link yt_dlp/postprocessor/exec.py, yt_dlp/utils/_utils.py, yt_dlp/compat/__init__.py to Command Injection.
Arbitrary File Access: 1 historical fix(es) link youtube_dl/YoutubeDL.py to Arbitrary File Access.