Skip to content

Rule Reference

SEC749lintai-ai-securitysupply-chainhardeningstabledockerfilewarn

Dockerfile: mutable registry image in FROM

Dockerfile FROM uses a mutable registry image without a digest pin

Public lane
supply-chain
Category
hardening
Provider
lintai-ai-security
Scope
per-file
Surface
dockerfile
Tier
stable
Severity
warn
Confidence
high
Detection
structural
Remediation
message only
How to read this lane

Reproducibility, provenance, and dependency hardening review.

How to read this category

Least-privilege, provenance, or operational hygiene signal.

Activation Model

Preset Activation

These presets explain where this rule appears in the product experience.

Lifecycle

Stable Lifecycle Contract

State

stable

Graduation rationale

Checks committed Dockerfiles for registry-distributed base images that are not digest pinned.

Deterministic signal basis

DockerfileSignals exact `FROM` token analysis with conservative registry-image matching and digest-pin detection on the selected image token.

Malicious corpus
dockerfile-mutable-base-image
Benign corpus
dockerfile-digest-pinned-base-image
structured evidence required remediation reviewed
Canonical note

Structural stable rule positioned as a supply-chain hardening control: high-precision and actionable, but not a blanket claim of direct repository compromise.

Nearby Signals

Related Rules

Why It Matters

Mutable base-image references make builds non-reproducible and weaken supply-chain review. The same tag can point to different bytes over time without any change in the committed Dockerfile.

What Triggers

SEC749 matches FROM instructions when the selected registry-distributed image reference is not pinned by digest.

False Positives

The rule is intentionally conservative: it uses the same registry-image matching logic already used elsewhere in the product and only flags references that are both registry-distributed and not digest pinned.

Remediation

Pin the base image by digest, for example ghcr.io/acme/app@sha256:..., so rebuilds and reviews refer to the same artifact.