Security

Security Review

Try it

Review code changes for security vulnerabilities. Checks for OWASP Top 10, secrets exposure, injection flaws, auth issues, and insecure defaults. Use when re...

What it does

Review code changes for security vulnerabilities, following OWASP Top 10 and secure coding best practices.

The skill document

Security Code Review

Review code changes for security vulnerabilities, following OWASP Top 10 and secure coding best practices.

What to Check

Injection (SQL, Command, LDAP, XSS)

  • User input used in queries without parameterization
  • Template literals in SQL strings
  • eval(), exec(), os.system() with user input
  • Unescaped output in HTML templates

Authentication & Session

  • Hardcoded credentials or API keys
  • Weak password requirements
  • Missing rate limiting on auth endpoints
  • Session fixation or missing regeneration
  • JWT without expiration or with weak signing

Authorization

  • Missing access control checks on endpoints
  • IDOR (direct object reference without ownership check)
  • Role checks that can be bypassed
  • Privilege escalation paths

Secrets & Data Exposure

  • API keys, tokens, passwords in code or configs
  • Sensitive data in logs
  • PII without encryption
  • .env files or secrets committed to git

Configuration

  • Debug mode enabled in production
  • CORS set to wildcard (*)
  • Missing security headers
  • Default credentials unchanged
  • Verbose error messages exposing internals

Output Format

For each finding:

**FINDING:** [Title]
**Severity:** CRITICAL | HIGH | MEDIUM | LOW
**File:** [path:line]
**Code:** [the problematic code]
**Issue:** [what's wrong]
**Fix:** [how to fix it, with code example]
**OWASP:** [category reference]

Rules

  • Focus on HIGH and CRITICAL findings first
  • Provide working fix code, not just descriptions
  • If no security issues found, say so clearly
  • Note any areas that need manual review (business logic, auth flows)

More from solomonneas

Browse all skills

Essential penetration testing command reference. Quick lookup for nmap, Metasploit, hydra, john, nikto, gobuster, and other offensive security tools. Covers...

by Solomon Neas65 installs1 stars

Memory forensics with Volatility and related tools. Acquire RAM dumps, extract processes and DLLs, investigate rootkits and fileless malware, recover credent...

by solomonneas31 installs1 stars

This skill should be used when the user asks to "run pentest commands", "scan with nmap", "use metasploit exploits", "crack passwords with hydra or john", "s...

by solomonneas36 installs

Expert malware analysis for defensive security research. Static and dynamic analysis, sandbox triage, IOC extraction, unpacking, and malware family identific...

by solomonneas31 installs

Knowledge card memory system with semantic search. Agents wake up fresh each session but remember everything through atomic ~350-token cards with YAML frontm...

by solomonneas28 installs

Network traffic analysis with Wireshark and tshark. Capture packets, write display and BPF filters, follow TCP/UDP/TLS streams, detect C2 beacons, troublesho...

by solomonneas27 installs