fix: update vulnerable dependencies#3
Conversation
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pyproject.toml`:
- Around line 85-99: The override in [tool.uv].override-dependencies only
affects uv's resolver and doesn't change the published PEP 621 metadata, so add
the same minimum version constraints to the package's declared dependencies in
the pyproject.toml project metadata (the project.dependencies /
project.optional-dependencies entries) for fastapi and uvicorn so pip installs
respect them; specifically update the project dependency entries for "fastapi"
to fastapi>=0.135.1 and for "uvicorn" to uvicorn>=0.42.0 so installs like pip
install strix-agent[sandbox] cannot bypass the security lower bounds.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 39377dcf-b5b5-4ceb-b0c4-a456a379332d
⛔ Files ignored due to path filters (1)
uv.lockis excluded by!**/*.lock
📒 Files selected for processing (1)
pyproject.toml
Greptile Summary
Confidence Score: 5/5Safe to merge — all security bumps are in place, tests pass, and the only findings are P2 suggestions about missing override floors. All P2 findings: one suggestion to add a cryptography lower-bound override, plus pre-existing notes on the click/typer downgrade and restrictedpython addition. No P0 or P1 issues. The PR description reports clean pip-audit, bandit, and 110-passing test runs. pyproject.toml — review the override-dependencies block for any missing security-patched packages (cryptography, aiohttp, etc.). Important Files Changed
Reviews (2): Last reviewed commit: "fix: enforce sandbox dependency floors" | Re-trigger Greptile |
Summary
polars[rtcompat]so Polars imports on CPUs without AVX features.Fork Dependabot alert scope
Seongho-Bae/strix.Upstream delivery
usestrix/strix.Verification
uv lock --checkuv sync --locked --all-extras --devuv run python -c "import litellm, requests, pytest, multipart, fastapi, openai, starlette, uvicorn, polars, jwt, importlib_metadata; print('dependency smoke ok')"uv run --with pip-audit pip-audit --progress-spinner off(No known vulnerabilities found)uv run pytest(110 passed)uv run bandit -r strix/ -c pyproject.toml(No issues identified)git diff --checkPYTHONPATH="${OPENCODE_HOME:-$HOME/.config/opencode}" python3 -m scripts.lint_by_filetype --jsonReview notes
bd0d80e.