Container adds an elevated Linux capability
Part of Security, which counts for 30% of the overall score. When this check fires it deducts 8 points from that category, once per scan, no matter how many places it turns up.
What it detects
cap_add for capabilities such as NET_ADMIN, SYS_PTRACE, or DAC_READ_SEARCH widens the container beyond the default set. Add only the specific capability a workload needs.
Why it matters
Capabilities such as NET_ADMIN, SYS_PTRACE, or DAC_READ_SEARCH give a container more reach than the default set: manipulating host networking, inspecting or attaching to other processes, or bypassing file read permissions. They are less severe than a full escape but still expand the blast radius of a compromise. They are often added to work around a problem that has a narrower fix.
How to fix it
Confirm each added capability is actually required. Remove any that are not, and keep only the specific capability the workload needs rather than a group. For debugging capabilities like SYS_PTRACE, add them only in a local override file, never in the production compose file.
The paid report includes a ready-to-paste prompt for your AI coding agent for every check it finds, pointed at the exact findings from your scan. See pricing
Does your repo trip this check?
Paste a GitHub URL or drop a project folder. Scans run in your browser and take seconds.
Scan your repo