- Analyzer
- textscan
- Category
- Infrastructure as code
- Default severity
- LOW
- CWE
- CWE-829
- Execution
- Passive
- Authentication
- Not required
- Applicability
- dockerfile
- Availability
- stable
What it detects
Dockerfile uses ADD when COPY would suffice: an infrastructure as code check run by the textscan analyzer.
Evidence
The matching source path, line, and bounded code observation produced by the native rule.
Remediation
Use COPY for local files. If you need a URL, prefer curl + verified checksum in a RUN step.
Limitations
This check is limited to the applicability and evidence delivered by textscan. Review the evidence in context; a match is a finding input, while confidence and policy determine its disposition.
Related reference
Analyzer Registry · Findings and release decisions · Policy and confidence
Checks sharing a CWE
Remediation guidance: Remediation and fix verification · Baselines and suppressions