BETA Shoulder is in beta — Findings may sometimes be wrong. Your feedback shapes what we fix next. Share feedback

Host Namespace Access Enabled

Description

Detects pods configured to access host namespaces (network, PID, or IPC).

What Shoulder detects

Pod is configured to access host namespaces (network, PID, or IPC).

How to fix

Remove or disable host namespace access.

```yaml
spec:
  hostNetwork: false
  hostPID: false
```

Learn more: https://shoulder.dev/learn/kubernetes/cwe-250/host-access

Applies to

Languages

Frameworks

kubernetes

References

Scan for this issue

Detect with Shoulder CLI
npx @shoulderdev/cli trust --rule=kubernetes-host-access .

Related rules