unitoneai/securityskills/segmentation
Claude Code and agent skill by unitoneai/securityskills
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Performs a structured network segmentation review against NIST SP 800-207 (Zero Trust Architecture) and CIS Controls v8 (Control 12 -- Network Infrastructure Management). Auto-invoked when reviewing network architecture, VLAN configurations, micro-segmentation policies, or DMZ designs. Produces a segmentation maturity assessment with zone mapping, trust boundary analysis, and remediation guidance.
Install
npx vskill@latest install unitoneai/securityskills/segmentationSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as unitoneai/securityskills/segmentation.
Network Segmentation Review
A structured, repeatable process for evaluating network segmentation architecture against NIST SP 800-207 (Zero Trust Architecture) and CIS Controls v8 Control 12 (Network Infrastructure Management). This skill produces a segmentation maturity assessment with zone mapping, trust boundary analysis, east-west traffic control evaluation, and prioritized remediation guidance.
When to Use
If a target is provided via arguments, focus the review on: $ARGUMENTS
- Architecture reviews for new or modified network designs.
- Zero Trust readiness assessments.
- PCI DSS scoping exercises requiring CDE segmentation validation (PCI DSS v4.0 Requirement 1.3).
- Post-incident reviews where lateral movement was observed or suspected.
- Cloud migration planning requiring workload isolation design.
- Merger/acquisition network integration planning.
Context
Network segmentation is the foundational control that limits blast radius. NIST SP 800-207 Section 2 defines Zero Trust Architecture as requiring "no implicit trust granted to assets or user accounts based solely on their physical or network location." CIS Controls v8 Control 12 requires enterprises to "establish, implement, and actively manage network devices, in order to prevent attackers from exploiting vulnerable network services and access points." Effective segmentation moves beyond flat VLANs to enforce policy at the workload level, restricting east-west traffic between systems that have no legitimate communication requirement.
Process
Step 1: Discovery -- Locate Network Architecture Artifacts
Use Glob and Grep to locate network configuration files, diagrams-as-code, and infrastructure definitions.
Patterns to search:
Catalog all discovered files by layer:
- Layer 3: VLANs, subnets, VPCs, route tables.
- Layer 4-7: Security groups, NACLs, network policies, WAF rules.
- Overlay: Service mesh policies (Istio, Linkerd), micro-segmentation (Calico, Cilium).
Step 2: Zone Architecture Analysis (NIST SP 800-207, Section 3)
Map the network into trust zones and evaluate the segmentation between them.
2.1 Zone Identification
Identify and document all network zones present in the configuration:
| Zone Type | NIST SP 800-207 Alignment | What to Look For | |
|---|---|---|---|
| Public / DMZ | Policy Enforcement Point (PEP) at boundary | Internet-facing subnets, load balancers, reverse proxies | |
| Application Tier | Subject-resource segmentation | Web servers, API gateways, application subnets | |
| Data Tier | Resource isolation | Database subnets, storage networks, data lake VPCs | |
| Management Plane | Control plane isolation (Section 3.3) | Jump boxes, bastion hosts, CI/CD runners, configuration management | |
| PCI CDE | Explicit segmentation required by PCI DSS 1.3 | Cardholder data environment, in-scope system subnets | |
| User / Workstation | Subject-based segmentation | Corporate LAN, VDI subnets, remote access VPN pools | |
| IoT / OT | Untrusted device zones | Sensors, embedded devices, industrial control subnets |
For each zone, record:
- Subnet CIDR ranges.
- Associated security group or ACL identifiers.
- Routing relationships to other zones.
2.2 Trust Boundary Evaluation
For each pair of adjacent zones, evaluate the enforcement mechanism at the boundary.
NIST SP 800-207 Section 3.1 -- Policy Enforcement Points (PEP):
Every inter-zone communication path must traverse a PEP that enforces access policy. Verify:
- A firewall, security group, or network policy exists between every zone pair.
- No direct routing exists between zones that should be isolated (e.g., user workstation subnet directly routable to database subnet).
- Transit zones (shared services, hub VPCs) do not provide a bypass path around segmentation controls.
What constitutes a violation:
Finding classification: Missing enforcement point between zones is Critical. Bypass paths through transit zones are High.
2.3 VLAN Design Review (CIS Control 12.2)
CIS Control 12.2 requires establishing and maintaining a secure network architecture. Evaluate VLAN design:
- Flat network detection: Single VLAN or subnet containing mixed workload types (web servers, databases, user workstations). This is a Critical finding.
- VLAN sprawl: Excessive VLANs without clear zone mapping or naming conventions. Document count and categorization.
- Native VLAN security: Native VLAN (VLAN 1) must not carry production traffic. VLAN hopping is possible via double-tagging if native VLAN is shared.
- Inter-VLAN routing controls: Verify that inter-VLAN routing passes through a firewall or Layer 3 ACL, not unrestricted router-on-a-stick.
Step 3: East-West Traffic Controls (NIST SP 800-207, Section 2.1)
NIST SP 800-207 Tenet 4: "Access to individual enterprise resources is granted on a per-session basis." This means east-west (lateral) traffic within a zone must also be controlled.
3.1 Intra-Zone Policy Evaluation
- Within application tier: Can any application server communicate with any other application server? If yes, micro-segmentation is absent.
- Within data tier: Can Database A communicate with Database B? Unrestricted intra-tier communication enables lateral movement after initial compromise.
- Within management plane: Can a compromised jump box reach all other management endpoints?
Patterns to check:
Finding classification: No intra-zone controls (flat east-west within zones) is High. Absence of Kubernetes default-deny NetworkPolicy in production namespaces is High.
3.2 Micro-Segmentation Readiness Assessment
Evaluate the environment's readiness for workload-level segmentation:
| Criterion | Ready | Partially Ready | Not Ready | |
|---|---|---|---|---|
| Workload identity | Every workload has a unique identity (service account, SPIFFE ID) | Some workloads identified | No workload identity scheme | |
| Communication mapping | Flow logs or service mesh telemetry documenting all east-west flows | Partial flow visibility | No east-west flow data | |
| Policy engine | Calico, Cilium, Istio, or cloud-native network policy deployed | Policy engine deployed but not enforcing | No policy engine | |
| Enforcement mode | Policies enforcing (deny unauthorized) | Policies in audit/monitor mode | No policies defined | |
| Automation | Policy changes via GitOps/IaC | Some manual policy management | Fully manual |
Step 4: DMZ Architecture Review (NIST SP 800-41, Section 4.1; CIS Control 12.2)
If a DMZ is present, evaluate its architectural soundness:
- Dual-firewall DMZ: Preferred architecture with separate external and internal firewalls (different vendors or rule sets). Single-firewall DMZ with three interfaces is acceptable but less resilient.
- DMZ-to-internal restrictions: DMZ systems must initiate connections only to specific internal hosts on specific ports. Unrestricted DMZ-to-internal access is a Critical finding.
- No direct external-to-internal path: External traffic must terminate in the DMZ. Any rule permitting direct external-to-internal-zone traffic bypasses the DMZ purpose entirely.
- DMZ management access: Management access to DMZ systems should originate from the management zone, not from the internet or user zone.
Step 5: PCI CDE Segmentation Validation (PCI DSS v4.0 Requirement 1.3)
If PCI scope is identified, verify CDE segmentation meets PCI DSS requirements:
- CDE is isolated in dedicated subnets or VLANs with explicit boundary controls.
- All traffic entering and leaving the CDE traverses a firewall or equivalent PEP.
- Connected-to systems are identified and documented.
- Out-of-scope systems cannot route directly to CDE systems.
- Segmentation testing methodology exists and is executed at least annually (PCI DSS 11.4.5).
Finding classification: CDE not segmented from general corporate network is Critical. Missing segmentation testing is High.
Step 6: Segmentation Testing Methodology
Document or verify the existence of a segmentation testing process:
- From each zone, attempt to reach every other zone on unauthorized ports. Expected result: connection refused or timed out.
- From outside the CDE, attempt to reach CDE systems on all ports. Expected result: no connectivity.
- From the DMZ, attempt to reach internal zones on unauthorized ports. Expected result: blocked.
- Test VLAN hopping via double-tagging from user VLANs. Expected result: traffic dropped.
- Validate that segmentation controls survive failover (HA firewall failover should not open transit paths).
Findings Classification
| Severity | Definition | |
|---|---|---|
| Critical | Flat network with no segmentation; missing enforcement points between security zones; CDE not isolated; direct external-to-internal routing. | |
| High | No east-west controls within zones; bypass paths through transit networks; unrestricted DMZ-to-internal access; missing segmentation testing; native VLAN carrying production traffic. | |
| Medium | Micro-segmentation policies in audit mode only; partial flow visibility; management plane accessible from user zone without MFA/jump box; VLAN sprawl without documentation. | |
| Low | Suboptimal zone naming conventions; missing network diagrams; segmentation documentation out of date. |
Output Format
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/network/segmentation/SKILL.md
Popularity
- Repository stars
- 76
- Repository forks
- 133
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/unitoneai/securityskills/segmentation)