chore(security): harden remaining PROD-5198 Dockerfiles - #4393
plural-copilot[bot] wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
This PR was generated by the codex Plural Agent Runtime. Here's some useful information you might want to know to evaluate the ai's perfomance:
| Name | Details |
|---|---|
| 💬 Prompt | Create exactly one reviewable PR implementing the remaining safe remediation for Linear PROD-5198. Work only in this repository. Do not duplicate or compete with the already-open remediation PR #4375: it covers x/crypto 0.55.0→0.56.0 in several modules, decode-uri-component→0.5.0, and documentation Mermaid→11.16.1. Inspect its diff/current target state as needed and exclude that work.... |
| 🔗 Run history | View run history |
Soffi AI SummaryThis PR hardens the security posture of remaining Dockerfiles across the monorepo as part of the PROD-5198 initiative. The changes address several categories of risk:
ChangesDockerfile non-root, health check, and base image hardening
Updated: 2026-09-22 18:47 UTC |
|
Scope
/on 3000), deployment-operator (/readyzon 9001), and flaky-service (/metricson 8081).HEALTHCHECK NONEonly for finite build, scratch/distroless/Wolfi, reverse-tunnel, or listener-less sidecar images where an in-image probe client/endpoint is not available.--no-install-recommendsand consolidate Softserve APK update/upgrade/install layers.Deliberately excluded / dependency findings
qsis already resolved to 6.16.0 injs/yarn.lock;js/console/package.jsonhas no directqsdependency. No lockfile change or regeneration was applicable.Safe non-applicable findings
dockerfiles/Dockerfile.testremains root becausedocker-compose.test.ymlbind-mounts the host checkout at/appand the test workflow writes artifacts there; a fixed image UID would break CI/workstation checkout ownership./healthz,/health,/readiness,/liveness) instead of adding unavailable binaries.Validation
git diff --checkwgetavailability.docker build -t prod5198-flaky -f go/demo/flaky-service/Dockerfile go/demo/flaky-service;docker build -t prod5198-sidecar -f go/demo/flaky-service/Dockerfile.sidecar go/demo/flaky-service;node .yarn/releases/yarn-4.17.1.cjs install --immutable. Each began successfully but the agent harness terminated during external image/package fetches before completion. Full builds remain CI validation.Fixes PROD-5198