Privileged Container Service
criticalDetects services running with privileged mode which disables container isolation
Detects services running with privileged mode which disables container isolation
Experiment with the vulnerable code and security rule below. Edit the code to see how the rule detects different vulnerability patterns.
pathfinder scan --rule cpf/compose-privilegedExplore related security rules for Docker Compose
Service mounts Docker socket providing unrestricted root access to host
Service uses host network mode bypassing Docker network isolation
Service disables seccomp which restricts system calls, significantly increasing attack surface
Common questions about Privileged Container Service
Use Code Pathfinder to scan your Docker Compose codebase and automatically detect instances of this vulnerability pattern. Install Code Pathfinder and run the following command in your project directory:
pathfinder scan --rule cpf/compose-privilegedThis rule is aligned with industry-standard security frameworks and classifications: