Skip to content

🛡️ chore: Update Vulnerable Dependencies - #346

Merged
danny-avila merged 1 commit into
mainfrom
lia/update-vulnerable-deps
Nov 18, 2026
Merged

danny-avila merged 1 commit into
mainfrom
lia/update-vulnerable-deps

Conversation

@lia-by-librechat

@lia-by-librechat lia-by-librechat Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Patch PyJWT, pypdf, and sentence-transformers; require patched Transformers.
  • Upgrade FastAPI and Unstructured so both images can resolve patched Starlette and Filelock. Set a Starlette security floor.
  • Align test HTTPX with the Google SDK and cover malformed-Host authentication bypasses.

Verification

  • Full dependency resolution and pip-audit, including test dependencies: 210 packages, no known vulnerabilities or skipped packages.
  • Lite dependency resolution and pip-audit, including test dependencies: 174 packages, no known vulnerabilities or skipped packages.
  • Python 3.12 focused API/authentication/upload/document-loader tests: 137 passed, 6 skipped (pandoc unavailable).
  • Configuration/query/batch compatibility tests: 69 passed.
  • Local Hugging Face and tiny BERT model save/load, normalized document/query embeddings, and OCR imports: passed with CPU-only PyTorch.
  • Host-header bypass reproduction using the production middleware: old stack accepts all three malformed requests (200); patched stack rejects them (401).
  • Installed dependency compatibility, shared-manifest consistency, Python compilation, and git diff checks: passed.
  • Not run locally: Docker image builds, real PostgreSQL integration tests, GPU inference.

GitHub's private Dependabot alerts returned HTTP 403; the audit uses public advisory data and fully resolved dependency trees, without ignored findings.

Review

Independent read-only review of b23c43ee7622d95a404395a30337cd01c4cb47ef: no findings. Runtime checks and audits above were run locally, not repeated by the reviewer.

@lia-by-librechat

lia-by-librechat Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Head: b23c43e. Both full/lite resolved dependency trees pass pip-audit with no vulnerabilities, skipped packages, or ignored findings. Local verification: 206 tests passed; 6 skipped without pandoc; local tiny-BERT/Hugging Face embeddings and dependency checks passed. Reproduced malformed-Host auth bypass on the old stack and rejection on the patched stack. Independent read-only review: complete, no findings. CI status is tracked in the PR checks.

@danny-avila
danny-avila merged commit 97633ad into main Nov 18, 2026
1 check passed
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.

2 participants