Skip to content

[OMPE-106305] Update container security dependencies - #7811

Merged
kellyguo11 merged 1 commit into
isaac-sim:developfrom
kellyguo11:codex/mr7-container-security-develop
Sep 15, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:developfrom
kellyguo11:codex/mr7-container-security-develop

Conversation

@kellyguo11

@kellyguo11 kellyguo11 commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Ports the focused security updates from internal MR7 onto develop.

  • Updates GitPython, Pillow, and PyArrow security selections and refreshes the lockfile.
  • Installs a checksum-verified Git LFS 3.8.0 executable in both container images.
  • Adds offline regression coverage for dependency pins and the Git LFS installer.
  • Includes the IsaacLab changelog fragment.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Release backport

  • Backport this pull request to the active release branch after it merges into develop

A matching release/3.0.0 PR is being opened directly because both security branches were explicitly requested.

Validation

  • Nine security dependency tests pass.
  • pyproject.toml and uv.lock parse successfully.
  • Git LFS installer passes bash syntax validation.
  • Focused pre-commit hooks pass.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks
  • I have made corresponding changelog changes
  • My changes generate no new warnings
  • I have added tests that prove the fix is effective
  • I have added a changelog fragment for the touched package
  • My name already exists in CONTRIBUTORS.md

@kellyguo11
kellyguo11 requested a review from a team September 15, 2026 07:08
@github-actions github-actions Bot added isaac-lab Related to Isaac Lab team infrastructure labels Sep 15, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 15, 2026
@greptile-apps

greptile-apps Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge; the changed dependency selections and Git LFS installation path are consistent with the supported container and Python environments.

Summary

This PR refreshes selected Python dependencies and replaces distro-provided Git LFS with a checksum-verified Git LFS 3.8.0 installation in both supported container images.

  • Raises the GitPython and Pillow minimum versions and pins the rerun extra to PyArrow 23.0.1.
  • Downloads architecture-specific Git LFS archives, verifies their checksums, preserves notices and manuals, and installs system-wide Git LFS configuration.
  • Adds offline regression tests covering dependency selections, lockfile versions, Docker integration, supported architectures, checksum rejection, package replacement, and cache invalidation.
  • Updates kit-less CI routing and the container dependency hash inputs.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Build base or kit-less image] --> B[Install Git, wget, and certificates]
    B --> C[Detect dpkg architecture]
    C -->|amd64 or arm64| D[Download Git LFS 3.8.0 archive]
    C -->|other| X[Fail build]
    D --> E[Verify architecture-specific SHA-256]
    E --> F[Extract and verify executable version]
    F --> G[Download and verify vendor notices]
    G --> H[Remove distro Git LFS when installed]
    H --> I[Install executable in /usr/local/bin]
    I --> J[Configure system Git LFS filters]
    J --> K[Install documentation, manuals, and notices]
    K --> L[Continue image build as non-root user]
Loading

Reviews (1) · Last reviewed commit: "[OMPE-106305] Update Isaac Lab container..."

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isaac Lab Review Bot

The PR centralizes a checksum-verified Git LFS 3.8.0 installation for both container images, updates the GitPython, Pillow, and PyArrow dependency selections with a matching lockfile refresh, and integrates the installer and regression tests into cache invalidation and kit-less CI.

  • Design and architecture: The shared Git LFS installer follows the repository’s existing container-script pattern and is included in the dependency-cache identity. Both Dockerfiles consistently replace the distro package with the same verified upstream executable, while the Python dependency floors remain centralized in the root manifest.
  • API: No public Python symbols or CLI interfaces change. The externally visible changes are the container-provided Git LFS version and installation path, plus updated Python dependency constraints; the manifest, generated wheel metadata path, and lockfile are consistent for the reviewed selections.
  • Implementation: The installer gates supported architectures and verifies both archives before package removal or filesystem installation. Both images provide wget, execute the script as root before switching users, and configure Git LFS system-wide. The focused tests cover dependency metadata propagation, lock selections, both Dockerfile integrations, cache invalidation, supported architectures, checksum failure, and fresh-image behavior.

No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.

Automated review; human maintainers own approval decisions.

@kellyguo11
kellyguo11 merged commit 1fb402e into isaac-sim:develop Sep 15, 2026
55 checks passed
kellyguo11 added a commit that referenced this pull request Sep 15, 2026
## Summary

Ports the focused security updates from internal MR7 onto develop.

- Updates GitPython, Pillow, and PyArrow security selections and
refreshes the lockfile.
- Installs a checksum-verified Git LFS 3.8.0 executable in both
container images.
- Adds offline regression coverage for dependency pins and the Git LFS
installer.
- Includes the IsaacLab changelog fragment.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Release backport

Backport of #7811

## Validation

- Nine security dependency tests pass.
- pyproject.toml and uv.lock parse successfully.
- Git LFS installer passes bash syntax validation.
- Focused pre-commit hooks pass.

## Checklist
- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks
- [x] I have made corresponding changelog changes
- [x] My changes generate no new warnings
- [x] I have added tests that prove the fix is effective
- [x] I have added a changelog fragment for the touched package
- [x] My name already exists in CONTRIBUTORS.md

Co-authored-by: Sheikh Dawood <[email protected]>
kellyguo11 pushed a commit that referenced this pull request Oct 9, 2026
## Summary

Isaac Lab's base, cuRobo, and kit-less container images stop shipping
Git LFS. That clears the three
`golang.org/x/crypto` scanner findings in nvbug 6782864 instead of
waiting on an upstream Git LFS
release. `git` stays installed.

# Description

`docker/scripts/install_git_lfs.sh` (added in #7811) installed the
upstream Git LFS 3.8.0 binary.
That binary embeds a Go module manifest, so scanners read
`golang.org/x/crypto v0.54.0` out of it
and raise GO-2026-6303 / 6354 / 6355. No Git LFS release carries the
fixed `x/crypto v0.56.0` yet.

- The installer is deleted, along with its references in all three
Dockerfiles, the dependency-hash
  inputs, and the kit-less workflow path filter.
- Each image build now fails if `git-lfs` is on `PATH`. This catches a
copy inherited from the Isaac
Sim base image, which the deleted installer used to purge. It replaces
the old Dockerfile-text test.
- The images keep `git`, but CI's checkout is made with `lfs: true` and
requires the LFS filter, so any
`git` call on that bind-mounted tree would fail. `run_tests.sh` and
`multi_gpu_host_launcher.sh`
mount a tmpfs over `/workspace/isaaclab/.git`, matching the images,
where `.dockerignore` already
drops `.git`. The benchmark job does not mount the checkout, so its
revision data is unchanged.

### Breaking change

Git LFS operations inside the containers no longer work. Install Git LFS
in a derived image if you
need it. This is captured in the changelog fragment.

### Validation

| Check | Result |
| --- | --- |
| `Dockerfile.kitless` built from this branch | built; `git` 2.43.0
present, `git-lfs` absent |
| `Dockerfile.base` built on public `isaac-sim:6.1.0` | `git-lfs` check
step passes |
| check run in `isaac-lab:latest-develop` and develop's kit-less image |
fails, finds `/usr/local/bin/git-lfs` |
| check run in plain Ubuntu 24.04 | passes |
| `docker/test` | 40 passed, 4 skipped; 2 `test_docker_profiles` cases
stop at an interactive X11 prompt on the dev box |

`Dockerfile.curobo` was not built locally; CI is its first build with
this change.

## Type of change

- Breaking change (existing functionality will not work without user
modification)

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/develop/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants