
Security Patterns
This is a comprehensive security reference that surfaces 20 rules across authentication, OWASP Top 10, LLM safety, and PII masking when you're working in auth, middleware, or security-related code paths. It ships with a pre-tool hook that blocks dangerous bash commands and includes practical snippets for Argon2id password hashing, JWT token generation with 15-minute expiry, Zod schema validation, and Langfuse PII masking. The LLM safety section is especially thorough, enforcing context separation so sensitive IDs flow around the model rather than through it, plus a four-stage output validation pipeline. If you're building anything that touches user credentials, handles untrusted input, or integrates LLMs into production workflows, this gives you opinionated guardrails and code samples that default to the paranoid choice.
- skills.sh installs
- 738
- GitHub stars
- 301
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yonatangross/orchestkit --skill security-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
Security Patterns
Comprehensive security patterns for building hardened applications. Each category has individual rule files in rules/ loaded on-demand.
Quick Reference
| Category | Rules | Impact | When to Use |
|---|---|---|---|
| Authentication | upstream | CRITICAL | JWT tokens, OAuth 2.1/PKCE, RBAC/permissions |
| Defense-in-Depth | 1 | CRITICAL | Multi-layer security, zero-trust architecture |
| Input Validation | 2 | HIGH | Schema validation (Zod/Pydantic), output encoding, file uploads |
| OWASP Top 10 | 1 | CRITICAL | Injection prevention, broken authentication fixes |
| LLM Safety | refs | HIGH | Prompt injection defense, output guardrails, content filtering |
| PII Masking | refs | HIGH | PII detection/redaction with Presidio, Langfuse, LLM Guard |
| Scanning | upstream | HIGH | Dependency audit, SAST (Semgrep/Bandit), secret detection |
| Advanced Guardrails | 2 | CRITICAL | NeMo/Guardrails AI validators, red-teaming, OWASP LLM |
Sponsors
Details
- Repository
- github.com/yonatangross/orchestkit
- Categories
- Backend & APIs, Security, AI & Agent Building
- First seen
- Jun 3, 2026
More from yonatangross/orchestkit
All 61- Langgraph371
- Write Prd336
- Distributed Systems293
- Ascii Visualizer283
- Monitoring Observability269
- Vite Advanced265
- Quality Gates259
- Code Review Playbook254
- Python Backend249
- Accessibility245
- Memory Fabric243
- Multimodal Llm242
- Database Patterns238
- Architecture Patterns236
- Performance232
- Github Operations228
- Remember228
- Doctor227
- React Server Components Framework227
- Web Research Workflow227
- Explore224
- Errors223
- Issue Progress Tracking221
- Release Management220