From nickcrew-claude-ctx-plugin
Provides secure coding patterns for authentication, input validation, encryption, and error handling. Use when implementing security controls or conducting code reviews.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nickcrew-claude-ctx-plugin:secure-coding-practicesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Comprehensive guidance for implementing security-first development patterns with defensive programming techniques and proactive threat mitigation strategies.
Comprehensive guidance for implementing security-first development patterns with defensive programming techniques and proactive threat mitigation strategies.
Apply multiple layers of security controls - never rely on a single protection mechanism.
When errors occur, default to the secure state (deny access, reject input, log event).
Grant minimum necessary permissions - users, services, and databases should have only required access.
Validate all input, encode all output, verify all sources, authenticate all requests.
| Task | Load reference |
|---|---|
| Input validation & sanitization | skills/secure-coding-practices/references/input-validation.md |
| Output encoding & XSS prevention | skills/secure-coding-practices/references/output-encoding.md |
| Authentication & sessions | skills/secure-coding-practices/references/authentication.md |
| Cryptography & key management | skills/secure-coding-practices/references/cryptography.md |
| Dependencies & supply chain | skills/secure-coding-practices/references/dependencies.md |
| Error handling & logging | skills/secure-coding-practices/references/error-handling.md |
| Secure defaults & configuration | skills/secure-coding-practices/references/secure-defaults.md |
Input Validation:
Output Encoding:
Authentication & Authorization:
Cryptography:
Dependencies:
Error Handling & Logging:
Watch for these patterns in code reviews:
OWASP Resources:
Standards & Guidelines:
Tools:
npx claudepluginhub nickcrew/claude-cortexSecure coding patterns and DevSecOps best practices. Use for threat modeling, secret management, secure authentication, OWASP Top 10 prevention, and security compliance.
Provides OWASP Top 10 guidelines, secure Python/Flask coding patterns, prevention strategies, and remediation for access control and cryptographic vulnerabilities.
Guides application security reviews and implementation covering OWASP Top 10, input validation, auth, secrets management, and antipatterns.