소스 정보
- 저장소
- AJBcoding/claude-skill-eval
- 최근 소스 활동
- 2025년 11월 18일 19:33
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/AJBcoding/claude-skill-eval --skill moai-security-zero-trust명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Enterprise database architecture specialist with PostgreSQL 17, MySQL 8.4 LTS, MongoDB 8.0, Redis 7.4 expertise. Master connection pooling, query optimization, caching strategies, and database DevOps automation. Build scalable, resilient database systems with comprehensive monitoring and disaster recovery.
Enterprise Frontend Development with AI-powered modern architecture, Context7 integration, and intelligent component orchestration for scalable user interfaces
Enterprise-grade security expertise with production-ready patterns for OWASP Top 10 2021, zero-trust architecture, threat modeling (STRIDE, PASTA), secure SDLC, DevSecOps automation, cloud security, cryptography, identity & access management, and compliance frameworks (SOC 2, ISO 27001, GDPR, CCPA).
SOC 직업 분류 기준
SKILL.md 표시 중
| name | moai-security-zero-trust |
| version | 4.0.0 |
| status | stable |
| description | Enterprise Skill for advanced development |
| allowed-tools | Read, Bash, WebSearch, WebFetch |
Enterprise Zero-Trust with eBPF, Micro-Segmentation & mTLS
Trust Score: 9.9/10 | Version: 4.0.0 | Enterprise Mode | Last Updated: 2025-11-12
Zero-Trust Architecture (ZTA) implementation with eBPF-based network policies, micro-segmentation, and mutual TLS (mTLS) enforcement. Kubernetes NetworkPolicy with Cilium 1.18+, Teleport BeyondCorp implementation, device trust verification. 2025 standard: 50% of enterprises now use service mesh for zero-trust enforcement.
When to use this Skill:
Traditional Security Model (Perimeter-based):
Network Edge
│
├─ Firewall (allow/deny external)
└─ Internal trust: ANY communication allowed
Zero-Trust Model (Never trust, always verify):
Every Request
├─ Identity: WHO is making request?
├─ Device: IS device trusted?
├─ Network: IS source authorized?
├─ Application: IS request legitimate?
└─ Decision: ALLOW or DENY
Key Principles:
1. Never trust, always verify
2. Least privilege access
3. Assume breach (defense in depth)
4. Verify every transaction
5. Encrypt all traffic
6. Monitor all activity
Layer 1: Identity & Authentication
├─ Multi-factor authentication (MFA)
├─ Passwordless authentication
└─ Continuous authentication
Layer 2: Device Security
├─ Device posture assessment
├─ Endpoint detection & response (EDR)
├─ Device certificate (PKI)
└─ Hardware security modules (HSM)
Layer 3: Network Segmentation
├─ Micro-segmentation policies
├─ Application-aware firewalling
├─ Encrypted tunnels (mTLS)
└─ Service mesh enforcement
Layer 4: Application & Data
├─ Fine-grained access control
├─ Data encryption (at-rest, in-transit)
├─ Sensitive data masking
└─ Audit logging of all access
# Default: Deny All (Zero-Trust Default)
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: default-deny-all
spec:
podSelector: {}
policyTypes:
- Ingress
- Egress
---
# Allow Frontend -> Backend traffic
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: frontend-to-backend
spec:
podSelector:
matchLabels:
tier: backend
policyTypes:
- Ingress
ingress:
- from:
- podSelector:
matchLabels:
tier: frontend
ports:
- protocol: TCP
port: 8080
---
# Cilium CiliumNetworkPolicy (Layer 7 - application layer)
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
// Cilium integration in Node.js
const k8s = require('@kubernetes/client-node');
class CiliumNetworkPolicyManager {
constructor() {
this.kc = new k8s.KubeConfig();
this.kc.loadFromDefault();
this.k8sApi = this.kc.makeApiClient(k8s.CustomObjectsApi);
}
async applyZeroTrustPolicy(namespace, serviceName) {
// Create default deny-all policy
const denyPolicy = {
apiVersion: 'networking.k8s.io/v1',
kind: 'NetworkPolicy',
metadata: {
name: `${serviceName}-default-deny`,
namespace,
},
spec: {
podSelector: {
matchLabels: {
app: serviceName,
},
},
policyTypes: ['Ingress', 'Egress'],
ingress: [], // Empty = deny all
egress: [], // Empty = deny all
},
};
// Create Cilium Layer 7 policy for specific allowed traffic
const l7Policy = {
: ,
: ,
: {
: ,
namespace,
},
: {
: {
: {
: serviceName,
},
},
: [
{
: [
{
: {
: ,
},
},
],
: [
{
: [
{
: ,
: ,
},
],
: {
: [
{
: ,
: ,
},
],
},
},
],
},
],
},
};
..(
,
,
namespace,
,
denyPolicy
);
..(
,
,
namespace,
,
l7Policy
);
.();
}
}
// Service mesh (Cilium, Istio) enforces mTLS between services
const { Issuer } = require('openid-client');
class mTLSEnforcement {
constructor() {
this.certs = new Map();
this.trustStore = [];
}
// Issue certificate to service
async issueCertificate(serviceName, namespace) {
const cert = {
subject: `/CN=${serviceName}.${namespace}.svc.cluster.local`,
validity: {
notBefore: new Date(),
notAfter: new Date(Date.now() + 365 * 24 * 60 * 60 * 1000),
},
keySize: 4096,
algorithm: 'RSA',
};
// Store in secret
await this.storeInK8sSecret(serviceName, namespace, cert);
this.certs.set(`.`, cert);
cert;
}
() {
(!.(clientCert)) {
();
}
(!.(serverCert)) {
();
}
(!.(clientCert)) {
();
}
(!.(serverCert)) {
();
}
now = ();
(now < (clientCert.) || now > (clientCert.)) {
();
}
(now < (serverCert.) || now > (serverCert.)) {
();
}
{
: ,
: clientCert.,
: serverCert.,
};
}
() {
;
}
() {
..( ca. === cert.);
}
}
class DeviceTrustAssessment {
async assessDeviceTrust(device) {
const assessment = {
deviceId: device.id,
timestamp: new Date(),
score: 0,
checks: {},
};
// Check 1: Operating System
const osCheck = await this.checkOS(device);
assessment.checks.os = osCheck;
assessment.score += osCheck.trusted ? 25 : 0;
// Check 2: Antivirus/Anti-malware
const avCheck = await this.checkAntivirus(device);
assessment.checks.antivirus = avCheck;
assessment.score += avCheck.enabled ? 25 : 0;
// Check 3: Firewall
const fwCheck = await this.checkFirewall(device);
assessment.checks.firewall = fwCheck;
assessment.score += fwCheck.enabled ? 25 : 0;
// Check 4: Disk Encryption
const encCheck = .(device);
assessment.. = encCheck;
assessment. += encCheck. ? : ;
assessment. = .(assessment.);
assessment;
}
() {
(score >= ) ;
(score >= ) ;
;
}
() {
{
: device.,
: device.,
: device.,
: .(device),
};
}
() {
{
: device.,
: device.,
: device.,
: .(device.),
};
}
() {
daysSincePatch = .(
(.() - (device.)) / ( * * * )
);
daysSincePatch <= ;
}
() {
.(
(.() - (lastUpdate)) / ( * * * )
);
}
}
deviceTrust = ();
app.( (req, res, next) => {
device = req.;
assessment = deviceTrust.(device);
(assessment. === ) {
res.().({
: ,
assessment,
});
}
(assessment. === ) {
req. = ;
}
();
});
const { Context7Client } = require('context7-mcp');
class NetworkPolicyValidator {
constructor(apiKey) {
this.context7 = new Context7Client(apiKey);
}
// Validate network policy against threat intelligence
async validatePolicy(policy) {
const validation = await this.context7.query({
type: 'network_policy_validation',
policy,
tags: ['zero_trust', 'micro_segmentation'],
});
return {
valid: validation.isValid,
issues: validation.issues,
recommendations: validation.recommendations,
};
}
// Detect policy conflicts
async detectConflicts(policies) {
const conflicts = await this.context7.query({
type: 'policy_conflict_detection',
policies,
});
return conflicts.detectedConflicts;
}
}
| Component | Purpose | Tool |
|---|---|---|
| Identity | Verify WHO | MFA, Passwordless |
| Device | Verify DEVICE HEALTH | EDR, Certificate |
| Network | Verify PATH | Cilium, Istio |
| Application | Verify REQUEST | mTLS, RBAC |