Skip to content

chore(security): update packages with issues#1989

Merged
leshy merged 1 commit intodevfrom
paul/chore/security-issues
May 6, 2026
Merged

chore(security): update packages with issues#1989
leshy merged 1 commit intodevfrom
paul/chore/security-issues

Conversation

@paul-nechifor
Copy link
Copy Markdown
Contributor

Problem

We have quite a few package security issues: https://github.com/dimensionalOS/dimos/security/dependabot

Closes DIM-XXX

Solution

  • Upgrade some of the problem packages.

Breaking Changes

None.

How to Test

Contributor License Agreement

  • I have read and approved the CLA.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 6, 2026

Greptile Summary

This PR addresses several Dependabot security advisories by relaxing or bumping version constraints across Python and JavaScript dependencies.

  • Python (pyproject.toml): python-multipart raised to >=0.0.27, jinja2>=3.1.6 added to the web extra, langchain/langchain-core unpinned to >=...,<2, transformers raised to >=4.53.0,<4.54, and gdown relaxed to >=5.2.2; the standalone requirements.txt is deleted in favour of the [web] extra.
  • JavaScript (command-center-extension): create-foxglove-extension loosened from the exact pin 1.0.6 to ^1.0.6 so patch-level security releases are picked up automatically.
  • Lock files (uv.lock, package-lock.json) regenerated to match the new constraints.

Confidence Score: 4/5

Safe to merge with awareness that the web API form/file-upload routes remain broken for users following the updated README instructions.

The python-multipart dependency that was explicitly listed in the deleted requirements.txt is not carried over into the web extra, leaving FastAPI form/file endpoints silently broken for anyone installing via .[web] as the README now instructs.

pyproject.toml — the web extra is missing python-multipart, and the transformers upper-bound cap at 4.54 is narrower than the rest of the updated packages.

Important Files Changed

Filename Overview
pyproject.toml Security-motivated version bumps: python-multipart >=0.0.27, jinja2 >=3.1.6 added to web extra, langchain/langchain-core constraints widened, transformers pinned to >=4.53.0,<4.54, gdown loosened to >=5.2.2; mypy override for transformers added
dimos/web/dimos_interface/api/requirements.txt File deleted; dependencies migrated to pyproject.toml extras, but python-multipart (previously listed here) is absent from the new web extra
dimos/web/dimos_interface/api/README.md Updated install instructions to point users to pip install -e '.[web]' instead of the deleted requirements.txt
dimos/web/command-center-extension/package.json create-foxglove-extension loosened from exact pin 1.0.6 to semver-compatible ^1.0.6 to allow patch/minor security updates
uv.lock Lock file regenerated with updated resolutions: python-multipart 0.0.27, transformers 4.53.3, jinja2 3.1.6, langchain 1.2.17, langchain-core 1.3.3

Reviews (3): Last reviewed commit: "chore(security): update packages with is..." | Re-trigger Greptile

Comment thread pyproject.toml
@paul-nechifor paul-nechifor force-pushed the paul/chore/security-issues branch from de52bb7 to 363fe34 Compare May 6, 2026 03:12
leshy
leshy previously approved these changes May 6, 2026
@leshy leshy enabled auto-merge (squash) May 6, 2026 03:14
Copy link
Copy Markdown
Contributor

@mustafab0 mustafab0 left a comment

Choose a reason for hiding this comment

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

👍

@leshy leshy merged commit 8f7dd69 into dev May 6, 2026
4 checks passed
@leshy leshy deleted the paul/chore/security-issues branch May 6, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants