Skip to content

Commit 74b52fc

Browse files
committed
feat: qualify optional Wolfi static probe for v0.2.1
1 parent 4e5b4e1 commit 74b52fc

31 files changed

Lines changed: 1311 additions & 77 deletions

‎CHANGELOG.md‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Changelog
22

3-
## 0.2.0 — release prepared, GitHub and tag pending
3+
## 0.2.1 — Wolfi probe candidate; pentest NOT RUN
4+
5+
Add a minimal signed-base Wolfi static image for the existing health probe;
6+
retain native and scratch profiles. Scan the exact base/built archive, bind
7+
archive config/layers and copied executable, check actual kernel limits and
8+
zero capabilities, use an ephemeral loopback port, and clean up only the captured
9+
owned container. Add negative regressions, base freshness and public inventories.
10+
Heavy qualification remains local; no runtime Rust dependencies or website/API
11+
features are added. See [scope](docs/releases/v0.2.1-scope.md).
12+
13+
## 0.2.0 — tagged 2026-10-04
14+
15+
Signed tag points to 4e5b4e1; Rust CI and CodeQL Default are green. The following
16+
entries retain the preparation history; pending statements below are historical.
417

518
GitHub scope update (2026-10-04): remove the container job entirely at the
619
maintainer's request. Builds, image admission and real service/resource checks

‎Cargo.lock‎

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["crates/runasmidja", "crates/runasmidja-core", "crates/runasmidja-por
33
resolver = "3"
44

55
[workspace.package]
6-
version = "0.2.0"
6+
version = "0.2.1"
77
edition = "2024"
88
rust-version = "1.99"
99
license = "EUPL-1.2"

‎README.md‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@ The same Rust engine will execute in a browser worker and native hosts.
2323
Browser processing is the default; saving, sharing, server execution and
2424
external network operations are distinct explicit actions.
2525

26-
**Current status:** `v0.1.0` is tagged with accepted pentest and green GitHub
27-
checks. `0.2.0` adds OpenBao-first service provisioning. Its maintainer pentest
28-
is accepted with no new findings; final commits await GitHub checks and tagging.
29-
The authorized minimal Wolfi/PostgreSQL source build passes scans and real service
30-
qualification without a vulnerability waiver; see the
31-
[remediation report](security/pentest/v0.2.0.md). No workbench, transformation,
32-
browser UI, production HTTP server or CyberChef parity is implemented yet.
33-
See the [0.2 scope](docs/releases/v0.2.0-scope.md) and
34-
[0.1 assessment](security/pentest/v0.1.0.md).
26+
**Current status:** `v0.1.0` and `v0.2.0` are signed and tagged with accepted
27+
pentests and green GitHub checks. The `0.2.1` candidate adds a minimal Wolfi image
28+
for the existing health probe; its maintainer pentest is **NOT RUN**.
29+
OpenBao-first service provisioning and the Wolfi/PostgreSQL fixture remain
30+
available. No workbench, transformation, browser UI, production HTTP server or
31+
CyberChef parity is implemented yet. See the [0.2.1 scope](docs/releases/v0.2.1-scope.md)
32+
and [candidate assessment](security/pentest/v0.2.1.md).
3533

3634
GitHub checks code and dependencies; CodeQL uses Default setup. Container builds,
3735
image scans and real service tests run locally before pushing. See the
@@ -108,7 +106,7 @@ Every code file has a hard 500-line ceiling.
108106
[release runbook](docs/RELEASE_RUNBOOK.md),
109107
[security controls](docs/security-controls.md),
110108
[dependency policy](docs/supply-chain-security.md),
111-
[candidate release notes](release-notes/v0.2.0.md),
109+
[candidate release notes](release-notes/v0.2.1.md),
112110
[tagged foundation notes](release-notes/v0.1.0.md).
113111

114112
The [original idea](docs/IDEA.md) and [supplied planning bundle](docs/reference/workbench-plan/README.md)

‎SECURITY.md‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
Runasmidja is security-sensitive data-transformation software. Inputs, imported
44
recipes, crypto, rendering, secrets, caching, database access, HTTP/TLS, plugins,
55
workers and supply-chain changes require threat review and executable tests.
6-
The repository has a tagged v0.1.0 foundation and a v0.2.0 remediation candidate;
7-
neither is a production service. The maintainer accepted the v0.2.0 retest with
8-
no new findings; GitHub checks and tagging remain pending. The authorized
9-
Wolfi/PostgreSQL fixture passes scans and actual service qualification; this
10-
does not establish production security or a pentest PASS. See the
11-
[assessment](security/pentest/v0.2.0.md).
6+
The v0.1.0 and v0.2.0 foundations are signed and tagged with accepted maintainer
7+
pentests and green GitHub checks. The v0.2.1 Wolfi health-probe packaging candidate
8+
requires its own pentest; it is NOT RUN. None is a production service. See the
9+
[candidate assessment](security/pentest/v0.2.1.md).
1210

1311
Runasmidja targets a normal public website. Review findings against its actual
1412
supported behavior, exploitability and trust boundaries, and choose controls
@@ -41,7 +39,7 @@ and have no production support claim.
4139
All project-operated initialization, runtime, build and release secrets must
4240
come through OpenBao; public Rust setup/build needs none. Vault startup trust
4341
and independent recovery custody are the minimal explicit bootstrap boundary.
44-
The v0.2 candidate issues service passwords in OpenBao before consumer startup;
42+
The released v0.2 fixture issues service passwords in OpenBao before consumer startup;
4543
persistent private delivery, build/release identity and production custody remain
4644
separate qualification passes. Legacy v0.1 fixture data is preserved unchanged. See [secret lifecycle](docs/SECRETS_POLICY.md).
4745
Search is optional infrastructure; current database permissions govern hits

‎crates/runasmidja/Cargo.toml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ publish = false
1212
workspace = true
1313

1414
[dependencies]
15-
runasmidja-core = { path = "../runasmidja-core", version = "=0.2.0", default-features = false }
16-
runasmidja-ports = { path = "../runasmidja-ports", version = "=0.2.0", default-features = false }
17-
runasmidja-html = { path = "../runasmidja-html", version = "=0.2.0", default-features = false }
18-
runasmidja-crypto = { path = "../runasmidja-crypto", version = "=0.2.0", default-features = false }
15+
runasmidja-core = { path = "../runasmidja-core", version = "=0.2.1", default-features = false }
16+
runasmidja-ports = { path = "../runasmidja-ports", version = "=0.2.1", default-features = false }
17+
runasmidja-html = { path = "../runasmidja-html", version = "=0.2.1", default-features = false }
18+
runasmidja-crypto = { path = "../runasmidja-crypto", version = "=0.2.1", default-features = false }

‎deploy/podman/probe/Containerfile‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SPDX-License-Identifier: EUPL-1.2
2+
FROM cgr.dev/chainguard/static@sha256:a40219f3b0c2719e4e4220310e80a2230a4b95881644292c130e3a8e8287fc6c
3+
COPY --chown=65532:65532 runasmidja-server /runasmidja-server
4+
USER 65532:65532
5+
WORKDIR /
6+
ENTRYPOINT ["/runasmidja-server"]
7+
CMD ["18080", "--container"]

‎deploy/podman/probe/README.md‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Wolfi static probe — v0.2.1 candidate
2+
3+
`python3 scripts/qualify_probe_wolfi.py` verifies the pinned public base,
4+
compiles the locked Rust 1.99.0 static musl probe, assembles a COPY-only image,
5+
scans/binds its archive, checks the copied executable and runs health/denial
6+
checks in a restricted owned rootless container. It uses a private temporary
7+
context with only the executable and recipe; no secrets or package installation.
8+
Native and scratch tests remain `python3 scripts/smoke_probe.py` and
9+
`python3 scripts/smoke_probe.py --container`. All container work is local.
10+
11+
The [static starter](https://images.chainguard.dev/directory/image/static/overview)
12+
is Wolfi-based, unlike paid Chainguard OS images. Its signed index and selected
13+
Linux/amd64 digest are in `image.lock.json`; qualification copies `/etc/os-release`
14+
and requires `ID=wolfi`. The reviewed inventory contains Wolfi baselayout, CA
15+
certificates and timezone data, without a shell, package manager or libc.
16+
Our executable is fully static; no musl/glibc ABI mixing is introduced.
17+
18+
Base package license identifiers are retained in the public
19+
[image inventories](../../../sbom/images/README.md); project code is EUPL-1.2.
20+
The independently generated Cargo inventory/audit covers first-party Rust.
21+
The application component's executable hash is appended to the container SBOM;
22+
Trivy does not independently inventory the internals of a stripped Rust binary.
23+
No upstream publisher signature is claimed for our locally assembled image.
24+
25+
Temporary containers and archive contexts are removed; image store content may
26+
remain for inspection. No service volumes/networks or existing fixture containers
27+
are replaced. Reverting to native/scratch needs no migration: run the retained
28+
commands above. The new profile is optional and changes no default deployment.
29+
No container registry publication is performed. The serial development HTTP
30+
probe and inherited network behavior are not a production API or worker sandbox.
31+
See [scope](../../../docs/releases/v0.2.1-scope.md) for limits and pending pentest.
32+
33+
License inventory at admission: Wolfi baselayout MIT; CA certificate bundle
34+
MPL-2.0/MIT; timezone data CC-PDDC; Runasmidja EUPL-1.2. These remain separate
35+
licenses, not relicensed by the project. The retained source/package purls and
36+
scanner license fields accompany any later distribution review.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"platform": "linux/amd64",
3+
"probe-base": {
4+
"method": "signed-index",
5+
"image": "cgr.dev/chainguard/static@sha256:a40219f3b0c2719e4e4220310e80a2230a4b95881644292c130e3a8e8287fc6c",
6+
"index": "cgr.dev/chainguard/static@sha256:fe55470f22d3259488d9d3739168d8f04da67755f0b69382bc26eda4a7d3d327",
7+
"identity": "https://github.com/chainguard-images/images/.github/workflows/release.yaml@refs/heads/main",
8+
"issuer": "https://token.actions.githubusercontent.com"
9+
}
10+
}

‎docs/CONTAINER_DEPLOYMENT_PLAN.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Container bases and Fluxheim qualification
22

33
Status: required Fluxheim deployment coverage; proposed compatible Wolfi image
4-
follow-ups after v0.2.0 passes the maintainer/GitHub release loop. This document
5-
adds no shipped behavior. The 386 minor workstreams and source mappings remain.
4+
follow-ups after the tagged v0.2.0. The maintainer authorized v0.2.1 on
5+
2026-10-04; its [bounded scope](releases/v0.2.1-scope.md) is in implementation.
6+
v0.2.2/v0.2.3 remain proposed. This plan itself adds no shipped behavior. The 386 minor workstreams and source mappings remain.
67

78
## Decision and maintenance scope
89

@@ -32,7 +33,8 @@ add a paid registry dependency or accept an older service merely to match bases.
3233

3334
## Proposed compatible patch sequence
3435

35-
These versions reserve a reviewable recommendation, not approved implementation.
36+
v0.2.1 is the authorized current patch; the remaining versions reserve a
37+
reviewable recommendation, not approved implementation.
3638
They harden packaging of existing foundation behavior. If an image requires new
3739
application features or changes secret/storage/auth contracts, split that work
3840
into a bounded minor instead of hiding it in a patch. v0.3/v0.4 workflow/graph

0 commit comments

Comments
 (0)