Skip to content

chore(deps): resolve remaining 18 Dependabot security alerts in worker_plan#835

Merged
neoneye merged 1 commit into
mainfrom
deps/worker-plan-security-alerts
Jul 23, 2026
Merged

chore(deps): resolve remaining 18 Dependabot security alerts in worker_plan#835
neoneye merged 1 commit into
mainfrom
deps/worker-plan-security-alerts

Conversation

@neoneye

@neoneye neoneye commented Jul 23, 2026

Copy link
Copy Markdown
Member

Summary

Resolves the 18 open Dependabot security alerts in worker_plan/pyproject.toml (the 19th, mcp in mcp_cloud, was fixed by merging dependabot PR #816):

Package Change Alerts resolved
pillow 12.2.0 → 12.3.0 13 (heap OOB writes, decompression bombs, DoS)
soupsieve 2.8.3 → 2.8.4 2 (ReDoS, memory exhaustion)
json_repair 0.58.7 → 0.60.1 1 (circular $ref CPU DoS)
transformers removed 2 (RCE in model loading paths)

Why transformers is removed instead of bumped

The only patched version is 5.5.0, a major-version jump requiring huggingface-hub >= 1.5. But transformers was never used by PlanExe code — it was only a hard dependency of llama-index-llms-openai-like < 0.6, used solely when a string tokenizer name is passed to OpenAILike (PlanExe never passes one). From 0.6.0 the package makes transformers an optional extra with a lazy import.

So instead:

  • llama-index-llms-openai-like 0.5.3 → 0.7.0 (satisfies existing pins: llama-index-core 0.14.12, llama-index-llms-openai 0.6.12)
  • llama-index-llms-openrouter 0.5.0 → 0.5.1 (its older pin required openai-like < 0.6)
  • Removed transformers and its now-orphaned transitive deps tokenizers, safetensors, huggingface-hub (nothing else in the freeze depends on them)

Verification

  • Fresh venv, replicated the CI install (worker_plan + mcp_cloud + worker_plan_database + frontend_multi_user): no resolver conflicts introduced (the fastapi/requests/uvicorn cross-manifest warnings are pre-existing on main)
  • python test.py: all worker_plan tests pass; only failures are the mcp_cloud tests that need PostgreSQL (expected outside Docker/CI)
  • Confirmed OpenAILike, ThinkingAwareOpenAILike and the openrouter module import and instantiate fine with transformers absent

🤖 Generated with Claude Code

Resolves the 18 remaining open Dependabot alerts in worker_plan/pyproject.toml: pillow 12.2.0 -> 12.3.0 (13 alerts), soupsieve 2.8.3 -> 2.8.4 (2 alerts), json_repair 0.58.7 -> 0.60.1 (1 alert), and transformers (2 alerts) removed entirely.

transformers was only in the freeze as a hard dependency of llama-index-llms-openai-like < 0.6. From 0.6.0 it is an optional extra, and no PlanExe code imports it or passes a string tokenizer that would need it. Bumping llama-index-llms-openai-like to 0.7.0 and llama-index-llms-openrouter to 0.5.1 (which requires openai-like >= 0.7) lets us drop transformers plus its now-orphaned dependencies tokenizers, safetensors and huggingface-hub.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@neoneye
neoneye merged commit 9f038d0 into main Jul 23, 2026
3 checks passed
@neoneye
neoneye deleted the deps/worker-plan-security-alerts branch July 23, 2026 22:02
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