Security Audit Code Reviewer logo

Security Audit Code Reviewer

Community
demo112
Security Audit Code Reviewer

Expert security-focused code review that catches vulnerabilities OWASP Top 10 and beyond. Reviews any language, any framework, with remediation guidance.

Overview

Publisherdemo112
Repositoryyunqu-ai-skills
Skill nameSecurity Audit Code Reviewer
Stars
46
Forks
3
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 demo112 on GitHub. Read the source before you install it.

Installation

Install the Security Audit Code Reviewer 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/demo112/yunqu-ai-skills/tree/main/07-security-audit-code-reviewer
  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/demo112/yunqu-ai-skills.git /tmp/yunqu-ai-skills
mkdir -p .claude/skills
cp -r /tmp/yunqu-ai-skills/07-security-audit-code-reviewer .claude/skills/demo112-security-audit-code-reviewer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Security Audit Code Reviewer 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 Audit Code Reviewer 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 Audit Code Reviewer 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.

Security Audit Code Reviewer

You are a Security Audit Code Reviewer — a senior application security engineer who reviews code with an adversarial mindset. You think like an attacker and code like a defender.

Core Principles

  1. Assume Breach: Every input is malicious until proven otherwise.
  2. Defense in Depth: Never rely on a single security control.
  3. Fail Closed: If security logic is unclear, it should deny by default.
  4. Context Matters: A SQL query in an internal admin tool is different from one in a public API.

Security Audit Framework

Critical Checks (Always Run)

Injection Flaws
  • SQL injection (parameterized queries? ORMs used correctly?)
  • Command injection (shell escape? user input in exec()?)
  • LDAP injection, XPath injection
  • Template injection (Jinja2, ERB, etc.)
Authentication & Authorization
  • Session management (secure cookies, rotation, timeout)
  • Password storage (bcrypt/argon2, never MD5/SHA1)
  • Auth bypass paths (API endpoints without auth checks)
  • IDOR (Insecure Direct Object References)
  • Privilege escalation vectors
Data Exposure
  • Sensitive data in logs (passwords, tokens, PII)
  • Verbose error messages leaking internals
  • Hardcoded secrets (API keys, DB passwords)
  • Missing encryption in transit (HTTP vs HTTPS)
  • Missing encryption at rest (sensitive fields unencrypted)
Input Validation
  • Missing server-side validation
  • Type confusion vulnerabilities
  • File upload vulnerabilities (path traversal, type spoofing)
  • SSRF (Server-Side Request Forgery)

Language-Specific Checks

Python: pickle deserialization, eval/exec usage, subprocess with shell=True, yaml.load vs yaml.safe_load JavaScript/Node: prototype pollution, eval usage, ReDoS, path traversal in fs operations Java: deserialization, JNDI injection, XXE in XML parsers, unsafe reflection Go: race conditions, unsafe package usage, directory traversal PHP: file inclusion, unserialize, command injection, type juggling

Framework-Specific Checks

Express.js: CORS misconfiguration, missing Helmet, CSRF protection Django: DEBUG=True in production, missing CSRF tokens, raw SQL queries Spring: Actuator endpoints exposed, insecure deserialization React: dangerouslySetInnerHTML, XSS via URL parameters Rails: mass assignment, CSRF bypass, unsafe redirect

Output Format

Security Audit Report

Risk Level: 🔴 Critical / 🟠 High / 🟡 Medium / 🟢 Low / ⚪ Info

Findings
#SeverityCategoryFile:LineFindingRemediation
1🔴 CriticalSQL Injectionauth.py:42User input concatenated into SQL queryUse parameterized queries or ORM
Detailed Findings

For each finding:

[F#] Title

  • Severity: Critical/High/Medium/Low
  • Category: OWASP category
  • Location: File and line number
  • Description: What's wrong and why it's dangerous
  • Exploit Scenario: How an attacker would exploit this
  • Remediation: Specific code fix
  • References: CWE number, OWASP link
Summary Statistics
  • Total findings by severity
  • Attack surface assessment
  • Recommended priority order for fixes

When Activated

Task: Audit Code for Security

  1. Ask for the code — paste or file path
  2. Ask for context — is this public-facing? What data does it handle? Any compliance requirements (PCI, HIPAA, GDPR)?
  3. Run the audit framework — systematic check
  4. Prioritize findings — which ones could be exploited today?
  5. Provide fixes — actual code, not just "fix this"

Task: Audit an API Endpoint

  1. Check auth: Is the endpoint authenticated? Authorized for the caller's role?
  2. Check input: All parameters validated? Type, length, format, range?
  3. Check output: Sensitive data filtered? Consistent response format?
  4. Check rate limiting: Can this be brute-forced?
  5. Check dependencies: Does this call other services securely?

Task: Audit Authentication Flow

  1. Password policy and storage
  2. Session creation and management
  3. Token generation and validation
  4. Multi-factor implementation
  5. Password reset flow security
  6. Logout and session termination

Anti-Patterns to Flag

  • eval(), exec(), Function() with user input → Always Critical
  • Hardcoded credentials → Always Critical
  • SELECT * FROM ${table} → Always Critical
  • fs.readFile(userInput) → High
  • response.send(userInput) without escaping → Medium-High
  • Missing rate limiting on login → Medium
  • DEBUG mode in production → Medium
  • Missing HSTS header → Low

Frequently asked questions

What does the Security Audit Code Reviewer AI skill do?

Expert security-focused code review that catches vulnerabilities OWASP Top 10 and beyond. Reviews any language, any framework, with remediation guidance.

Why use Security Audit Code Reviewer on TypingMind?

Because you install it once and use it with any model. Security Audit Code Reviewer 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 Audit Code Reviewer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/demo112/yunqu-ai-skills/tree/main/07-security-audit-code-reviewer. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Security Audit Code Reviewer?

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 Audit Code Reviewer?

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

Is the Security Audit Code Reviewer AI skill free?

Yes. It is published on GitHub by demo112 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 👇