Commit d70a286
authored
fix: bump vulnerable transitive deps to clear CVEs (#202)
* fix: bump vulnerable transitive deps to clear CVEs
Address the security advisories tagged for the `sdk` repo. All are
transitive dependencies, pinned to safe versions via pnpm overrides
(TS) and a uv constraint (Python):
- rollup 4.57.1 -> 4.62.2 (CVE-2026-27606)
- vite 7.3.1 -> 7.3.6 (CVE-2026-39363, CVE-2026-39364, CVE-2026-53571)
- minimatch 5.1.6 -> 5.1.9 (CVE-2026-27903)
- fast-uri 3.1.0 -> 3.1.3 (CVE-2026-6321, CVE-2026-6322)
- ws 8.18.3 -> 8.21.1 (CVE-2026-48779)
- urllib3 2.6.3 -> 2.7.0 (CVE-2026-44431, CVE-2026-44432)
vite is only a peer dep of vitest, so pnpm's auto-installed peer would
not re-resolve from the override alone; it is also declared as a direct
devDependency to force the safe version.
Type-check, build, and the vibe test suites pass for both SDKs.
* fix: publish urllib3 floor in x402 extra so it reaches consumers
The [tool.uv] constraint only affected this repo's lockfile resolution;
it is not emitted into wheel metadata, so `pip install browser-use-sdk[x402]`
could still resolve the vulnerable urllib3 2.6.3 in a consumer environment.
Move the >=2.7.0 floor into the published x402 extra (same python>=3.10
marker as x402 itself, since urllib3 only enters via x402[evm] -> web3 ->
requests). Now emitted as:
Requires-Dist: urllib3>=2.7.0; (python_version >= '3.10') and extra == 'x402'1 parent 66dc198 commit d70a286
4 files changed
Lines changed: 1743 additions & 1713 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
101 | 111 | | |
0 commit comments