Saltar al contenido
Skillpedia
Seguridad41 mil · #6552

security-review

Qué hace

Esta skill guía al agente en una revisión de seguridad del código, de un módulo o de una función. Busca debilidades que un atacante podría aprovechar de verdad y explica cómo corregir cada una.

Cuándo usarla

  • ✓Cuando pides una revisión de seguridad de código nuevo antes de publicarlo.
  • ✓Cuando sospechas que una función puede permitir a los usuarios ver o cambiar datos que no deberían.
  • ✓Cuando quieres comprobar si hay contraseñas, claves o comandos inseguros filtrados en un proyecto.

Link de la skill

https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/security-review/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/security-review/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Puedes revisar mi función de inicio de sesión en busca de agujeros de seguridad y decirme cómo arreglar lo que sea arriesgado?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente localiza por dónde entra en el código la información externa y dónde puede causar daño. Después sigue esos datos paso a paso e informa solo de los problemas que puede señalar, con el archivo y la corrección.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Security Review

Produce findings a reviewer can verify, not a vibes pass. Every finding names the file, the reachable path that makes it real, and the fix.

Scope the review first

  • What is under review: a diff, a module, a plugin bundle, a network surface. Say the boundary out loud before reading.
  • Trust boundaries: where untrusted input enters (HTTP handlers, MCP tool args, file parsers, CLI flags, env vars, rendered content) and where authority is exercised (fs writes, network egress, process spawn, credential reads, signing).
  • Prerequisites: a checked-out tree and the project's own test runner. Ask for credentials only if a live path genuinely needs them; never read secrets from the environment or keychain yourself.

Procedure

  1. Map entry points and sinks. rg for the handlers, deserializers, and exec/fs/net calls in scope. Follow data from entry to sink before judging it.
  2. Authn/authz. Every mutating or sensitive handler checks identity and object-level authorization. Look for checks that exist on one path but not its sibling, and for checks done on the client only.
  3. Injection. Command lines, SQL, template eval, shell expansion, path joins under user influence, and markup that will render later — including generated HTML/markdown that carries repo content into a browser surface.
  4. Secrets. rg for token/key/secret patterns and git log -p the diff for credentials. Also check what gets logged or embedded in receipts, exports, or error messages.
  5. Dependencies. Run the project's audit gate if it exists (cargo audit, npm audit, osv-scanner) — report versions and CVEs, not "deps look old".
  6. Denial and abuse paths. Unbounded reads/allocations, missing timeouts on network calls, resource leaks in error paths, retry storms.
  7. Verify a finding before reporting it. Trace the real call path or write a minimal proof. A finding that "looks suspicious" but has no reachable path is a note, not a finding.

Findings format

For each: severity (exploitability × impact), file:line, the reachable path, a one-paragraph explanation, and the fix. Order by severity. Then a short "checked and clean" list naming what was audited and cleared — the scope statement means something only if the clear list is honest.

Recovery and limits

  • If you cannot prove reachability, downgrade the claim and say what evidence is missing.
  • Do not claim a formal audit, certification, or absence of vulnerabilities. This review finds defects; it does not prove none exist.
  • Never fix-and-stay-quiet on a security finding in someone else's in-flight code — report it first.

Completion criteria

  • Every entry point in scope was traced to its sinks.
  • Findings carry file:line + reachability + fix; the clear list names what was actually checked.
  • Severity ordering is defensible by exploitability, not by how loudly the code smells.
Preguntas frecuentes

¿Es lo mismo que una revisión de código normal?

No. Se centra en debilidades explotables, no en la calidad general, el estilo o la limpieza del código.

¿Leerá el agente mis contraseñas o claves?

La skill dice que el agente no debe leer secretos del entorno ni del llavero por sí mismo, y que solo pide credenciales cuando una prueba real lo necesita de verdad.

¿Cada hallazgo viene con una corrección?

Sí. Cada hallazgo indica el archivo, la ruta que lo convierte en un riesgo real y la corrección sugerida.

Detalles

Descripción original del autor

Review a change, module, or surface for exploitable defects — trust boundaries, authn/authz, injection, secret exposure, filesystem and network reach, dependency risk. Use when the user asks for a security review, audit, or vulnerability check of concrete code. Not for general code review, lint, or compliance paperwork.

repo: codewhale-hq/Codewhale

Popularidad

Estrellas en GitHub
41 mil
Posición en el ranking
#6552
Licencia
MIT
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas