Security Scan logo

Security Scan

Community
kazdenc
security-scan

Check code for OWASP top 10 vulnerabilities including injection, XSS, auth issues, and secrets exposure. Use when user says "security audit", "check for vulnerabilities", "security scan", "is this secure", "OWASP check", "find security issues", or needs to verify code security before shipping.

Overview

Publisherkazdenc
Repositorybuilder-skills
Skill namesecurity-scan
Stars
46
Forks
5
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by kazdenc on GitHub. Read the source before you install it.

Installation

Install the Security Scan AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/kazdenc/builder-skills/tree/main/.claude/skills/dev/review/security-scan
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kazdenc/builder-skills.git /tmp/builder-skills
mkdir -p .claude/skills
cp -r /tmp/builder-skills/.claude/skills/dev/review/security-scan .claude/skills/security-scan
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Security Scan in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Security Scan on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Security Scan is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Scan code for OWASP Top 10 vulnerabilities. Report severity-rated findings with file:line references and fix recommendations. Flag what matters; skip what doesn't apply.

Scan Categories

Work through each OWASP category. For each, search for the specific code patterns listed.

1. Injection (A03:2021)

Pattern to findRiskWhat to verify
String concatenation in SQL queriesSQL injectionUse parameterized queries / prepared statements
Template literals in database callsNoSQL injectionUse query builders or ORM methods with bound parameters
exec(), spawn(), system() with user inputCommand injectionValidate/whitelist input, avoid shell execution
User input in LDAP filtersLDAP injectionEscape special characters, use parameterized filters
User input in regex constructorsReDoSValidate regex complexity, use re2 or set timeouts
eval(), Function(), vm.runInContext()Code injectionRemove entirely; never evaluate user-controlled strings

2. Broken Authentication (A07:2021)

Pattern to findRiskWhat to verify
Plain-text password storageCredential theftUse bcrypt/scrypt/argon2 with proper work factor
Missing rate limiting on login endpointsBrute forceImplement rate limiting and account lockout
Session tokens in URLs or localStorageSession hijackUse httpOnly secure cookies
JWT without expiration or with weak signingToken forgerySet short exp, use RS256 or ES256, rotate keys
Missing MFA on sensitive operationsAccount takeoverRequire step-up auth for destructive actions
Hardcoded credentials or default passwordsUnauthorized accessUse environment variables and secrets management

3. Sensitive Data Exposure (A02:2021)

Pattern to findRiskWhat to verify
API keys, tokens, passwords in sourceCredential leakMove to environment variables / secrets manager
Secrets in log outputLog exfiltrationRedact sensitive fields before logging
Missing TLS / HTTP used for sensitive dataMan-in-the-middleEnforce HTTPS, use HSTS header
PII in error responsesInformation disclosureReturn generic errors to clients, log details server-side
Sensitive data in client-side stateBrowser exposureKeep secrets server-side, minimize client-side PII
Missing encryption at restData breachEncrypt sensitive database columns and file storage

4. Cross-Site Scripting — XSS (A03:2021)

Pattern to findRiskWhat to verify
dangerouslySetInnerHTMLStored/reflected XSSSanitize with DOMPurify, validate input is trusted
innerHTML, outerHTML assignmentsDOM-based XSSUse textContent or framework-safe rendering
Unescaped template interpolation in HTMLReflected XSSUse framework auto-escaping, never bypass it
URL parameters rendered without encodingReflected XSSEncode output, validate URL parameters
javascript: URLs in href/srcXSS via navigationWhitelist URL schemes (http, https, mailto)
User-controlled src on script/iframe tagsRemote code executionValidate against allowlist of trusted origins

5. Broken Access Control (A01:2021)

Pattern to findRiskWhat to verify
Missing auth middleware on routesUnauthorized accessApply auth checks to every protected endpoint
Client-side-only permission checksPrivilege escalationEnforce permissions server-side
Direct object reference without ownership checkIDORVerify requesting user owns / has access to resource
Missing role/scope validationPrivilege escalationCheck roles on every sensitive operation
Unrestricted file uploadArbitrary file writeValidate file type, size, and store outside webroot
Path traversal in file operationsFile system accessNormalize paths, reject .., use allowlists

6. Security Misconfiguration (A05:2021)

Pattern to findRiskWhat to verify
Debug mode enabled in production configInformation disclosureDisable debug, verbose errors, stack traces in prod
Default credentials in config filesUnauthorized accessChange all defaults, enforce strong credentials
Missing security headersVarious attacksSee Security Headers Checklist below
Overly permissive CORS (*)Cross-origin attacksRestrict to specific trusted origins
Directory listing enabledInformation disclosureDisable in web server configuration
Unnecessary services or endpoints exposedAttack surfaceRemove unused routes, admin panels, debug endpoints

7. Server-Side Request Forgery — SSRF (A10:2021)

Pattern to findRiskWhat to verify
User-supplied URLs passed to fetch/requestInternal network accessValidate against URL allowlist
URL redirects without validationOpen redirect / SSRFCheck destination against trusted domains
DNS rebinding potentialFirewall bypassResolve DNS before validation, pin IPs
Internal service URLs constructable by userMetadata endpoint accessBlock RFC 1918 ranges and cloud metadata IPs

8. Dependency Vulnerabilities (A06:2021)

Pattern to findRiskWhat to verify
Outdated packages with known CVEsExploitation of known flawsRun npm audit / pnpm audit and review results
Unpinned dependency versions (^, ~, *)Supply chain attackPin exact versions or use lock files
Dependencies from untrusted sourcesMalicious codeVerify package provenance, check download counts
Post-install scripts in dependenciesArbitrary code executionAudit scripts, use --ignore-scripts where safe

Security Headers Checklist

Verify the following headers are set on HTTP responses:

HeaderRecommended ValuePurpose
Content-Security-PolicyStrict policy, no unsafe-inline / unsafe-evalPrevents XSS, injection
Strict-Transport-Securitymax-age=63072000; includeSubDomains; preloadForces HTTPS
X-Content-Type-OptionsnosniffPrevents MIME-type sniffing
X-Frame-OptionsDENY or SAMEORIGINPrevents clickjacking
Referrer-Policystrict-origin-when-cross-originLimits referrer leakage
Permissions-PolicyDisable unused features (camera, microphone, geolocation)Reduces attack surface
X-XSS-Protection0 (rely on CSP instead)Deprecated but set explicitly
Cache-Controlno-store on sensitive responsesPrevents caching of secrets

Output Format

Report findings organized by severity:

Finding Format

For each issue:

  • Severity: Critical / High / Medium / Low
  • OWASP Category: Which category (e.g., A01 Broken Access Control)
  • Location: file:line reference
  • Issue: What was found (one sentence)
  • Evidence: The specific code pattern or configuration
  • Fix: Concrete recommendation with code example
  • References: Relevant CWE number or documentation link

Summary

After all findings:

  • Total count by severity and OWASP category
  • Top 3 risks to address immediately
  • Attack surface assessment (one paragraph)
  • Headers status (pass/fail for each security header)

NEVER:

  • Report theoretical issues without evidence in the actual code
  • Skip a category because it "probably doesn't apply" — scan every one
  • Provide a fix that introduces a different vulnerability
  • Report low-severity style issues in a security scan (stay focused)
  • Assume a framework handles security automatically without verifying configuration

Frequently asked questions

What does the Security Scan AI skill do?

Check code for OWASP top 10 vulnerabilities including injection, XSS, auth issues, and secrets exposure. Use when user says "security audit", "check for vulnerabilities", "security scan", "is this secure", "OWASP check", "find security issues", or needs to verify code security before shipping.

Why use Security Scan on TypingMind?

Because you install it once and use it with any model. Security Scan is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Security Scan in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/kazdenc/builder-skills/tree/main/.claude/skills/dev/review/security-scan. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Security Scan?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Security Scan?

As many as you like. As long as a model supports skills, you can use Security Scan with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Security Scan AI skill free?

Yes. It is published on GitHub by kazdenc under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇