Skip to content
Back to skills

Security Scan

ASecurity

ProductionOS security scanner. Auto-activates when editing auth, payment, credential, or admin files. Runs OWASP Top 10 checks, dependency audit, and secret detection.

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 27, 2026
data-aibashsqlapidatabasesecurity

Works with

  • api

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add ShaheerKhawaja/ProductionOS --skill security-scan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Scan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security Scan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shaheerkhawaja-security-scan/badge)](https://www.skillsdirectory.com/skills/shaheerkhawaja-security-scan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: security-scan
description: "ProductionOS security scanner. Auto-activates when editing auth, payment, credential, or admin files. Runs OWASP Top 10 checks, dependency audit, and secret detection."
metadata:
  filePattern:
    - "**/auth/**"
    - "**/authentication/**"
    - "**/payment/**"
    - "**/billing/**"
    - "**/admin/**"
    - "**/*secret*"
    - "**/*credential*"
    - "**/*password*"
    - "**/*token*"
    - "**/.env*"
    - "**/middleware/**"
    - "**/security/**"
  bashPattern:
    - "security-audit"
    - "owasp"
    - "npm audit"
    - "pip audit"
  priority: 95
---

# ProductionOS Security Scan

<HARD-GATE>
You are editing a security-sensitive file. ProductionOS requires:
1. Review all changes for OWASP Top 10 vulnerabilities
2. Check for hardcoded secrets or credentials
3. Verify input validation on all user-facing endpoints
4. Confirm authentication/authorization checks are present
Do NOT skip any of these checks.
</HARD-GATE>

## Auto-Triggered Checklist

When this skill activates on a security-sensitive file:

1. **Secret Detection** — Scan for hardcoded API keys, tokens, passwords, connection strings
2. **Input Validation** — Verify all user inputs are validated and sanitized
3. **Auth Checks** — Confirm endpoint has proper authentication and authorization
4. **SQL Injection** — Check for parameterized queries (no string concatenation)
5. **XSS Prevention** — Verify output encoding for user-generated content
6. **CSRF Protection** — Confirm CSRF tokens on state-changing operations
7. **Dependency CVEs** — Flag if file imports packages with known vulnerabilities

## Red Flags — STOP If You See These

- Hardcoded secrets (API keys, passwords, tokens in source code)
- Missing authentication on new endpoints
- User input passed directly to database queries
- Unsafe HTML rendering without sanitization
- Disabled CSRF protection
- Overly permissive CORS configuration
- Catch-all error handlers that swallow security exceptions

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.