Skip to content
yonatangross avatar

Security Patterns

Security patterns for auth, defense-in-depth, input validation, OWASP, LLM safety, and PII masking.

CCM score
53 of 100
skills.sh installs
717
GitHub stars
312
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers authentication with Argon2id hashing, 15-minute JWT access tokens, PKCE, and passkeys over TOTP and SMS
  • Provides an 8-layer defense-in-depth architecture plus Zod v4 and Pydantic validation for untrusted input
  • Adds a sandbox.network.deniedDomains blocklist and sandbox.credentials rules that deny reads of credential files and secret environment variables
  • Designed for hardening applications and implementing prompt-injection defense, output guardrails, and PII redaction

Install

$ npx -y skills add yonatangross/orchestkit --skill security-patterns -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Security Patterns

Comprehensive security patterns for building hardened applications. Each category has individual rule files in rules/ loaded on-demand.

Quick Reference

CategoryRulesImpactWhen to Use
AuthenticationupstreamCRITICALJWT tokens, OAuth 2.1/PKCE, RBAC/permissions
Defense-in-Depth1CRITICALMulti-layer security, zero-trust architecture
Input Validation2HIGHSchema validation (Zod/Pydantic), output encoding, file uploads
OWASP Top 101CRITICALInjection prevention, broken authentication fixes
LLM SafetyrefsHIGHPrompt injection defense, output guardrails, content filtering
PII MaskingrefsHIGHPII detection/redaction with Presidio, Langfuse, LLM Guard
ScanningupstreamHIGHDependency audit, SAST (Semgrep/Bandit), secret detection
Advanced Guardrails2CRITICALNeMo/Guardrails AI validators, red-teaming, OWASP LLM

Details

Repository
github.com/yonatangross/orchestkit
Categories
Security, Backend & APIs
First seen
Jun 3, 2026

More from yonatangross/orchestkit

All 55

Similar to Security Patterns

More Security