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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
CL-0020 reads command:, entrypoint: and healthcheck.test. A
credential literal passed as an argument — redis-server --requirepass hunter2, --admin-password=admin, PGPASSWORD=hunter2 psql inside a shell
line, mysql's -phunter2 in a healthcheck — reaches docker inspect
(Config.Cmd, Config.Entrypoint, Config.Healthcheck) and the
world-readable /proc/<pid>/cmdline exactly as an environment: literal
reaches Config.Env, and no rule read it. The same key-shaped test now
applies to each token that names a value, with the existing exemptions and
two that only make sense in an argument list: $$VAR is what the shell
expands at runtime (a reference, not the literal it is under environment:), and a path-shaped value is the fix pattern. Over the
11,111-file corpus this adds findings on 170 services in 153 files, 111 of
them services with no credential finding before; 64 further files that pass $$REDIS_PASSWORD or a secrets path are correctly left alone. Labels are
not read (every candidate was a secret's name, not a secret). (#1077)