Torna al catalogo
Curato dal modelloSviluppo

Dossier della skill

secure-code-guardian

Dichiarazione di fonte

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 descrizione originale dell'autore, conservata in inglese. Descrive l'intento, non prestazioni verificate.

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

I contenuti di ricerca di questo sito sono pubblicati in inglese e cinese e qui sono mostrati in inglese.

Sintesi della ricerca

Temi correlati
Curato dal modello

Skill Atlas model curation · model-curated-1.0.0

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

Ambito della revisione

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.

Capacità osservabili

  • 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.

Limiti e ambito

  • 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.

Utile per

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

Cosa contiene la skill

L'inventario dei file proviene dal sorgente raccolto al commit registrato. Percorsi e dimensioni sono osservazioni strutturali, non una misura di qualità.

file
6
File Markdown
6
script
0
riferimenti
5
Dimensione
23 KB
Complessità strutturale
Bassa

Inventario dei file

PercorsoTipoByte
skills/secure-code-guardian/references/authentication.mdRiferimento3,3 KB
skills/secure-code-guardian/references/input-validation.mdRiferimento3,3 KB
skills/secure-code-guardian/references/owasp-prevention.mdRiferimento3,3 KB
skills/secure-code-guardian/references/security-headers.mdRiferimento2,9 KB
skills/secure-code-guardian/references/xss-csrf.mdRiferimento3,1 KB
skills/secure-code-guardian/SKILL.mdIstruzione7,1 KB

Frontmatter di 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 lettura della sequenza operativa

Questo workflow ricostruisce la sequenza apparente a partire dal materiale sorgente. A meno che sia registrata esplicitamente una valutazione controllata, è provvisorio e non una traccia osservata.

  1. 01
    Input

    Threat model

    Identify the attack surface and threats for the feature.

  2. 02
    Azione

    Implement defense in depth

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

  3. 03
    Decisione

    Run validation checkpoints

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

  4. 04
    Output

    Deliver secure implementation

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

Possibili superfici di rischio

I rilievi statici indicano i punti da esaminare prima dell'installazione. Non stabiliscono che una skill sia sicura, dannosa o efficace.

Attenzione consigliata

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.

Accesso alla reteOsservato
Scritture su fileOsservato
Uso di credenzialiOsservato
Alto

Credential or secret material is referenced

7 occorrenze

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 occorrenze

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.

Alto

Dynamic command execution is referenced

3 occorrenze

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.

Medio

Network access is mentioned

10 occorrenze

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 di sicurezza editoriale

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

Dove può essere consumato il contesto

I livelli di individuazione, attivazione e risorse hanno significati diversi. I valori esatti compaiono solo quando il metodo ufficiale di conteggio è stato eseguito con un modello indicato.

Conteggio esatto dei token non disponibile

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

Non è stata registrata alcuna misura dei token con il metodo ufficiale richiesto. Questo dossier non la sostituisce con conteggi di caratteri, dimensioni dei file o stime.

Valutazione controllata

Nessuna valutazione controllata

Questa skill dispone solo delle evidenze indicate sopra. Non si afferma alcun tasso di successo, efficienza in token, latenza o vantaggio di qualità.

Non testato

Usare tenendo il sorgente in vista

Comando di installazione
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.
Verifica dell'installazione

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.

Prerequisiti

  • 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.

Prompt di esempio

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.

Un giudizio, con i suoi limiti

Punti di forza

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

Aspetti da valutare

  • Security code needs expert review regardless of source.
  • Example choices like HS256 JWT may not fit your architecture.
Conclusione della ricerca

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

Tracciabile per costruzione

Il dossier è una lettura circoscritta nel tempo di un artefatto pubblico, non un'approvazione. Usa il link al sorgente per esaminare il materiale upstream esatto.

Jeffallanclaude-skillsskills/secure-code-guardian
Tipo di fonte
Community
Commit
67c1961b180dc92cf08983344627109e983e8f51
Raccolta
20 nov 2026
Ultimo controllo
20 nov 2026
Licenza upstream
MIT
Stelle del repository
12.469
Base dei contenuti

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.