mcpField
Z
zero-trust-architecture

zero-trust-architecture

github.com/aj-geddesSecurity373484 installsUpdated 34w ago
Repository

About zero-trust-architecture

A security skill for designing Zero Trust architectures around identity, microsegmentation, and continuous verification. It provides implementation guides for gateways, service meshes, and policy engines, with practices for cloud-native systems, APIs, and distributed environments.

Key features

  1. 01Identity-centric security guidance
  2. 02Request and device verification
  3. 03Microsegmentation patterns
  4. 04Gateway and policy engine guides
  5. 05Least-privilege and audit practices

Use cases

  1. 01Securing cloud-native applications
  2. 02Protecting APIs and microservices
  3. 03Supporting remote workforce security
  4. 04Modernizing legacy systems

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill zero-trust-architecture

After installing, type/zero-trust-architecturein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
python-zero-trust-policy-engine.md
service-mesh-microsegmentation.md
zero-trust-gateway.md
scripts/
validate-pipeline.sh
templates/
pipeline.yaml

Details

From the project README

Zero Trust Architecture

Table of Contents

Overview

Implement comprehensive Zero Trust security architecture based on "never trust, always verify" principle with identity-centric security, microsegmentation, and continuous verification.

When to Use

  • Cloud-native applications
  • Microservices architecture
  • Remote workforce security
  • API security
  • Multi-cloud deployments
  • Legacy modernization
  • Compliance requirements

Quick Start

Minimal working example:

// zero-trust-gateway.js
const jwt = require("jsonwebtoken");
const axios = require("axios");

class ZeroTrustGateway {
  constructor() {
    this.identityProvider = process.env.IDENTITY_PROVIDER_URL;
    this.deviceRegistry = new Map();
    this.sessionContext = new Map();
  }

  /**
   * Verify identity - Who are you?
   */
  async verifyIdentity(token) {
    try {
      // Verify JWT token
      const decoded = jwt.verify(token, process.env.JWT_PUBLIC_KEY, {
        algorithms: ["RS256"],
      });

      // Check token hasn't been revoked
      const revoked = await this.checkTokenRevocation(decoded.jti);
      if (revoked) {
        throw new Error("Token has been revoked");
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Zero Trust GatewayZero Trust Gateway
Service Mesh - MicrosegmentationService Mesh - Microsegmentation
Python Zero Trust Policy EnginePython Zero Trust Policy Engine

Best Practices

✅ DO
  • Verify every request
  • Implement MFA everywhere
  • Use microsegmentation
  • Monitor continuously
  • Encrypt all communications
  • Implement least privilege
  • Log all access
  • Regular audits
❌ DON'T
  • Trust network location
  • Use implicit trust
  • Skip device verification
  • Allow lateral movement
  • Use static credentials

Comments

Markdown supported