Skip to content

fix(deps): take the rustls, webpki, tokio and OpenTofu security fixes - #13781

Merged
cv merged 1 commit into
v1from
fix/security-pins
Oct 27, 2026
Merged

cv merged 1 commit into
v1from
fix/security-pins

Conversation

@cv

@cv cv commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Failure

cargo deny --locked check advisories failed on v1 with 10 advisories. The advisory check in dependencies.yml runs only on manual dispatch, so CI never reported them. Eight have semver-compatible fixes:

Crate Was Now Advisories
rustls 0.23.45 0.23.46 RUSTSEC-2026-0346 to 0349: TLS secrets exposed through Debug, data sent to the outer server after ECH rejection, unbounded Brotli certificate decompression, and a downgrade to classical key exchange
rustls-webpki 0.103.15 0.103.16 RUSTSEC-2026-0382: distrusted intermediate certificates accepted
webpki-root-certs 1.0.9 1.0.11 RUSTSEC-2026-0383: distrusted emSign roots bundled
tokio 1.53.1 1.54.1 RUSTSEC-2026-0386: unsound AsyncFd constructors

OpenTofu 1.12.9 is a patch release whose security advisory is about filtering out compromised intermediate certificates.

Decision

  • Cargo.lock: cargo update -p rustls -p rustls-webpki -p tokio -p webpki-root-certs changed only those four packages.
  • versions.json: OpenTofu 1.12.9 URLs and SHA-256 pins for all five platforms. They match OpenTofu's published tofu_1.12.9_SHA256SUMS; I also downloaded the two Linux archives and checked their hashes against it. The HCL examples require ~> 1.12, so nothing else names the version.
  • Left out: zip 8.6.0's RUSTSEC-2026-0367 to 0369 need zip 9.0.0, a major version. All three concern extract(), which NemoClaw never calls: nemoclaw-build reads single entries (by_name, by_index) from archives it has already checked against SHA-256 pins. I'd do that bump separately.

Validation

  • cargo deny --locked check advisories now reports only the three zip advisories.
  • licenses and sources pass.
  • cargo ci passed locally: fmt, clippy, build, test, schema, bundle and lifecycle. The bundle step builds with the pinned OpenTofu.
  • The live suites run in this PR's CI.

cargo deny reported eight advisories against v1 that semver-compatible
updates fix: rustls 0.23.46, rustls-webpki 0.103.16, webpki-root-certs
1.0.11 and tokio 1.54.1. OpenTofu 1.12.9 filters out compromised
intermediate certificates; its five archives are pinned to the published
SHA256SUMS.
@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv merged commit c2a71f8 into v1 Oct 27, 2026
55 checks passed
@cv
cv deleted the fix/security-pins branch October 27, 2026 03:00
cv added a commit that referenced this pull request Oct 27, 2026
## Failure

`cargo deny --locked check advisories` still failed on `v1` with three
`zip` 8.6.0 advisories (RUSTSEC-2026-0367 to 0369). All three concern
`ZipArchive::extract()` and `ZipStreamReader::extract()`: SUID/SGID bits
preserved, symbolic links pointing outside the destination, and Unix
permissions applied through symbolic links. NemoClaw never calls either.
`nemoclaw-build` reads single entries (`by_name`, `by_index`) from the
OpenTofu and protoc archives after checking them against their SHA-256
pins. #13781 left this out because it needs a major version.

## Decision

- **`Cargo.toml`:** `zip` 8.6 → 9.0, which resolves to 9.1.2
(`typed-path` 0.12.3 → 0.13.0 comes along).
- **API change:** 9.1 returns entry names as `Result<Cow<str>,
ZipError>`, decoded when read, from `file_names()` and
`ZipFile::name()`. Three call sites in `nemoclaw-build` change, and
archives with decodable names behave as before:
- **`extract_entry`** (OpenTofu and its license): an undecodable name
matches nothing, so the existing "exactly one requested entry" check
still applies.
- **`install_protoc`**: an undecodable name is not the compiler. While
unpacking, an undecodable entry fails with the existing "unreadable
protoc archive entry" error.

## Validation

- `cargo deny --locked check advisories` reports `advisories ok`.
- `cargo test -p nemoclaw-build` passes.
- `cargo ci` passed locally: tools, fmt, clippy, build, test, schema,
bundle and lifecycle. The worktree had no `.tools`, so the tools step
installed protoc through the updated `install_protoc`, and the bundle
step extracted OpenTofu through `extract_entry`.
@wscurran wscurran added v1 NemoClaw v1 branch area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance security area: security Security controls, permissions, secrets, or hardening and removed security labels Oct 27, 2026
cv added a commit that referenced this pull request Nov 11, 2026
…ms (#14413)

The release notes now list every user-visible change on `v1` since the
`v0.1.0-rc9` tag, including the breaking ones, and four example pages
drop claims that later changes made false.

## Problem

`docs/about/release-notes.md` listed three breaking changes and none of
the features, fixes, and onboarding changes that reached `v1` after
`v0.1.0-rc9`; it didn't name the configuration shapes the parser now
rejects or the intent record version `v0.1.0-rc9` writes.
Some example claims went stale:

- `examples/spark/README.md` said the pinned OpenShell has the Podman
TLS initialization blocker, ai-openshell/openshell#3427; its fix merged before
OpenShell 0.1.0, and `v1` pins 0.1.7.
- `examples/station/README.md` and `examples/gtc-dc/README.md` required
exactly one visible GPU on the host; since #13929,
`container.gpuDevices` lets a service on a host with more GPUs request
one.
- `examples/hcl/travel-team` said Fabric's Deep Agents adapter can't
turn reasoning off, NVIDIA/NeMo-Fabric#433; NVIDIA/NeMo-Fabric#439 fixed
that, and the pinned catalog's Deep Agents `reasoning_effort` accepts
`none`.
- The travel team cited #13313 for the booking key its service doesn't
receive, but #13313 closed when `openshell_api` landed.

## Change

- `docs/about/release-notes.md` gains "Changes Since v0.1.0-rc9",
grouped by area, from the commits in `v0.1.0-rc9..origin/v1`; where a
later commit changed an earlier one, the entry describes the current
code, and changes added and removed after the tag aren't listed:
- Agents and interfaces: #14037, #14038, #14269, #13981, #14024, #14186,
#14052, #14385, #13971, #13858, #13947, #14039, #14042, #14044, #14343.
- Inference: #13929, #14391, #14396, #14398, #14400, #13963, #13912,
#13964, #14388, #14390, #14397.
- Gateways and Kubernetes: #13909, #13970, #13922 (an existing
namespace, refused at plan by #13756, is now bound; cluster-wide reads
dropped), #14014, #14169, #13921.
- Plan, apply, and diagnostics: #14224, #13756, #14141, #14133, #14135,
#13775, #13744, #13701.
- Onboarding: #13693, #13695, #13741, #13757, #13851, #13978, #14228,
#14233, #14334, #14336.
- Examples and builds: #14166, #14184, #14188, #14191, #14192, #14200,
#13889, #14267, #14312, #14315, #14355, b30e9b4, #13781, #13813,
#14246, and the pins in `versions.json` and `image/fabric/Dockerfile`.
- Its breaking changes since the tag:
- the intent record moving from 15, which `v0.1.0-rc9` writes, through
16 (#14266), 17 (#14343), 18 (#13929), 19 (#14391) and 20 (#14394);
  - name-keyed `sandboxes` and `inferenceProviders` (#13703, #13705);
- a recipe `compatibility.gpu` outside every hardware profile (#13912);
- model tuning the adapter doesn't accept (#14111), and Hermes's
`max_tokens` losing its default (#14296);
  - `skills.paths` resolution (#14296);
  - endpoint and `networkCIDR` validation (#13847, #14081);
- the HCL `gateway_values` attribute (#14014), and Kubernetes ownership
receipts from before #13922 and #14014.
  The two earlier items stay, under their own heading.
- `examples/spark/README.md` replaces the closed OpenShell#3427 blocker
with the Podman and remote-model limits in `docs/resources/limits.md`.
- `examples/station/README.md` and `examples/gtc-dc/README.md` require
one GPU visible in the model container, and point to
`container.gpuDevices` for a host with more.
- `examples/hcl/travel-team/README.md` and `WALKTHROUGH.md` drop the
NeMo-Fabric#433 limitation, and the travel team's booking-key statements
link #14417 instead of #13313.

Not listed, because both changes landed after the tag: Deep Agents Code
(#14043, #14250), `compatibility.gpuCount` (#14391, #14394), and the
"Creating infrastructure state" progress step (#14169, #14248).

Checked and left unchanged: the root `README.md`,
`crates/nemoclaw-onboarding/README.md`,
`crates/nemoclaw-cli/assets/README.md`, `internal-docs/README.md`, the
other example READMEs, and every example YAML header comment. The GPU
autoscaling README and `load.sh` read the JSON fields `OperationResult`
serializes, and ai-openshell/openshell#4287 is fixed only after the pinned
0.1.7. The two pre-tag release-note items still match the schema and
SDK. `docs/README.md` is left to #14412, which retires the stale field
reference snapshot it describes.

Not verified: whether Hermes sends the booking key's placeholder to MCP
servers; #14417 tracks the live check.

## Beyond CI

Each relative link and anchor in the changed files resolves to an
existing file and heading.
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: packaging Packages, images, registries, installers, or distribution area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants