security: upgrade transitive dependencies to fix 100 Dependabot vulnerabilities#1318
Merged
Merged
Conversation
Run uv lock --upgrade on all packages (except assistant) to fix: - h11 CVE-2025-43859 (critical) - urllib3, cryptography, pillow, pypdf vulnerabilities Key upgrades: - cryptography 46.0.4 -> 46.0.5 - pypdf 6.6.2 -> 6.7.5 - h11 to 0.16.0 - pillow 12.1.0 -> 12.1.1 Also fix compatibility with jsonpath-ng 1.8.0 which changed the Index class API from 'index' attribute to 'indices' tuple. Skipped: assistant (blocked by robocorp-flet httpx/h11 conflicts) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fix upper-bound version constraints that were blocking secure versions: - packages/main: cryptography>=44.0.1,<45 -> >=46.0.5 - packages/recognition: pillow >=10.2.0,<12.0.0 -> >=10.2.0 (allows 12.1.1 on Python 3.10+) - packages/pdf: pypdf >=6.6.2 -> >=6.7.5 Fix sema4ai cryptography via override-dependencies since robocorp-vault 1.3.9 hard-caps cryptography<46.0.0: - packages/sema4ai: add override-dependencies = ["cryptography>=46.0.5"] Add recognition and pdf as local uv sources in root pyproject.toml so the root uv.lock resolves updated constraints (pillow 12.1.1 for Python >= 3.10). Regenerate lock files for main, recognition, sema4ai, and root. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RPA.JSONlibraryVulnerability Fixes
Code Changes
RPAFilter.filter()to useindicestuple instead of deprecatedindexattribute (jsonpath-ng 1.8.0 breaking change)Skipped
Test plan
🤖 Generated with Claude Code
Note
Medium Risk
Medium risk due to broad dependency/lockfile upgrades that can change runtime behavior across multiple packages; the only code change is small but touches JSONPath filtering logic.
Overview
Security maintenance PR that refreshes dependency resolution across the repo (primarily
uv.lockupdates) to pick up patched transitive versions addressing a large set of Dependabot alerts (e.g.,h11,cryptography,pypdf,pillow). Theassistantpackage is intentionally left out due to upstreamhttpx/h11constraints.Also updates
packages/main/src/RPA/JSON.py(RPAFilter.filter()) to adapt to thejsonpath-ng1.8.0+ breaking change by using theindicestuple instead of the deprecatedindexattribute when converting numeric indices to dict keys.Written by Cursor Bugbot for commit 485c786. This will update automatically on new commits. Configure here.