You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
security: triage and refresh deployed Caddy/Python images from current-main Trivy findings #19
Current Nexus audit #498 scanned the exact Sub main revision 17be0aab84ec04412ef490fcaa0953181b3e4262 via Actions run 43854341554. The scanner artifact is xmesh-current-audit-dependencies and includes redacted package, installed/fixed version and severity. Do not attach a production secret or raw Gitleaks file.
Sub install.sh generates Compose services using caddy:2 and python:3.12-alpine. These are runtime image references, not theoretical dev dependencies; they are mutable upstream tags and must be reverified at deployment.
caddy:2 scan: 2 HIGH, 7 MEDIUM, 2 UNKNOWN. Highs: CVE-2026-116587 (github.com/go-jose/go-jose/v3 v3.0.5, no fixed v3 available) and CVE-2026-78661 (golang.org/x/net v0.60.0, fixed in v0.62.0). The first requires reachability review of untrusted JWK parsing; a standard Caddy reverse-proxy installation may not expose such a path.
python:3.12-alpine scan: 16 HIGH, 11 MEDIUM, 1 LOW. All 16 highs involve krb5-libs installed 1.22.2-r1, fixed 1.22.3-r0. The socket-only limiter does not knowingly use Kerberos; prove runtime reachability before claiming an exploitable attack.
Acceptance
Select, test, and pin a reproducible patched image/digest (or build a minimal patched runtime image) for both actual deployed Compose services. No guessed patch levels; verify with fresh Trivy scan of the exact final images.
Keep the signed installer/manager release and clean-VPS onboarding working without manual private keys, new user setup requirements or admin services exposed on TCP. Modify embedded/standalone limiter only if necessary and keep byte-identical tests.
Add a CI image gate independent of package-free unit tests and preserve full sanitized Trivy reports, including lower severity and no-fix findings. Do not silently suppress go-jose/v3 or downgrade High to green without documented reachability/compensating control.
Validate real Caddy config, IPv4/IPv6 source-peer identity, socket-only gate, proxy-header stripping, rate limits and fresh install + upgrade/rollback on a disposable VPS.
Separate scanner inventory from confirmed exploitability. Until new exact image evidence exists, keep this issue open.
ProjectHimera excluded; no live production action was performed.
krb5-libs was upgraded 1.22.2-r1 → 1.22.3-r0 in the custom limiter image; Trivy now reports zero HIGH in that image (16 original HIGH Kerberos findings no longer detected).
Caddy rebuilt with golang.org/x/net v0.62.0; CVE-2026-78661 no longer detected.
CVE-2026-116587 remains, in transitive go-jose/v3 v3.0.5, no patched v3 upstream as reported by scanner. Caddy: 1 HIGH, 6 MEDIUM, 1 UNKNOWN. Limiter: 0 HIGH, 6 MEDIUM, 1 LOW. CI intentionally FAILS on the remaining HIGH; no suppression or downgrade.
17/18 initial HIGH advisories eliminated in CI candidate, not deployed.#20 remains DRAFT/unmerged until the remaining go-jose advisory’s reachability/compensation, image digests on intended architectures, signed install + rollback are reviewed. ProjectHimera excluded.
Update 2026-11-16: PR #20 now builds patched Caddy+Python limiter images on amd64 and arm64, with the Caddy builder base pinned by manifest digest. Final image CVE matrix passes 0 HIGH/0 CRITICAL in both architectures, no scan exclusions. Caddy 2 MEDIUM + 1 UNKNOWN; limiter 6 MEDIUM + 1 LOW. The built Caddy dependency graph has JOSE v4.1.9 (no v3) and x/net v0.62.0; generated Caddyfile validates in both images. Sub gateway CI green. The 18 historical High findings are removed from candidate images, NOT live servers. PR remains draft pending clean Ubuntu VPS/HTTPS ACME, IPv4/IPv6 real-peer/XFF/flood, signed immutable release provenance, Nexus bootstrap pin and rollback E2E. Do not suppress remaining lower-severity advisories; ProjectHimera excluded.
Validated CI remediation 2026-11-16 on PR #20 head 8b44804b88a107d37b1d237ecf51331ebb9750d3: Sub gateway CI PASS; exact image CVE gate on AMD64+ARM64 PASS. 0 High/0 Critical in Caddy+limiter on BOTH architectures; real Caddyfile validation and real socket authorization exercise 200 health, 404 forbidden paths and 429 after spoofed XFF/peer headers. Residual: per arch Caddy 2 Medium + 1 Unknown, limiter 6 Medium + 1 Low, reports retained. Signed OIDC publisher now uses required needs: runtime-image-security to invoke this exact multiarch gate BEFORE attesting release; absent passing scan it cannot publish. No security checks waived. PR remains draft pending clean disposable Ubuntu VPS DNS/ACME/enrollment and upgrade/rollback + Nexus Studio version pin; no live VPS touched. ProjectHimera excluded.
Security rollout update 2026-11-17: PR #20 adds exact old Docker image-ID snapshots, fail-closed verified HTTPS health check and forced recreation on rollback. Sub manager unit CI PASS; AMD64/ARM64 real Docker rollback + Trivy + spoofed-IP gate PASS. Both architectures proved old IDs and running containers are actually recovered after deliberate tag swap, 0 HIGH/0 CRITICAL on candidate runtime images. Still blocked for release: initial upgrade from the old manager cannot rely on new manager's snapshot code; requires its own migration/immutable-tag protection before first use, followed by disposable clean Ubuntu VPS actual DNS/ACME/Ed25519 enrollment and full signed update/rollback E2E. PR remains draft, no live servers touched, no waivers.
The signed installer now uses SHA-specific immutable image tags so the very first upgrade from an old Sub manager cannot overwrite previous Docker images. Before mutating running files it also snapshots the existing Compose, manager version/settings/Ed25519 key, unit file and validates old images; on failure it restores previous files and forcibly recreates both original Docker containers. The gate executed the actual installer backup/EXIT rollback functions on disposable Compose services, injected a failure after changing image refs/manager config, and independently confirmed the exact previous image IDs, private data permissions, manager config and both running containers returned on both architectures. The modern manager rollback test also passes. 0 HIGH / 0 CRITICAL in both exact deployable runtime images; residual per architecture Caddy 2 Medium + 1 Unknown, limiter 6 Medium + 1 Low, reports retained.
Remaining last acceptance only: external disposable Ubuntu VPS with real DNS/ACME, actual Studio signed enrollment, old-manager upgrade and forced failed update, IPv4/IPv6 client IP verification. The release remains draft and not published to production because no such VPS evidence exists; no production VPS touched. Do not reopen broad audit work; ProjectHimera excluded.
Activity
TriplexCorp commentedon Nov 16, 2026
Verified container image remediation in draft #20 (2026-11-16)
PR #20 builds the signed installer’s actual runtime images and runs a strict Trivy gate on both.
CI run 43869551517 confirms:
krb5-libswas upgraded 1.22.2-r1 → 1.22.3-r0 in the custom limiter image; Trivy now reports zero HIGH in that image (16 original HIGH Kerberos findings no longer detected).golang.org/x/net v0.62.0; CVE-2026-78661 no longer detected.go-jose/v3 v3.0.5, no patched v3 upstream as reported by scanner. Caddy: 1 HIGH, 6 MEDIUM, 1 UNKNOWN. Limiter: 0 HIGH, 6 MEDIUM, 1 LOW. CI intentionally FAILS on the remaining HIGH; no suppression or downgrade.17/18 initial HIGH advisories eliminated in CI candidate, not deployed. #20 remains DRAFT/unmerged until the remaining go-jose advisory’s reachability/compensation, image digests on intended architectures, signed install + rollback are reviewed. ProjectHimera excluded.
TriplexCorp commentedon Nov 16, 2026
Update 2026-11-16: PR #20 now builds patched Caddy+Python limiter images on amd64 and arm64, with the Caddy builder base pinned by manifest digest. Final image CVE matrix passes 0 HIGH/0 CRITICAL in both architectures, no scan exclusions. Caddy 2 MEDIUM + 1 UNKNOWN; limiter 6 MEDIUM + 1 LOW. The built Caddy dependency graph has JOSE v4.1.9 (no v3) and x/net v0.62.0; generated Caddyfile validates in both images. Sub gateway CI green. The 18 historical High findings are removed from candidate images, NOT live servers. PR remains draft pending clean Ubuntu VPS/HTTPS ACME, IPv4/IPv6 real-peer/XFF/flood, signed immutable release provenance, Nexus bootstrap pin and rollback E2E. Do not suppress remaining lower-severity advisories; ProjectHimera excluded.
TriplexCorp commentedon Nov 16, 2026
Validated CI remediation 2026-11-16 on PR #20 head
8b44804b88a107d37b1d237ecf51331ebb9750d3: Sub gateway CI PASS; exact image CVE gate on AMD64+ARM64 PASS. 0 High/0 Critical in Caddy+limiter on BOTH architectures; real Caddyfile validation and real socket authorization exercise 200 health, 404 forbidden paths and 429 after spoofed XFF/peer headers. Residual: per arch Caddy 2 Medium + 1 Unknown, limiter 6 Medium + 1 Low, reports retained. Signed OIDC publisher now uses requiredneeds: runtime-image-securityto invoke this exact multiarch gate BEFORE attesting release; absent passing scan it cannot publish. No security checks waived. PR remains draft pending clean disposable Ubuntu VPS DNS/ACME/enrollment and upgrade/rollback + Nexus Studio version pin; no live VPS touched. ProjectHimera excluded.TriplexCorp commentedon Nov 17, 2026
Security rollout update 2026-11-17: PR #20 adds exact old Docker image-ID snapshots, fail-closed verified HTTPS health check and forced recreation on rollback. Sub manager unit CI PASS; AMD64/ARM64 real Docker rollback + Trivy + spoofed-IP gate PASS. Both architectures proved old IDs and running containers are actually recovered after deliberate tag swap, 0 HIGH/0 CRITICAL on candidate runtime images. Still blocked for release: initial upgrade from the old manager cannot rely on new manager's snapshot code; requires its own migration/immutable-tag protection before first use, followed by disposable clean Ubuntu VPS actual DNS/ACME/Ed25519 enrollment and full signed update/rollback E2E. PR remains draft, no live servers touched, no waivers.
TriplexCorp commentedon Nov 17, 2026
17 Nov 2026 — first-upgrade blocker resolved in verified PR #20 candidate 6afb814. Both required suites are SUCCESS: Sub gateway CI 44010363870 and AMD64+ARM64 real-Docker image/CVE/rollback gate 44010363883.
The signed installer now uses SHA-specific immutable image tags so the very first upgrade from an old Sub manager cannot overwrite previous Docker images. Before mutating running files it also snapshots the existing Compose, manager version/settings/Ed25519 key, unit file and validates old images; on failure it restores previous files and forcibly recreates both original Docker containers. The gate executed the actual installer backup/EXIT rollback functions on disposable Compose services, injected a failure after changing image refs/manager config, and independently confirmed the exact previous image IDs, private data permissions, manager config and both running containers returned on both architectures. The modern manager rollback test also passes. 0 HIGH / 0 CRITICAL in both exact deployable runtime images; residual per architecture Caddy 2 Medium + 1 Unknown, limiter 6 Medium + 1 Low, reports retained.
Remaining last acceptance only: external disposable Ubuntu VPS with real DNS/ACME, actual Studio signed enrollment, old-manager upgrade and forced failed update, IPv4/IPv6 client IP verification. The release remains draft and not published to production because no such VPS evidence exists; no production VPS touched. Do not reopen broad audit work; ProjectHimera excluded.