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
Docker health-check output can expose credentials after the probe command is redacted #6320
PastaClaw flagged this while reviewing #6316, where it was deferred to a follow-up instead of being fixed in that pull request. This issue tracks the follow-up.
Docker health-check output can expose credentials after the probe command is redacted (suggestion)
Impact: An operator sharing a report for a custom image whose health check prints or traces an image-only credential can disclose it in dockerInspect.json even when the service logs are clean.
Where:packages/dashmate/src/listr/tasks/doctor/collectSamplesTaskFactory.js:188-193 at 347962057b9f:
The new health-check redaction removes the probe definition but still exports the probe's stdout and stderr in State.Health.Log[].Output. For a shell-form probe, the new command handling gives the literal scrubber the full script; a trace of just the executed command or output containing only the credential does not match it. The archive pass cannot help when the credential is not in Dashmate config. Omit raw probe output alongside the command, retaining health status, timestamps, and exit codes. The container analyser does not read the probe output.
Activity