Volver al catálogo
Curado por modeloDesarrollo

Dosier de la skill

secure-code-guardian

Declaración de origen

Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities — including custom security implementations such as hashing passwords with bcrypt/argon2, sanitizing SQL queries with parameterized statements, configuring CORS/CSP headers, validating input with Zod, and setting up JWT tokens. Invoke for authentication, authorization, input validation, encryption, OWASP Top 10 prevention, secure session management, and security hardening. For pre-built OAuth/SSO integrations or standalone security audits, consider a more specialized skill.

La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.

Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities — including custom security implementations such as hashing passwords with bcrypt/argon2, sanitizing SQL queries with parameterized statements, configuring CORS/CSP headers, validating input with Zod, and setting up JWT tokens. Invoke for authentication, authorization, input validation, encryption, OWASP Top 10 prevention, secure session management, and security hardening. For pre-built OAuth/SSO integrations or standalone security audits, consider a more specialized skill.

developmentreferences

El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.

Resumen de la investigación

Temas relacionados
Curado por modelo

Skill Atlas model curation · model-curated-1.0.0

Guides implementing authentication, authorization, input validation and OWASP Top 10 defenses, with explicit validation checkpoints.

Alcance de la revisión

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacidades observables

  • Models threats and plans security controls before coding.
  • Implements bcrypt or argon2 hashing, parameterized queries, Zod validation and JWT checks.
  • Configures rate limiting and security headers such as CSP and HSTS.
  • Tests brute-force protection, privilege escalation paths, injection payloads and header presence.

Limitaciones y alcance

  • The skill itself says dedicated OAuth/SSO integrations and standalone audits may need a more specialized skill.
  • Examples are TypeScript and Node-centric.
  • Not a substitute for a professional security audit; none of the examples were run here.

Relevante para

  • Developers building login and session flows
  • Teams hardening an Express API
  • Engineers implementing input validation

Qué incluye la skill

El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.

archivos
6
Archivos Markdown
6
scripts
0
referencias
5
Tamaño
23 KB
Complejidad estructural
Baja

Inventario de archivos

RutaTipoBytes
skills/secure-code-guardian/references/authentication.mdReferencia3,3 KB
skills/secure-code-guardian/references/input-validation.mdReferencia3,3 KB
skills/secure-code-guardian/references/owasp-prevention.mdReferencia3,3 KB
skills/secure-code-guardian/references/security-headers.mdReferencia2,9 KB
skills/secure-code-guardian/references/xss-csrf.mdReferencia3,1 KB
skills/secure-code-guardian/SKILL.mdInstrucción7,1 KB

Frontmatter de SKILL.md

{
  "name": "secure-code-guardian",
  "description": "Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities — including custom security implementations such as hashing passwords with bcrypt/argon2, sanitizing SQL queries with parameterized statements, configuring CORS/CSP headers, validating input with Zod, and setting up JWT tokens. Invoke for authentication, authorization, input validation, encryption, OWASP Top 10 prevention, secure session management, and security hardening. For pre-built OAuth/SSO integrations or standalone security audits, consider a more specialized skill.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "security",
    "triggers": "security, authentication, authorization, encryption, OWASP, vulnerability, secure coding, password, JWT, OAuth",
    "role": "specialist",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "fullstack-guardian, security-reviewer, architecture-designer"
  }
}

Una lectura de la secuencia de funcionamiento

Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.

  1. 01
    Entrada

    Threat model

    Identify the attack surface and threats for the feature.

  2. 02
    Acción

    Implement defense in depth

    Write secure code using hashing, parameterized queries, validation and token checks.

  3. 03
    Decisión

    Run validation checkpoints

    Test brute-force protection, privilege escalation, injection payloads and headers/CORS after each step.

  4. 04
    Salida

    Deliver secure implementation

    Provide code, security considerations, configuration requirements and testing recommendations.

Posibles superficies de riesgo

Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.

Se recomienda atención

39 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesObservado
Alta

Credential or secret material is referenced

7 ocurrencias

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 7 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota

File modification is described or implemented

19 ocurrencias

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 19 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Alta

Dynamic command execution is referenced

3 ocurrencias

A shell, dynamic evaluation, or process execution primitive appears here. Inspect arguments and input control. Presence in source does not prove a command ran. This rule matched 3 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Media

Network access is mentioned

10 ocurrencias

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 10 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota de seguridad editorial

Have a security engineer review any auth, crypto and session code it generates, and verify secrets stay in environment variables.

Dónde puede consumirse el contexto

Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.

Recuento exacto de tokens no disponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.

Evaluación controlada

Sin evaluación controlada

Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.

Sin probar

Úsala con el código fuente a la vista

Comando de instalación
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/secure-code-guardian # .claude/skills/secure-code-guardian
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/secure-code-guardian/SKILL.md.
  2. Review the license, prerequisites and all bundled resources.
  3. Install the skill into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Verificar la instalación

Check that SKILL.md for secure-code-guardian is discoverable at the destination, then ask Claude Code to use it on a small test task.

Requisitos previos

  • The skill itself says dedicated OAuth/SSO integrations and standalone audits may need a more specialized skill.
  • Examples are TypeScript and Node-centric.
  • Not a substitute for a professional security audit; none of the examples were run here.

Prompts de ejemplo

Representative task

Use the secure-code-guardian skill to add login to this Express API: bcrypt hashing, Zod input validation, rate limiting, helmet headers and a 15-minute JWT in an httpOnly cookie. List the tests to confirm each control.

Inspect before use

Read the secure-code-guardian skill files at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/secure-code-guardian/SKILL.md. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

Una decisión, con sus límites

Fortalezas

  • Lists concrete validation checkpoints for auth, authorization, input and headers.
  • Clear banned-practice list such as MD5, SHA-1 and hardcoded secrets.

Aspectos a considerar

  • Security code needs expert review regardless of source.
  • Example choices like HS256 JWT may not fit your architecture.
Conclusión de la investigación

A helpful secure-coding checklist whose generated code should still go through human security review.

Trazable por construcción

El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.

Jeffallanclaude-skillsskills/secure-code-guardian
Tipo de origen
Comunidad
Commit
67c1961b180dc92cf08983344627109e983e8f51
Recopilado
20 nov 2026
Última comprobación
20 nov 2026
Licencia original
MIT
Estrellas del repositorio
12.469
Base del contenido

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.