Skill Being Reviewed
Skill name: segmentation
Skill path: skills/network/segmentation/SKILL.md
False Positive Analysis
Benign code/config that can be over-flagged:
namespace=payments
default_deny_network_policy=true
istio_peer_authentication=STRICT
pods_hostNetwork=false
sidecar_injection=required
Why this is a false positive:
A Kubernetes namespace with strict mTLS, default-deny policy, and no host-network pods should not be scored as flat simply because services share a cluster. The assessment should verify mesh and network-policy enforcement before flagging co-residency.
Coverage Gaps
Missed variant 1:
Pod runs with hostNetwork or hostPort and bypasses service mesh sidecar policy, reaching node or VPC resources outside intended namespace segmentation.
Why it should be caught:
This creates a lateral path that ordinary namespace-level service-mesh policy may not control.
Missed variant 2:
Namespace has Istio AuthorizationPolicy, but no Kubernetes default-deny NetworkPolicy, so traffic that bypasses the sidecar or targets non-mesh workloads remains open.
Why it should be caught:
Mesh policy and network policy are complementary; relying on one without the other leaves bypass paths.
Edge Cases
Init containers, CNI failures, debug pods, node-local services, and DaemonSets can legitimately need different paths. They require explicit exceptions, owner, expiry, and evidence that host-level routes cannot reach protected zones.
Remediation Quality
Comparison to Other Tools
| Tool |
Catches this? |
Notes |
| Istio/Linkerd policy |
Partial |
Enforces mesh traffic but may not cover host-network or non-mesh paths. |
| Kubernetes NetworkPolicy |
Partial |
Controls pod traffic if CNI supports it, but not all host-level flows. |
| Cilium/Calico |
Partial |
Can enforce both, but configuration evidence must be checked. |
Overall Assessment
Strengths:
The skill already covers zones, east-west traffic, Kubernetes NetworkPolicy, Calico, Cilium, and service mesh readiness.
Needs improvement:
It should explicitly test mesh bypass paths where workload identity policy and network enforcement diverge.
Priority recommendations:
- Add a service-mesh bypass checklist to intra-zone evaluation.
- Require default-deny network policy and sidecar coverage evidence together.
- Track hostNetwork/hostPort exceptions with owner, expiry, and allowed destination.
Bounty Info
Skill Being Reviewed
Skill name: segmentation
Skill path:
skills/network/segmentation/SKILL.mdFalse Positive Analysis
Benign code/config that can be over-flagged:
Why this is a false positive:
A Kubernetes namespace with strict mTLS, default-deny policy, and no host-network pods should not be scored as flat simply because services share a cluster. The assessment should verify mesh and network-policy enforcement before flagging co-residency.
Coverage Gaps
Missed variant 1:
Why it should be caught:
This creates a lateral path that ordinary namespace-level service-mesh policy may not control.
Missed variant 2:
Why it should be caught:
Mesh policy and network policy are complementary; relying on one without the other leaves bypass paths.
Edge Cases
Init containers, CNI failures, debug pods, node-local services, and DaemonSets can legitimately need different paths. They require explicit exceptions, owner, expiry, and evidence that host-level routes cannot reach protected zones.
Remediation Quality
Comparison to Other Tools
Overall Assessment
Strengths:
The skill already covers zones, east-west traffic, Kubernetes NetworkPolicy, Calico, Cilium, and service mesh readiness.
Needs improvement:
It should explicitly test mesh bypass paths where workload identity policy and network enforcement diverge.
Priority recommendations:
Bounty Info