yonatangross avatar

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-code

Installs 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

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

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
1zxkane avataraws-serverless-edazxkane/aws-skillsAWS serverless and event-driven architecture expert based on Well-Architected Framework. Use when building serverless APIs, Lambda functions, REST APIs, microse738skills.sh installs
2madteacher avatarflutter-networkingmadteacher/mad-agents-skillsImplement, fix, debug, review, or refactor Flutter networking code for HTTP/REST APIs, WebSocket realtime flows, authentication and token refresh, request heade727skills.sh installs
3machina-sports avatarnhl-datamachina-sports/sports-skillsNHL data via ESPN public endpoints and the official NHL API — scores, standings, rosters, schedules, game summaries, injuries, futures, leaders, and news, plus 718skills.sh installs
4railwayapp avatartemplatesrailwayapp/railway-skillsThis skill should be used when the user wants to add a service from a template, find templates for a specific use case, or deploy tools like Ghost, Strapi, n8n,716skills.sh installs
5glitternetwork avatarpinmeglitternetwork/pinmeUse this skill when the user mentions "pinme", or needs to upload files, store to IPFS, create/publish/deploy websites or full-stack services (including fronten715skills.sh installs
6machina-sports avatarworld-cupmachina-sports/sports-skillsPremium FIFA World Cup 2026 market & match intelligence — a hosted, read-only layer that fuses official match truth (fixtures, standings, squads, injuries, play700skills.sh installs