
Secure Code Guardian
Security implementation guide covering password hashing, parameterized SQL, input validation, JWT setup, and OWASP Top 10 prevention.
- CCM score
- 67 of 100
- skills.sh installs
- 5.7K
- GitHub stars
- 12.5K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers authentication, authorization, input handling, encryption, session management, and security hardening, with a threat-model-to-documentation workflow
- Includes code patterns for bcrypt/argon2 hashing, parameterized queries, Zod validation, JWT verification with an explicit algorithm allowlist, and a full secured login endpoint
- Enforces rules such as no MD5 or SHA-1, no string-interpolated SQL, rate limiting on auth routes, and secrets kept out of source code
- Designed for implementing security controls in apps; pre-built OAuth/SSO integrations and standalone audits are better served by specialized skills
Install
$ npx -y skills add jeffallan/claude-skills --skill secure-code-guardian -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Secure Code Guardian
Core Workflow
- Threat model — Identify attack surface and threats
- Design — Plan security controls
- Implement — Write secure code with defense in depth; see code examples below
- Validate — Test security controls with explicit checkpoints (see below)
- Document — Record security decisions
Validation Checkpoints
After each implementation step, verify:
- Authentication: Test brute-force protection (lockout/rate limit triggers), session fixation resistance, token expiration, and invalid-credential error messages (must not leak user existence).
- Authorization: Verify horizontal and vertical privilege escalation paths are blocked; test with tokens belonging to different roles/users.
- Input handling: Confirm SQL injection payloads (
' OR 1=1--) are rejected; confirm XSS payloads (<script>alert(1)</script>) are escaped or rejected. - Headers/CORS: Validate with a security scanner (e.g.,
curl -I, Mozilla Observatory) that security headers are present and CORS origin allowlist is correct.
Reference Guide
Load detailed guidance based on context:
Details
- Repository
- github.com/jeffallan/claude-skills
- Categories
- Security, Backend & APIs
More from jeffallan/claude-skills
All 66- Debugging Wizard5.6K
- Shopify Expert5.4K
- Microservices Architect5.4K
- React Native Expert5.3K
- Cli Developer5.3K
- Angular Architect5.3K
- Csharp Developer5.3K
- Rails Expert5.2K
- Dotnet Core Expert5.2K
- Rag Architect5.1K
- Cloud Architect5.1K
- The Fool5K
- Spec Miner4.9K
- Vue Expert4.9K
- Atlassian Mcp4.8K
- Legacy Modernizer4.7K
- Salesforce Developer4.7K
- Feature Forge4.7K
- Fine Tuning Expert4.7K
- Django Expert4.7K
- Mcp Developer4.6K
- Swift Expert4.6K
- Vue Expert Js4.5K
- Graphql Architect4.4K
Similar to Secure Code Guardian
More Security
securitythebeardedbearsas/bear-craft136 installsUniversal security guidelines and OWASP Top 10 practices for reviewing, hardening, and authoring code.
django-securityaffaan-m/ecc14.4K installsDjango security guide covering authentication, authorization, SQL injection, XSS prevention, and production hardening.
owasp-securityhoodini/ai-agents-skills3.1K installsPractical OWASP Top 10 guidance with vulnerable-versus-fixed code for access control, crypto, injection, and misconfiguration.
cybersecurityomer-metin/skills-for-antigravity306 installsSecurity engineering guidance for auth, encryption, OWASP risks, and compliance, grounded in reference patterns.