Appearance
Why It Matters
Remote script execution in a committed Dockerfile turns every image build into a code-fetching trust boundary, which weakens reproducibility and makes supply-chain review significantly harder.
What Triggers
SEC746 matches RUN instructions in Dockerfile content when they fetch remote content with tools like curl or wget and pipe it directly into sh or bash.
False Positives
Ordinary package-manager installs or local script execution do not trigger this rule. The rule is intentionally focused on direct download-and-exec behavior.
Remediation
Vendor or pin reviewed build inputs instead of piping remote content into a shell during image build.