Skip to content
cccskills
FreePublished on GitHub

owasp-top10-check

Auditoría OWASP Top 10 (2021) para stack Educabot (Go + TS, React + Vite, PostgreSQL). Datos de menores → LGPD/COPPA obligatorio.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3 stars(GitHub 3 + cccskills 0)

Run score Not tested

See how to install

Files included (4)

  • SKILL.md4.9 KB
  • references/anti-patterns.md1.4 KB
  • references/educabot-specifics.md325 B
  • references/tools.md375 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

OWASP Top 10 Check — Educabot

Auditoría contra OWASP Top 10 2021. Go backend + TS/React frontend. Datos de menores → compliance LGPD/COPPA obligatorio.

Categorías

A01: Broken Access Control

  • Middleware auth explícito en todos los endpoints
  • Ownership check (resource.user_id == session.user_id) o RBAC/ABAC
  • RLS en tablas con PII de alumnos. Frontend nunca es autoridad
  • Delegar diseño permisos a /rbac-abac

A02: Cryptographic Failures

  • TLS 1.2+ obligatorio (1.3 preferido). HSTS habilitado
  • Passwords: Argon2id o bcrypt cost≥10. Nunca MD5/SHA1/SHA256 plano
  • JWT: RS256/EdDSA, no HS256 compartido. Secretos en Secret Manager
  • PII de menores cifrada en reposo. Cookies: Secure+HttpOnly+SameSite
  • Delegar a /secret-management, /jwt-strategy

A03: Injection

  • Siempre prepared statements/parametrización. Nunca fmt.Sprintf para queries
  • ORM correcto — cuidado con db.Raw(), $queryRawUnsafe
  • Input validation en boundary con structs tipados + validators (zod, go-playground/validator)
  • OS commands con argv separado. No dangerouslySetInnerHTML sin sanitize

A04: Insecure Design

  • Threat model antes de implementar features sensibles
  • Rate limit en endpoints unauth. Respuestas genéricas en auth (sin enumeración)
  • Kill switches / feature flags. Datos distintos entre ambientes
  • Delegar a /rate-limiting

A05: Security Misconfiguration

  • NODE_ENV=production, GIN_MODE=release. CORS whitelist estricta
  • Security headers: CSP, X-Frame-Options, HSTS, X-Content-Type-Options, Referrer-Policy
  • Buckets privados, URLs firmadas cortas. Debug endpoints deshabilitados en prod
  • Docker: non-root, distroless/alpine, sin secrets en layers
  • Delegar a /csp-headers

A06: Vulnerable Components

  • govulncheck ./... + pnpm audit --audit-level=high limpios
  • Dependabot/Renovate habilitado. Lockfiles commiteados
  • trivy image sin CRITICAL. Imágenes pinneadas por digest
  • Delegar a /deps-audit

A07: Auth Failures

  • Rate limit agresivo en login/register/reset (5/min IP, 10/hora usuario)
  • MFA para admin/docente (TOTP mínimo). Password ≥12 chars + leaked check
  • Session IDs CSPRNG, regenerar post-login. Reset tokens one-time ≤30min
  • Menores: sin social login sin consentimiento parental
  • Delegar a /mfa-setup, /oauth-setup, /jwt-strategy

A08: Integrity Failures

  • Artefactos firmados (cosign). npm ci en CI (no npm install)
  • No eval/Function() sobre input externo. Webhooks firmados HMAC
  • Docker pinneado por digest. Branch protection + required reviewers

A09: Logging & Monitoring

  • Auth events loggeados. Audit log inmutable para acciones sensibles
  • Structured JSON logs con trace_id. Nunca loggear passwords/tokens/PII
  • Alertas: spikes 5xx, login fallidos masivos, geo inusuales
  • Delegar a /logging-setup, /audit-log, /error-tracking

A10: SSRF

  • Whitelist dominios para outbound con user input
  • Bloquear IPs privadas (10/172.16/192.168/127/169.254). Validar IP resuelta, no hostname
  • Deshabilitar schemes peligrosos (file://, gopher://). Limitar redirects

Herramientas

→ Read references/tools.md for tabla completa de herramientas SAST/Deps/Container/DAST/Secrets por stack

Reporte Output

Formato: Resumen ejecutivo (hallazgos por severidad y veredicto: FAIL si hay algún hallazgo Critical o High, CONCERNS si quedan solo Medium o Low, PASS si no hay nada accionable) → Hallazgos por categoría (archivo:línea, descripción, PoC, remediación, ticket Jira) → Plan priorizado → Herramientas ejecutadas.

Educabot Specifics

Datos de menores: A01+A02 son críticos. LGPD/COPPA compliance obligatorio.

→ Read references/educabot-specifics.md for reglas PII menores, LGPD, COPPA, IA

Anti-patterns

→ Read references/anti-patterns.md for tabla completa (13 items) con remediación por categoría OWASP

OWASP Top 10 es piso, no techo. Servicios críticos: complementar con ASVS Level 2+, threat modeling, pentest externo anual.

Checklist

  • All A01-A10 categories checked against the codebase with findings documented
  • Findings classified by severity (Critical, High, Medium, Low, Info)
  • Stack-specific mitigations verified (Go: gosec clean, TS: eslint-security clean, Docker: trivy clean)
  • Remediation tickets created in Jira/ClickUp for High+ findings with clear repro steps
  • Accepted risks documented with justification, owner, and review date
  • PII/minor-data controls verified for LGPD/COPPA compliance (A01+A02 critical path)

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

See all skills by SebastianLuser

Report a problem with this skill