Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

zero-trust-security

БесплатноЗапускает вложенные скриптыНе проверен

Zero-trust architecture operates on the principle: "Never trust, always verify." Unlike traditional perimeter-based security, zero-trust assumes breach and…

williamzujkowskiот williamzujkowski★ 23 звезды на GitHub14 установок в других каталогах

Об этом скилле

Zero-Trust Security

Level 1: Quick Reference

Core Principles

Zero-trust architecture operates on the principle: "Never trust, always verify." Unlike traditional perimeter-based security, zero-trust assumes breach and verifies every request regardless of origin.

Fundamental Tenets:

  • No implicit trust based on network location
  • Verify explicitly (authentication + authorization)
  • Least privilege access (just-in-time, just-enough)
  • Assume breach (limit blast radius, segment access)
  • Inspect and log all traffic

Common Zero-Trust Patterns

1. Mutual TLS (mTLS)

# Istio PeerAuthentication for strict mTLS
apiVersion: security.istio.io/v1beta1
kind: PeerAuthentication
metadata:
  name: default
  namespace: production
spec:
  mtls:
    mode: STRICT

When to use: Service-to-service authentication, encrypted communication between microservices.

2. Service Mesh

  • Istio/Linkerd: Transparent mTLS, traffic encryption, identity management
  • Consul Connect: Service identity and authorization
  • AWS App Mesh: Cloud-native service mesh

Key benefits: Automatic encryption, fine-grained policies, observability.

3. BeyondCorp Model

# Identity-aware proxy configuration
apiVersion: v1
kind: Service
metadata:
  name: webapp
  annotations:
    cloud.google.com/neg: '{"ingress": true}'
    cloud.google.com/backend-config: '{"default": "beyondcorp-config"}'
spec:
  type: ClusterIP
  ports:
    - port: 8080
      targetPort: 8080

Use case: Remote access without VPN, identity-based access to applications.

Essential Checklist

Identity & Authentication:

  • Workload identities for all services (SPIFFE/SPIRE)
  • mTLS enabled for service-to-service communication
  • Strong authentication (MFA, certificates, tokens)
  • Identity lifecycle management (rotation, revocation)

Authorization:

  • Fine-grained access policies (attribute-based)
  • Least privilege by default
  • Just-in-time access provisioning
  • Policy enforcement at every access point

Network Security:

  • Microsegmentation (NetworkPolicies, security groups)
  • Encrypted communication (TLS 1.3+)
  • Traffic inspection and filtering
  • No trust based on network location

Monitoring & Verification:

  • Continuous monitoring of authentication events
  • Anomaly detection on access patterns
  • Centralized logging (who, what, when, where)
  • Regular access reviews and audits

Architecture:

  • Policy Decision Point (PDP) implemented
  • Policy Enforcement Point (PEP) at critical paths
  • Policy Administration Point (PAP) for management
  • Data plane and control plane separation

Quick Wins

  1. Enable mTLS in service mesh (2-4 hours)

    • Deploy Istio/Linkerd
    • Configure strict mTLS mode
    • Verify with traffic inspection
  2. Implement Kubernetes NetworkPolicies (1-2 hours)

    • Default deny all traffic
    • Explicit allow rules per service
    • Test connectivity
  3. Deploy workload identities (3-4 hours)

    • Install SPIFFE/SPIRE
    • Configure workload attestation
    • Integrate with service mesh

Level 2:

📚 Full Examples: See REFERENCE.md for complete code samples, detailed configurations, and production-ready implementations.

Implementation Guide

Zero-Trust Architecture Principles

Zero-trust architecture (ZTA) fundamentally reimagines security by eliminating implicit trust. Traditional castle-and-moat security assumes everything inside the perimeter is trustworthy, but ZTA treats every request as potentially hostile.

NIST 800-207 Zero Trust Tenets

  1. All data sources and computing services are considered resources

    • Applications, services, databases, IoT devices, containers
    • Resources may be on-premises, cloud, edge, or hybrid
  2. All communication is secured regardless of network location

    • Encrypt all traffic (mTLS, TLS 1.3)
    • No trust based on internal network position
    • Apply same security to internal and external traffic
  3. Access to resources is granted on a per-session basis

    • Authentication and authorization for every request
    • Continuous verification throughout session
    • Short-lived credentials and tokens
  4. Access is determined by dynamic policy

    • User identity, device health, behavior, risk score
    • Attribute-based access control (ABAC)
    • Context-aware decisions (time, location, sensitivity)
  5. Monitor and measure integrity and security posture

    • Continuous monitoring of assets
    • Real-time threat detection
    • Security analytics and automation
  6. All resource authentication and authorization are dynamic and strictly enforced

    • No static rules or permanent access
    • Adaptive policies based on risk
    • Fail-secure by default
  7. Collect as much information as possible about current state

    • Asset inventory and behavior
    • Network traffic analysis
Полный SKILL.md на GitHub

Установить zero-trust-security в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdREFERENCE.mdresources/README.mdresources/nist-800-207-checklist.mdresources/zero-trust-architecture.mdscripts/README.mdscripts/setup-mtls.shtemplates/README.mdtemplates/mtls-config.yamltemplates/network-policy.yamltemplates/workload-identity.yaml

FAQ

Что делает скилл zero-trust-security?

Zero-trust architecture operates on the principle: "Never trust, always verify." Unlike traditional perimeter-based security, zero-trust assumes breach and verifies every request regardless of origin.

Как установить скилл zero-trust-security?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл zero-trust-security запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить zero-trust-security с