SE

security-checklist

A systematic security checklist tool that scans code changes for OWASP Top 10 vulnerabilities and threats.

Install

mkdir -p .claude/skills/security-checklist-gulati8 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17396" && unzip -o skill.zip -d .claude/skills/security-checklist-gulati8 && rm skill.zip

Installs to .claude/skills/security-checklist-gulati8

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Security review methodology using OWASP Top 10 and STRIDE frameworks. Reference material for scanning code changes for vulnerabilities. Injected into Green Lantern's context.
174 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Scan new/changed code for OWASP Top 10 vulnerabilities
  • Perform STRIDE threat analysis for features
  • Grep for common secret patterns in changed files
  • Assess code changes for Broken Access Control
  • Identify Cryptographic Failures and Injection vulnerabilities
  • Determine severity of findings (Critical, High, Medium, Low)

How it works

The skill analyzes new or changed code using OWASP Top 10 and STRIDE frameworks, scanning for vulnerabilities like injection, access control issues, and cryptographic failures, and also greps for secret patterns.

Inputs & outputs

You give it
New or changed code files
You get back
Security review verdict, summary, OWASP findings, STRIDE analysis, and secrets scan results

When to use security-checklist

  • Scan changed code for SQL injection patterns
  • Identify broken access control in new routes
  • Check for hardcoded cryptographic keys
  • Review data exposure risks in API responses

About this skill

Security Checklist

This guides your security review methodology. You scan new/changed code for vulnerabilities using two frameworks: OWASP Top 10 (specific vulnerability categories) and STRIDE (threat modeling).

Review Scope

Focus on code that was created or modified in this factory run. Use Cyborg's briefings (.factory-run/briefings/cyborg-*.json) to identify which files changed. Don't audit the entire codebase — that's noise, not signal.

For each changed file, assess:

  • Does it handle user input?
  • Does it interact with databases, filesystems, or external services?
  • Does it handle authentication or authorization?
  • Does it expose data to the client?

Files that do none of these are low-risk. Spend your time on the ones that do.

OWASP Top 10 Scan

For each category, check the changed code for common patterns. See references/owasp-top-10.md for detailed patterns to look for in each category. Use the Read tool to load this file — it is not auto-loaded with the skill.

Quick reference:

  • A01: Broken Access Control — Missing auth checks, IDOR, privilege escalation
  • A02: Cryptographic Failures — Weak algorithms, hardcoded keys, plaintext storage
  • A03: Injection — SQL, NoSQL, OS command, LDAP injection
  • A04: Insecure Design — Missing rate limiting, no abuse controls
  • A05: Security Misconfiguration — Debug mode, default credentials, overly permissive CORS
  • A06: Vulnerable Components — Known-vulnerable dependencies
  • A07: Auth Failures — Weak password rules, missing brute-force protection
  • A08: Data Integrity — Unsigned updates, insecure deserialization
  • A09: Logging Failures — Missing audit logs, logging sensitive data
  • A10: SSRF — Unvalidated URL fetching, internal service access

STRIDE Threat Analysis

For the feature as a whole, consider each STRIDE category. See references/stride.md for detailed guidance. Use the Read tool to load this file — it is not auto-loaded with the skill.

  • Spoofing — Can an attacker pretend to be someone else?
  • Tampering — Can data be modified in transit or at rest?
  • Repudiation — Can actions be performed without accountability?
  • Information Disclosure — Can sensitive data leak?
  • Denial of Service — Can the feature be abused to degrade service?
  • Elevation of Privilege — Can a user gain unauthorized access?

Secrets Scan

Grep for common secret patterns in changed files:

  • API keys, tokens, passwords in code or config
  • Private keys, certificates
  • Connection strings with credentials
  • Patterns: password=, secret=, api_key=, token=, -----BEGIN

Output Field Names

Your output JSON MUST use these exact field names to pass schema validation:

{
  "verdict": "pass",
  "summary": "...",
  "owasp_findings": [],
  "stride_analysis": {
    "spoofing": [],
    "tampering": [],
    "repudiation": [],
    "information_disclosure": [],
    "denial_of_service": [],
    "elevation_of_privilege": []
  },
  "secrets_scan": {
    "clean": true,
    "findings": []
  }
}

Do NOT use alternative names like findings, owasp_check, or owasp_results. The PostToolUse validation hook will reject the write if field names don't match the schema.

Severity Guide

  • Critical: Exploitable vulnerability with direct impact (SQL injection, exposed credentials, missing auth on sensitive endpoint)
  • High: Vulnerability that requires some conditions to exploit but would have significant impact
  • Medium: Security weakness that should be addressed but isn't immediately exploitable
  • Low: Best practice violation with minimal direct risk

Only critical and high cause a "fail" verdict.

When not to use it

  • When auditing the entire codebase instead of focusing on changed code
  • When using alternative field names in the output JSON
  • When a 'pass' verdict is desired despite Critical or High findings

Limitations

  • The review scope focuses only on code that was created or modified in the factory run
  • The output JSON MUST use exact specified field names for schema validation
  • Only critical and high severity findings cause a 'fail' verdict

How it compares

This skill integrates structured security frameworks (OWASP, STRIDE) directly into the code review process for changed files, providing a targeted and systematic vulnerability assessment, unlike general code analysis tools.

Compared to similar skills

security-checklist side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
security-checklist (this skill)03moNo flagsIntermediate
backend-security-coder243moNo flagsIntermediate
security56moNo flagsIntermediate
security-scanning-security-dependencies13moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry