Commit f5e0d24
committed
docs(build-secret-leaks): document ad-hoc debug-build leak vector
A /retro session found a distinct leak mechanism from the provenance
one this file already covers: `docker build --progress=plain` (or any
verbose/raw build log) echoes literal RUN command lines with ARG/ENV
already interpolated. Running such a debug build and piping/tailing
the output puts a credential-bearing build arg in cleartext directly
into whatever is capturing the session (chat transcript, CI log,
terminal recording) — even when the project's real Dockerfile already
uses --mount=type=secret correctly, because the leak comes from an
ad-hoc invocation outside that path.
Adds a short section covering the mechanism and the same
rotate-first-then-cleanup response as the existing provenance case.
Signed-off-by: Axel Seemann <axel.seemann@netresearch.de>1 parent 8e236b8 commit f5e0d24
1 file changed
Lines changed: 20 additions & 0 deletions
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
0 commit comments