Repository navigation
fix(security): resolve Dependabot security vulnerabilities across workspace - #10831
undivisible wants to merge 11 commits into
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
28d39c8 to
3f9e342
Compare
…mple to patch ranges (~)
3f9e342 to
91312cc
Compare
tianmind-studio
left a comment
There was a problem hiding this comment.
Two blocking Windows dependency-resolution issues remain: the new transitive security overrides are not applied by pnpm, and the proposed React Router override would be an incompatible major/engine change once made effective.
| "vite": "^7.2.6", | ||
| "vitest": "^3.2.4" | ||
| }, | ||
| "overrides": { |
There was a problem hiding this comment.
[P1] Put Windows overrides in pnpm's active configuration.
desktop/windows installs from pnpm-lock.yaml, and this repo's existing pnpm overrides live in desktop/windows/pnpm-workspace.yaml. The npm-style top-level package.json.overrides block is not represented in the regenerated pnpm lock: this head still resolves @hono/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], and [email protected], despite the new block requesting newer versions. A frozen install therefore succeeds while shipping the versions this PR says it replaces. Move the applicable entries into the existing pnpm-workspace.yaml overrides: map and regenerate the lock, then verify the resolved versions rather than only the manifest text.
| "fast-uri": "~3.1.4", | ||
| "js-yaml": "~4.3.0", | ||
| "postcss": "~8.5.18", | ||
| "react-router": "~8.3.0", |
There was a problem hiding this comment.
[P1] Do not force React Router 8 beneath React Router DOM 7.
Once this override is moved into pnpm's effective configuration, it would replace [email protected]'s exact dependency on [email protected] with 8.3.x. That is a major-version API mismatch, not the patch-only update described by the PR. [email protected] also declares Node >=22.22.0, while the Windows package currently supports >=22.19.0 <23. Please either update and test the parent react-router-dom dependency as a coordinated major upgrade (and reconcile the Node engine), or use a compatible patched 7.x release; a transitive major override is unsafe.
Failure-Class: none Verification: pnpm install --frozen-lockfile; pnpm exec electron-builder install-app-deps; pnpm run typecheck; pnpm run lint; git diff --check.
tianmind-studio
left a comment
There was a problem hiding this comment.
Re-reviewed 5bf9369: pnpm overrides now live in pnpm-workspace.yaml, the lockfile stays on React Router 7.18.2 instead of v8, and both Windows Typecheck/Lint/Test and build smoke are green. The original blockers are resolved, so I'm approving. One non-blocking documentation nit: @hono/node-server is an intentional major security override to 2.0.12, and the React Router age exclusions are not part of the ACP/Anthropic group, so the rationale should avoid describing every Node change as patch-only or under that one dependency closure.
Git-on-my-level
left a comment
There was a problem hiding this comment.
Thanks for taking on the security dependency sweep here. I re-checked the current head after the Windows pnpm override fixes: the relevant CI/checks are green, and I don't see evidence of a malicious package-source swap in the lockfile changes from the cached diff.
Because this is still a broad security/dependency PR across Python, npm, pnpm, desktop, web, SDK, MCP, and lockfiles, I don't think it should receive automation approval. A maintainer should do the final dependency-policy signoff before merge, especially for the intentional runtime/engine-impacting updates such as Next/sharp and the agent-runtime dependency closures.
Agent/AI behavior note: this PR does not add natural-language agent instructions, but it does touch dependencies used by Omi's agent-facing/runtime surfaces (for example desktop/macos/agent, desktop/windows ACP/Claude/pi-coding-agent lockfile resolution, and backend requirements that feed runtime services). That can change how coding/review/agent integrations execute indirectly through dependency behavior, so the guidance is safe as a security update only if maintainers are comfortable with those version/engine changes.
Recommendation: positive signal / human dependency review required; no blocking issue from my pass, but no formal approval from automation for this risk surface.
by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.
|
Superseded by #10875, which has the identical head commit on a BasedHardware-owned branch as part of the fork retirement. |
|
Hey @undivisible 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
Summary
Resolves open Dependabot security vulnerabilities across the workspace by updating dependency manifests to patch-level range specifiers (
~=for Python,~for Node package.json/overrides), allowing automatic inclusion of future security patch releases in each minor version group without major/minor version breaking changes.Changes by Subsystem & Commit Structure
fix(backend): update vulnerable python dependencies to patch ranges (~=)(b970028fc6)backend/requirements.txt,backend/openapi-requirements.txt,backend/pusher/requirements.txt,backend/modal/requirements.txt) using PEP 440 compatible release constraints (~=e.g.,aiohttp~=3.14.1,cryptography~=48.0.1,GitPython~=3.1.55,httplib2~=0.32.0,langchain~=1.3.14,langchain-core~=1.4.9,langgraph~=1.2.10,langgraph-checkpoint~=4.1.1,langgraph-sdk~=0.4.2,langgraph-prebuilt~=1.1.0,langsmith~=0.8.18,msgpack~=1.2.1,pillow~=12.3.0,pyarrow~=23.0.1,pyasn1~=0.6.4,PyJWT~=2.13.0,python-multipart~=0.0.31,starlette~=0.49.3,torch~=2.10.0,tornado~=6.5.7,websockets~=15.0.1).pylock.toml,pylock.macos.toml,pylock.windows.toml, etc.) via./backend/scripts/update-python-lock.sh.fix(desktop): update vulnerable dependencies in desktop apps to patch ranges (~)(364570239b)~) inpackage.jsonandoverridesfordesktop/macos/agent,desktop/macos/demo,desktop/macos/pi-mono-extension, anddesktop/windows.fix(web): update vulnerable dependencies in web applications to patch ranges (~)(c6e5bac9ee)~) fornext(~16.2.11/~15.5.21),postcss(~8.5.18),sharp(~0.35.0),brace-expansion(~5.0.8), andjs-yaml(~5.2.2) acrossweb/admin,web/app,web/frontend, andweb/personas-open-source.fix(sdks): update vulnerable dependencies in react-native sdk and example to patch ranges (~)(0c70ed7776)~) forbrace-expansion,fast-uri,js-yaml,shell-quote,tar, andpostcssinsdks/react-nativeandsdks/react-native/example.fix(mcp): update vulnerable python dependencies in mcp server to patch ranges (~=)(b46ac6f898)~=compatible release constraints forgitpython,mcp,pillow,pyasn1, andpydantic-settingsinmcp/examples/requirements.txtandmcp/pyproject.tomllockfile constraints.fix(plugins): update vulnerable python dependencies in plugins to patch ranges (~=)(52eab1a9f2)~=compatible release constraints forjupyterlab,mistune, andsetuptoolsinplugins/requirements.txt.fix(docs): update vulnerable dependencies in docs to patch ranges (~)(18592c458f)~) foraxios,brace-expansion,fast-uri, andjs-yamlindocs/package.json.fix(omiGlass): update vulnerable dependencies in omiGlass to patch ranges (~)(0925999202)~) fortar,postcss,js-yaml, andbrace-expansioninomiGlass/package.json.fix(root): update vulnerable dependencies in root package to patch ranges (~)(747ff9a1b5)~) for@hono/node-server,hono,brace-expansion,tar, andpostcssin rootpackage.json.Failure-Class: none