Skip to content

chore: sync dev with main - #967

Merged
vig-os-release-app[bot] merged 6 commits into
devfrom
chore/sync-main-to-dev-15-1
Jul 10, 2026
Merged

vig-os-release-app[bot] merged 6 commits into
devfrom
chore/sync-main-to-dev-15-1

Conversation

@vig-os-release-app

Copy link
Copy Markdown
Contributor

Syncs dev with main (sync-main-to-dev workflow).

c-vigo and others added 6 commits July 10, 2026 10:59
…ump (#964)

## What & why

The nightly Scheduled Security Scan went red ([run
29079456127](https://github.com/vig-os/devcontainer/actions/runs/29079456127),
2026-07-10) at the blocking `vulnix-gate` on **CVE-2026-60002** — a
use-after-free in the OpenSSH **client** (`ssh(1)`, not `sshd`)
triggered when a malicious/compromised server changes its host key
during key re-exchange (CWE-416). CVSS 7.7 HIGH (MITRE) / 9.4 CRITICAL
(NVD).

Fixed upstream in **openssh 10.4p1** (2026-07-06), but the bump has
**not** reached any nixpkgs branch yet (all still `10.3p1`:
`nixos-26.05` pinned channel, `release-26.05`, `staging-26.05`,
`master`, `nixpkgs-unstable`). It is merged into the 26.05 staging
pipeline (nixpkgs
[#539452](NixOS/nixpkgs#539452) →
`staging-nixos`, backport
[#539933](NixOS/nixpkgs#539933) →
`staging-nixos-26.05`), so the "advance the rev" lever has nowhere to
land today.

## Change

Time-boxed `.vulnixignore` exception for CVE-2026-60002 (**expires
2026-07-24**) with full provenance/reachability rationale, matching the
curl #941 / podman #905 precedent, plus a `### Security` changelog entry
(root + mirrored scaffold copy). **Flip to a nixpkgs rev-advance** once
10.4p1 reaches `nixos-26.05`; the short expiry forces near-term
re-review.

## Verification

- `check-expirations` ✅ — 54 exceptions validated, none expired.
- `vulnix-gate` simulation ✅ — with CVE-2026-60002 present the gate now
**passes** (exit 0); a control un-excepted HIGH still **fails**,
confirming the gate itself still works.
- Full `pre-commit` suite green locally (incl. `sync-manifest`, so the
two changelog mirrors are consistent).

Targets `release/0.5.1` (release-cycle fix). Cherry-pick / forward to
`dev` separately since `main` is affected identically.

Refs: #963
…966)

## What & why

Restores the deduplicated **auto-issue on scan failure** that was lost
in the Debian→Nix cutover (`1d4e9db1`), so a red nightly vulnix gate
surfaces as a GitHub issue rather than a silent red run. Full root-cause
history in #965.

The trigger case was 2026-07-10 ([run
29079456127](https://github.com/vig-os/devcontainer/actions/runs/29079456127),
CVE-2026-60002, fixed in #963/#964) — the first gate failure to reach
`main` post-0.5.0 with no issue-creation step, so it had to be caught by
hand.

## Change (single file: `.github/workflows/security-scan.yml`)

- Grant the `scan-nix-image` job `issues: write`.
- New step **"Open a tracking issue when the vulnix gate fails"**, gated
on `failure() && steps.vulnix-gate.outcome == 'failure'` (so infra/scan
crashes don't file a "findings" issue).
- Adapted from the old Debian step, with two improvements:
- **Dedup by the auto-issue's distinctive title**, not the
`security-scan` label alone — the old label-only dedup would now
false-match human-filed `security-scan` issues (e.g. #963, this #965)
and never fire.
- **Refreshes the stale label description** (`--force`): was *"...for
:latest image"*, now the Nix image.
- Body links the run + the `nix-image-cve-scan` artifact
(`vulnix-findings.json`/`vulnix-report.txt`) and gives the remediate
path (advance the pin or add a time-boxed `.vulnixignore` exception).
- Updated two stale doc comments (header "On failure" note; the old "can
be added alongside the publish-cutover" TODO).

## Verification

- Full `pre-commit` suite green (yamllint, check-action-pins — no new
pinned action, `gh` CLI only).
- Embedded `run:` script `shellcheck`-clean and dry-run rendered: search
arg `"Nightly security scan: …" in:title` and the heredoc body
(backticks literal, `$(date)`/`${RUN_URL}` expanded) both correct.

**Not changelog-tracked** (`ci` scope, maintainer-facing CI infra).
Targets `release/0.5.1` so 0.5.1 ships with working alerting.

Refs: #965
Set release date to 2026-07-10 and regenerate release docs.

Refs: #962
# [Release
0.5.1](https://github.com/vig-os/devcontainer/releases/tag/0.5.1) -
2026-07-10

This PR prepares release 0.5.1 for merge to main.

## [0.5.1](https://github.com/vig-os/devcontainer/releases/tag/0.5.1) -
2026-07-10

### Changed

- **Renovate: update `github-backup` from `==0.63.0` to `==0.64.0`**
([#960](#960))
- **Renovate dependency update**
([#866](#866))
  - Update `aquasecurity/trivy` from `v0.71.2` to `v0.72.0`
  - Update `astral-sh/setup-uv` from `v8.3.1` to `v8.3.2`
  - Update `docker/login-action` from `v4.2.0` to `v4.4.0`

- **Renovate: update `github/codeql-action` from `8aad20d` to
`99df26d`** ([#862](#862))

### Fixed

- **Nested scaffold docs dropped by unanchored preserve excludes**
([#953](#953))
- `init-workspace.sh` built its rsync preserve excludes as
`--exclude=$name`, so bare `PRESERVE_FILES` entries (`README.md`,
`CHANGELOG.md`) matched by basename at every depth and silently dropped
devkit-authored nested docs (`.devcontainer/README.md`,
`.devcontainer/CHANGELOG.md`, `.claude/skills/*/README.md`) on `--force`
upgrades — files the `--preview` report still listed as ADDED. The
excludes are now root-anchored (`--exclude=/$name`), matching
`is_preserved_file`'s exact-path semantics: root docs stay preserved,
nested docs ship.

- **Imageless `--no-prompts` defaulted the org to a bogus `vigOS/devc`
literal** ([#954](#954))
- With no `ORG_NAME` env and no manifest `DEVKIT_ORG`, the org defaulted
to the hardcoded `vigOS/devc` — a `/`-bearing value that sed-substituted
into `{{ORG_NAME}}` in generated files (e.g. the LICENSE copyright
line). The default now derives from the `GITHUB_REPOSITORY` owner
segment (already resolved on this path via `DEVKIT_REPO`), falling back
to the literal `vigOS` only when no usable owner/repo is present.

- **Broken links, duplicate sections, and name/title mismatches in agent
skills** ([#912](#912))
- All `../../rules/*.mdc` links in `.claude/skills/` now point to the
correct skill files or `CLAUDE.md` (`.claude/rules/` was removed in
#626).
- `../docs/RELEASE_CYCLE.md` links in `pr_create` and `pr_post-merge`
corrected to `../../../docs/RELEASE_CYCLE.md`.
- Duplicate `## Delegation` sections removed from `ci_check`,
`worktree_ci-fix`, and `worktree_verify`.
- `solve-and-pr` skill now launches `/worktree_solve-and-pr`
(underscore, matching the real skill name).
- `worktree_pr` PR title format aligned with `pr_create`: no manual
issue number in title.
- Obsolete `.claude/commands/` wrappers deleted (superseded by skills
providing `/X` directly).

### Security

- **Accept the openssh 10.3p1 client use-after-free (CVE-2026-60002) in
the vulnix register pending the nixpkgs bump to 10.4p1**
([#963](#963))
- The 2026-07-10 nightly security scan went red at the blocking vulnix
gate on CVE-2026-60002 (CVSS 7.7 HIGH per MITRE, 9.4 CRITICAL per NVD):
a use-after-free in the OpenSSH **client** (`ssh(1)`, not `sshd`)
triggered when a malicious/compromised server changes its host key
during key re-exchange. `openssh` is in the image closure and the client
is reachable, but exploitation requires connecting out to an
attacker-controlled SSH server that mutates its host key mid-rekey —
bounded by the single-user dev model — so this is a time-boxed risk
acceptance, not a dismissal.
- Fixed upstream in openssh 10.4p1 (2026-07-06), but the bump has not
reached the pinned `nixos-26.05` channel (still 10.3p1, as are
`release-26.05`, `staging-26.05`, `master`, `nixpkgs-unstable`); it is
merged into the 26.05 staging pipeline (nixpkgs
[#539452](NixOS/nixpkgs#539452), backport
[#539933](NixOS/nixpkgs#539933)). Added a
short-dated `.vulnixignore` exception (expires 2026-07-24) to unblock
the gate; the block is dropped and the pin advanced once 10.4p1 lands in
`nixos-26.05`.
@vig-os-release-app
vig-os-release-app Bot requested a review from c-vigo as a code owner July 10, 2026 10:15
@vig-os-release-app
vig-os-release-app Bot enabled auto-merge July 10, 2026 10:15
@vig-os-release-app
vig-os-release-app Bot merged commit fbb9d89 into dev Jul 10, 2026
21 checks passed
@vig-os-release-app
vig-os-release-app Bot deleted the chore/sync-main-to-dev-15-1 branch July 10, 2026 10:24
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.

1 participant