Skip to content

fix(security): resolve Dependabot security vulnerabilities across workspace - #10875

Merged
undivisible merged 12 commits into
mainfrom
migrate/undivisible/pr-10831-dependabot-security
Jul 30, 2026
Merged

undivisible merged 12 commits into
mainfrom
migrate/undivisible/pr-10831-dependabot-security

Conversation

@undivisible

@undivisible undivisible commented Jul 30, 2026 •

Copy link
Copy Markdown
Collaborator

Migrated from #10831 to move the work from the undivisible/omi fork into a BasedHardware-owned branch. The original PR remains temporarily for review-history reference until the migration is verified.

Review in cubic

Failure class

Failure-Class: none

@cursor

cursor Bot commented Jul 30, 2026

Copy link
Copy Markdown

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.

@mintlify

mintlify Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
omi 🟢 Ready View Preview Jul 30, 2026, 12:29 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@Git-on-my-level Git-on-my-level added dependency-review Touches dependencies or lockfiles; needs dependency review needs-maintainer-review Needs a human maintainer to sign off before merge needs-tests PR introduces logic that should be covered by tests labels Jul 30, 2026

@Git-on-my-level Git-on-my-level left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for migrating this security-update work onto a BasedHardware branch. I reviewed this as a dependency/security-sensitive PR.

Requesting changes before maintainer review/merge:

  • Several backend runtime requirement files move from exact pins to compatible-release ranges, for example backend/requirements.txt, backend/pusher/requirements.txt, and backend/openapi-requirements.txt. For a broad security remediation touching backend, pusher, OpenAPI generation, desktop, web, SDK, docs, plugins, and MCP surfaces, please keep runtime/security-critical requirements reproducible unless there is a deliberate repo-wide policy change. The matching lockfiles still pin specific artifacts, but these requirement files can be installed directly in some environments, so ~= ranges can pull unreviewed future patch/minor releases and make builds/security rollouts less deterministic.
  • This also changes dependencies that influence AI/agent behavior in this repo: the backend requirement files update LangChain/LangGraph/LangSmith-related packages, and the desktop package overrides touch @earendil-works/pi-coding-agent transitive packages. That may change how Omi's AI runtime/coding-agent integrations behave, so a human maintainer should confirm these versions are safe and compatible rather than treating this as a purely mechanical Dependabot sweep.
  • Please add a short validation note for the dependency-resolution process used for each workspace/package manager, especially where both manifests and lockfiles changed. A concise list of commands run (or why a workspace is lockfile-only) would make this much safer to review.

I did not see a supply-chain attack pattern in the diff itself; the concern is reproducibility/maintainer confidence for a very broad dependency/security update. Once the direct-install requirement files are re-pinned or the range change is explicitly justified and validated, this should be much easier to review.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

Make PR-updated Python runtime requirements exact pins matching their committed backend locks; make MCP's lock-backed constraint explicit and remove its unresolved constraint.

Validation: backend/scripts/sync-python-deps.sh; backend/test.sh; mcp uv lock --locked; mcp pytest; locked npm/pnpm resolutions; make preflight.

Failure-Class: none

@Git-on-my-level Git-on-my-level left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update. I re-reviewed the current head after the runtime requirements were re-pinned to exact versions and the validation notes were added in the latest commit.

The previous automation blocker about direct-install backend requirement files using broad compatible-release ranges looks resolved on this head: the backend/OpenAPI/pusher requirement files now use exact pins that match the lock-backed dependency update approach.

I still think this should stay with human maintainer/dependency review before merge rather than receive automatic approval, because it is a broad security/dependency sweep across backend, desktop, web, SDK, docs, plugins, and MCP surfaces. The CI signal is good, but maintainers should verify that the selected package upgrades are intended across all of those workspaces.

Agent/AI-runtime impact to be aware of: the backend requirement updates include LangChain/LangGraph/LangSmith-family packages in runtime/OpenAPI/pusher dependency sets, and the desktop agent/package overrides affect @earendil-works/pi-coding-agent transitive resolution. That can alter Omi AI runtime behavior and local coding-agent behavior, so this should be reviewed as an agent-behavior-sensitive dependency update, not just a mechanical vulnerability bump.

I do not see a supply-chain attack pattern in the diff from the cached context; this is a maintainer confidence/dependency-review call.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level
Git-on-my-level dismissed their stale review July 30, 2026 08:47

Superseded by c493c6b; the requirement-range reproducibility blocker was resolved by re-pinning runtime requirements.

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependabot security bumps across the workspace — approving; too large a lockfile sweep to land unattended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency-review Touches dependencies or lockfiles; needs dependency review needs-maintainer-review Needs a human maintainer to sign off before merge needs-tests PR introduces logic that should be covered by tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants