vetkit.compose.container.dangerous-capability
A Compose service adds a kernel capability that allows escaping the container (ALL, SYS_ADMIN, SYS_MODULE, SYS_PTRACE, SYS_RAWIO, DAC_READ_SEARCH or BPF).
Last updated:
Suite: Security
yaml
A Compose service adds a kernel capability that allows escaping the container (ALL, SYS_ADMIN, SYS_MODULE, SYS_PTRACE, SYS_RAWIO, DAC_READ_SEARCH or BPF).
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Drop the capability, or replace it with the narrow capability or device the workload actually needs. Start from cap_drop: [ALL] and add back only what is required.
References
Source: packages/engine/rules/sast/config.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.