apex-protocol-enforcer

star 0

Ensures code compliance with Apex v2 S1-S8 security protocols and Engineering Constitution.

adelfree2023-dev By adelfree2023-dev schedule Updated 1/30/2026

name: apex_protocol_enforcer description: Ensures code compliance with Apex v2 S1-S8 security protocols and Engineering Constitution.

๐Ÿ›ก๏ธ Security Audit & Protocol Enforcement (v2.0)

Focus: Security Audit (7).


๐Ÿ Real-time Security Audit

  • Vulnerability Detection: Real-time detection of SQLi, XSS, and PII leaks. Utilize strictly typed Drizzle templates to prevent injection.
  • Audit Logging (S4): Mandatory auditing of all state-changing operations via NestJS Interceptors and audit_logs table.
  • PII Protection (S7): Enforce AES-256-GCM encryption for all sensitive data at rest using packages/encryption.

๐Ÿš€ Root Solutions (Security)

  • Zero-Trust Access: Strictly enforce TenantScopedGuard and AuthGuard on all non-public controller methods.
  • Header Hardening (S8): Mandatory implementation of Helmet, CSP, and HSTS headers.
  • Validation Gates (S3): Global execution of ZodValidationPipe. Manual DTOs without Zod schemas are a protocol breach.

โš–๏ธ Engineering Constitution

  • Lego Philosophy: Strict modular isolation using DDD (Domain-Driven Design).
  • Zod as Truth: All types must derive from Zod schemas.
  • Monorepo Strategy: apps/* must never import from another apps/*. Cross-app communication via shared packages only.
Install via CLI
npx skills add https://github.com/adelfree2023-dev/55 --skill apex-protocol-enforcer
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
adelfree2023-dev
adelfree2023-dev Explore all skills →