Skip to content

[Container] Model multi-stage Docker build cache secret persistence #20

Description

@githubmofo

Background

Current Dockerfile analysis inspects single-stage directives for root user execution and hardcoded environment variables.

Planned Enhancements (Tracked for v0.7.2)

  • Trace secret persistence across multi-stage Docker builds (COPY --from=builder).
  • Detect secret leaks in intermediate container cache layers.
  • Provide remediation guidance using BuildKit secret mounts (--mount=type=secret).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions