Skip to content

fix(yt-dlp): bump runtime dependencies for security advisories - #463

Open
wjsoj wants to merge 1 commit into
hypit-ai:mainfrom
wjsoj:fix/yt-dlp-runtime-security-deps
Open

wjsoj wants to merge 1 commit into
hypit-ai:mainfrom
wjsoj:fix/yt-dlp-runtime-security-deps

Conversation

@wjsoj

@wjsoj wjsoj commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Part of #480

Summary

This updates the locked transitive dependencies of the pinned yt-dlp runtime (packages/yt-dlp/runtime/uv.lock) to clear the open Dependabot alerts for that manifest. Only uv.lock changes. pyproject.toml and the TypeScript code are untouched.

Alerts fixed

Alert Package Advisory Old → New
#219 certifi emSign CA with compromised intermediates (critical), fixed in 2026.10.18 2026.7.22 → 2026.10.23
#205 brotli CVE-2026-111497, out-of-bounds write (critical), fixed in 1.2.1 1.2.0 → 1.2.1
#206 brotlicffi CVE-2026-111497, out-of-bounds write (critical), fixed in 1.2.1.0 1.2.0.2 → 1.2.1.0

The lock was regenerated with uv lock --upgrade-package certifi --upgrade-package brotli --upgrade-package brotlicffi. No other packages changed version.

Verification

  • Every alert is real. All three packages come in through yt-dlp[default]:
    • certifi is installed unconditionally.
    • brotli is installed on CPython.
    • brotlicffi is installed on non-CPython interpreters.
  • The runtime is installed by hypit download prepare, or by uv sync --project packages/yt-dlp/runtime --frozen, so these locked versions are the ones that ship.
  • uv lock --check passes.
  • uv sync --frozen in a clean temp copy of the runtime installs without errors:
    • yt-dlp --version prints 2026.08.19.
    • certifi 2026.10.23 and brotli 1.2.1 import correctly, along with curl_cffi.
  • yt-dlp itself stays pinned at 2026.8.19. Every published GitHub advisory for yt-dlp is fixed in 2026.7.4 or earlier, so this version is not affected and no bump is needed.

Tests

  • pnpm install --frozen-lockfile: OK
  • node --import tsx --test packages/yt-dlp/test/*.test.ts: 7/7 passed
  • pnpm check (tsc --noEmit): passed

Alerts not fixed

None. All open alerts on this manifest are addressed.

Notes

  • uv rewrote the lock header from revision = 3 to revision = 5. This is harmless and backward-compatible.

Upgrade the locked transitive dependencies of the pinned yt-dlp runtime:
- certifi 2026.7.22 -> 2026.10.23 (emSign CA with compromised intermediates)
- brotli 1.2.0 -> 1.2.1 (CVE-2026-111497)
- brotlicffi 1.2.0.2 -> 1.2.1.0 (CVE-2026-111497)

yt-dlp stays at 2026.8.19, which is not affected by any published advisory.
SanHsien added a commit to SanHsien/hypit that referenced this pull request Nov 7, 2026
…i#460-hypit-ai#474; advance watermarks

No PR was merged upstream, so nothing was cherry-picked: 11 PRs = 5 defer
(hypit-ai#464 hypit-ai#466 hypit-ai#467 hypit-ai#469 hypit-ai#471, pinned in monitored) + 6 not applicable; 5 issues =
1 defer (hypit-ai#473) + 4 not applicable. hypit-ai#464 npm pin is moot because the fork gates
publish jobs to upstream (b641cce). ROADMAP row updated with the deferred items.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant