Agent skill

Security Auditor

by commercetools in commercetools/ui-kit

Perform comprehensive security audit of a repository with detailed findings and step-by-step PoCs.

MITAuto-check: notesSecurity

Install Security Auditor

skills CLI
$ npx skills add commercetools/ui-kit --skill security-auditor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install commercetools/ui-kit security-auditor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/commercetools/ui-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/security-auditor .claude/skills/security-auditor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
security-auditor
GitHub stars
154
Token cost
~3.3k tokens
SKILL.md length
1,095 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Perform comprehensive security audit of a repository with detailed findings and step-by-step PoCs.

  • Works in 5 steps: Initialize Audit → Technology Stack Detection → Deep Security Analysis → …
  • Assessing a repos security posture
  • SKILL.md covers Arguments, Process, Security Best Practices… and Compliance & Standards, plus 4 more sections
  • Calls curl

What it does

Security Auditor is an agent skill from commercetools/ui-kit. Perform comprehensive security audit of a repository with detailed findings and step-by-step PoCs. Use when assessing a repo's security posture or investigating potential vulnerabilities.

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Security review, Prototyping and Web application vulnerabilities. It works with React. The licence is MIT.

When your agent uses it

  • Assessing a repos security posture
  • Investigating potential vulnerabilities

Example prompts

  • “/security-auditor”

Requirements

  • Node.js
  • Docker
  • Pre-approved tools (allowed-tools): Task, Bash, Grep, Glob, Read, Write

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Initialize Audit
  2. Technology Stack Detection
  3. Deep Security Analysis
  4. Generate Proof-of-Concepts
  5. Generate Security Report

What it can do on your machine

Read from SKILL.md and the folder at commit 62ca335. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Task
    • Bash
    • Grep
    • Glob
    • Read
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Security Auditor loads about 3.3k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 1,095 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Task, Bash, Grep, Glob, Read, Write

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from commercetools/ui-kit at commit 62ca335, republished under its MIT licence (© commercetools). 1,095 words, ~3,288 tokens.

Download SKILL.mdSave it as .claude/skills/security-auditor/SKILL.md (or your agent's skills folder).
name
security-auditor
description
Perform comprehensive security audit of a repository with detailed findings and step-by-step PoCs. Use when assessing a repo's security posture or investigating potential vulnerabilities.
allowed-tools
Task, Bash, Grep, Glob, Read, Write
disable-model-invocation
false
argument-hint
[--path <directory>] [--focus <category>]
scope
security

Security Audit

Perform a comprehensive security audit of a repository, identifying web and API security vulnerabilities with practical exploitation steps and detailed proof-of-concept demonstrations.

Arguments

  • --path <directory> (optional): Path to the repository to audit. Defaults to current directory.
  • --focus <category> (optional): Focus on specific security category (e.g., injection, auth, api, crypto, logic). Defaults to all categories.

Process

1. Initialize Audit

Determine the audit scope and target directory:

bash
# If --path is provided, use it; otherwise use current directory
TARGET_PATH=$(echo "$ARGUMENTS" | grep -oP '(?<=--path\s)\S+' || pwd)
FOCUS_AREA=$(echo "$ARGUMENTS" | grep -oP '(?<=--focus\s)\S+' || echo "all")

Create audit report filename with timestamp:

bash
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
REPORT_FILE="${TARGET_PATH}/security-audit-report-${TIMESTAMP}.md"
2. Technology Stack Detection

Identify the technology stack to tailor the security audit:

Use Glob and Read tools to detect:

  • Backend frameworks: Express, FastAPI, Spring Boot, Django, Rails, Next.js, etc.
  • Frontend frameworks: React, Vue, Angular
  • Database technologies: MongoDB, PostgreSQL, MySQL, Redis
  • Authentication systems: JWT, OAuth, NextAuth, Passport.js, custom auth
  • Cloud/Infrastructure: AWS SDK, Docker, Kubernetes configs
  • Package managers: package.json, requirements.txt, go.mod, Gemfile

Document the detected stack in the report.

3. Deep Security Analysis

Launch specialized security agents for comprehensive vulnerability discovery:

A. Application Security Review (security-auditor agent)

Use the Task tool with subagent_type: security-auditor and model: opus to perform:

  1. Injection Vulnerabilities

    • SQL Injection (SQLi)
    • NoSQL Injection
    • Command Injection
    • Code Injection
    • LDAP Injection
    • XPath Injection
    • Template Injection (SSTI)
  2. Authentication & Authorization Flaws

    • Broken authentication mechanisms
    • Weak password policies
    • JWT vulnerabilities (weak secrets, algorithm confusion, missing expiration)
    • OAuth/OIDC misconfigurations
    • Session fixation and hijacking
    • Missing or improper authorization checks
    • Privilege escalation paths
    • IDOR (Insecure Direct Object References)
  3. Cross-Site Vulnerabilities

    • Cross-Site Scripting (XSS) - stored, reflected, DOM-based
    • Cross-Site Request Forgery (CSRF)
    • Cross-Origin Resource Sharing (CORS) misconfigurations
    • Clickjacking vulnerabilities
  4. Data Exposure

    • Sensitive data in logs
    • Exposed credentials in code or config files
    • API keys and secrets in repositories
    • Information disclosure through error messages
    • Missing encryption for sensitive data
    • Insecure data transmission
  5. Security Misconfigurations

    • Default credentials
    • Unnecessary features enabled
    • Verbose error messages
    • Missing security headers
    • Insecure file permissions
    • Misconfigured cloud storage
    • Debug mode in production
  6. Business Logic Vulnerabilities

    • Race conditions
    • Payment/pricing manipulation
    • Workflow bypasses
    • Mass assignment vulnerabilities
    • Insufficient anti-automation
    • Trust boundary violations
B. Deep Vulnerability Research (deep-vuln-researcher agent)

Use the Task tool with subagent_type: deep-vuln-researcher and model: opus to discover:

  1. Complex Logic Vulnerabilities

    • State machine vulnerabilities
    • Time-of-check to time-of-use (TOCTOU)
    • Async race conditions
    • GraphQL security issues (query depth, batching attacks)
    • API rate limiting bypasses
  2. Advanced Injection Techniques

    • Prototype pollution (Node.js)
    • Server-Side Request Forgery (SSRF)
    • XXE (XML External Entity) attacks
    • Deserialization vulnerabilities
    • Path traversal and LFI/RFI
  3. Cryptographic Weaknesses

    • Weak encryption algorithms
    • Improper key management
    • Insufficient randomness
    • Hash collision vulnerabilities
    • Timing attacks
  4. API Security Issues

    • Broken object level authorization (BOLA)
    • Broken function level authorization (BFLA)
    • Mass assignment
    • Excessive data exposure
    • Lack of resources & rate limiting
    • Security misconfiguration in APIs
    • Improper asset management
  5. Container & Infrastructure

    • Docker misconfigurations
    • Kubernetes security issues
    • AWS/Cloud misconfigurations
    • Environment variable leakage
    • Secrets in container images
4. Generate Proof-of-Concepts

For each vulnerability discovered, create a detailed PoC including:

  1. Vulnerability Description: Clear explanation of the security flaw
  2. Location: Exact file paths and line numbers
  3. Severity: Critical / High / Medium / Low (based on CVSS or custom criteria)
  4. Impact: Real-world consequences of exploitation
  5. Reproduction Steps: Detailed step-by-step instructions
  6. Code Snippet: The vulnerable code section
  7. Exploit PoC: Working proof-of-concept with example payloads
  8. Remediation: Specific fix recommendations with secure code examples
5. Generate Security Report

Create a comprehensive markdown report with the following structure:

markdown
# Security Audit Report

**Repository:** [repository name]
**Audit Date:** [date]
**Auditor:** Claude Security Auditor
**Scope:** [all/focused category]

---

## Executive Summary

[Brief overview of audit findings, total vulnerabilities by severity]

### Key Statistics

- **Critical:** X findings
- **High:** X findings
- **Medium:** X findings
- **Low:** X findings
- **Informational:** X findings

### Most Critical Issues

1. [Issue 1 with severity]
2. [Issue 2 with severity]
3. [Issue 3 with severity]

---

## Technology Stack

[Detected frameworks, libraries, and infrastructure]

---

## Detailed Findings

### [SEVERITY-001] [Vulnerability Title]

**Severity:** Critical/High/Medium/Low
**Category:** [e.g., Injection, Authentication, etc.]
**CWE:** [CWE number if applicable]
**CVSS Score:** [if applicable]

#### Description

[Detailed explanation of the vulnerability]

#### Location

- **File:** `path/to/file.js`
- **Line:** 42-55
- **Function/Method:** `vulnerableFunction()`

#### Impact

[Real-world impact - what can an attacker achieve?]

- Data breach potential
- Unauthorized access
- System compromise
- etc.

#### Vulnerable Code

```javascript
// Vulnerable code snippet
const query = `SELECT * FROM users WHERE id = ${req.params.id}`;
db.query(query);
```
Proof of Concept

Step 1: [Setup/Prerequisites]

bash
# Commands or setup needed

Step 2: [Exploitation]

bash
# Exploit payload
curl -X POST http://localhost:3000/api/user \
  -H "Content-Type: application/json" \
  -d '{"id": "1 OR 1=1; DROP TABLE users;--"}'

Step 3: [Verification]

bash
# How to verify the exploit worked

Expected Result:

[What happens when exploited]
Remediation

Recommended Fix:

javascript
// Secure code example
const query = 'SELECT * FROM users WHERE id = ?';
db.query(query, [req.params.id]);

Additional Recommendations:

  • Use parameterized queries
  • Implement input validation
  • Add proper error handling
  • etc.

[Repeat for each finding]


Security Best Practices Recommendations

Immediate Actions Required
  1. [Critical fixes needed immediately]
Short-term Improvements
  1. [Important improvements to implement soon]
Long-term Security Strategy
  1. [Architectural improvements and security practices]

Compliance & Standards

[If applicable, map findings to compliance frameworks:]

  • OWASP Top 10 coverage
  • OWASP API Security Top 10
  • PCI DSS considerations
  • GDPR implications

Appendix

Testing Methodology

[Description of the audit process and tools used]

References
  • [Relevant CVEs, security advisories]
  • [OWASP references]
  • [Framework-specific security guides]
Glossary

[Definition of security terms used in the report]


Save this report to the file determined in step 1.

### 6. Output Summary

After completing the audit, provide a summary:

```markdown
✅ Security audit completed successfully

📄 **Report:** `[path to report file]`

📊 **Summary:**
- Critical: X
- High: X
- Medium: X
- Low: X

🔴 **Action Required:** [List 3 most critical issues]

The detailed report includes:
- Comprehensive vulnerability analysis
- Step-by-step exploitation PoCs
- Specific remediation guidance
- Security best practices recommendations
Show full SKILL.md (438 more words)Show less

Guidelines

Model Selection

IMPORTANT: Always use model: opus when invoking security agents via the Task tool. Opus 4.6 provides the highest quality analysis and is essential for:

  • Detecting subtle logic vulnerabilities
  • Generating accurate and exploitable PoCs
  • Minimizing false positives
  • Ensuring comprehensive coverage

Example Task invocation:

Task tool with:
- subagent_type: security-auditor
- model: opus
- prompt: [detailed security audit instructions]
Severity Classification

Critical:

  • Remote code execution
  • Authentication bypass
  • SQL injection leading to data breach
  • Exposed secrets/credentials with high privileges
  • Critical business logic flaws

High:

  • Privilege escalation
  • IDOR allowing access to sensitive data
  • XSS in high-value contexts
  • Authorization bypass
  • Cryptographic failures with data exposure

Medium:

  • CSRF on state-changing operations
  • Information disclosure of sensitive data
  • Security misconfigurations with moderate impact
  • Business logic issues with limited impact
  • Missing security headers

Low:

  • Information disclosure (non-sensitive)
  • Security headers on static content
  • Minor configuration issues
  • Best practice violations

Informational:

  • Code quality improvements
  • Defense-in-depth suggestions
  • Security awareness recommendations
Focus Areas by Technology

Node.js/Express:

  • Prototype pollution
  • ReDoS (Regular Expression Denial of Service)
  • Package vulnerabilities (npm audit)
  • Express middleware security

Python/Django/FastAPI:

  • SSTI (Server-Side Template Injection)
  • Pickle deserialization
  • Django ORM injection
  • Package vulnerabilities (pip)

Java/Spring Boot:

  • Deserialization vulnerabilities
  • Spring Expression Language injection
  • XXE in XML parsers
  • Log4j-style vulnerabilities

MongoDB/NoSQL:

  • NoSQL injection
  • Missing access controls
  • Unprotected admin interfaces

JWT/Authentication:

  • Algorithm confusion (alg: none)
  • Weak signing keys
  • Missing expiration validation
  • Token leakage

APIs:

  • BOLA/IDOR in API endpoints
  • Mass assignment
  • Excessive data exposure
  • Missing rate limiting
Testing Scope

Include:

  • All source code files
  • Configuration files
  • Infrastructure as Code (IaC)
  • Environment variable templates
  • Docker/Kubernetes configs
  • CI/CD pipeline configurations
  • Database schemas and migrations

Exclude:

  • Third-party libraries (note if vulnerable versions detected)
  • Minified/compiled code
  • Test fixtures (unless they expose patterns used in production)
Report Quality Standards
  1. No False Positives: Every finding must be verified and exploitable
  2. Practical PoCs: All exploits must include working reproduction steps
  3. Actionable Remediation: Provide specific code fixes, not just generic advice
  4. Context Awareness: Consider the actual deployment context and risk
  5. Clear Communication: Write for both technical and non-technical audiences
Ethics and Responsible Disclosure
  • This tool is for authorized security testing only
  • Only scan repositories you own or have permission to test
  • Do not execute exploits against production systems without authorization
  • Handle discovered vulnerabilities responsibly
  • Follow responsible disclosure practices for third-party issues

Examples

Example 1: Full audit of current directory
/security-auditor
Example 2: Audit specific directory
/security-auditor --path /path/to/repo
Example 3: Focus on injection vulnerabilities
/security-auditor --focus injection
Example 4: Focus on authentication issues
/security-auditor --path ./backend --focus auth

Notes

  • The audit may take several minutes depending on repository size
  • Progress updates will be shown during the scan
  • The report file will be created in the target directory
  • Review the report thoroughly and prioritize fixes by severity
  • Consider running the audit regularly (e.g., before major releases)
  • Integrate findings into your security development lifecycle

© commercetools, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/security-auditor of commercetools/ui-kit.

Open the folder on GitHubat commit 62ca335

Compare with similar skills

Security Auditor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Security Auditor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Security Auditor this skillcommercetools/ui-kit154—~3.3kAutomated safety check: NotesMIT
Owasp Security AuditLIDR-academy/AI4Devs-LTI-extended278—~4.3kAutomated safety check: NotesMIT
Security Auditoreigent-ai/eigent15k—~1.8kAutomated safety check: NotesApache-2.0
Security Reviewjewbetcha/opentrace11618 repos~3.1kAutomated safety check: NotesMIT
Code Audit3stoneBrother/code-audit8931 repos~2.7kAutomated safety check: PassNone
Security Audit Scannerruvnet/ruflo74k2 repos~823Automated safety check: PassMIT

Similar skills

  • Owasp Security Audit

    LIDR-academy/AI4Devs-LTI-extended

    A skill your agent uses when performing a cybersecurity audit, security review, OWASP Top 10 compliance check, vulnerability assessment, or preparing for a penetration test on a…

    278 GitHub stars~4.3k tokensUpdated 4 mo ago
    SecurityAuto-check: notes
  • Security Auditor

    eigent-ai/eigent

    Audits source code, dependencies and config files for vulnerabilities and hardcoded secrets, using two bundled Python scanners and an OWASP Top 10 checklist.

    15k GitHub stars~1.8k tokensUpdated today
    SecurityAuto-check: notes
  • Security Review

    jewbetcha/opentrace

    A skill your agent uses when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features.

    116 GitHub starsUsed in 18 repos~3.1k tokens
    SecurityAuto-check: notes
  • Code Audit

    3stoneBrother/code-audit

    Professional code security audit skill covering 55+ vulnerability types.

    893 GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 2 repos~823 tokens
    SecurityAuto-check passed
  • Vibe Check

    benavlabs/vibe-check

    Security audit for web apps, especially AI-built ("vibe coded") ones.

    118 GitHub stars~1.1k tokensUpdated 19 days ago
    SecurityAuto-check: notes

More from commercetools/ui-kit

All 11 skills in this repo
  • Agent Restore Context

    commercetools/ui-kit

    Manage restore context files so skills can survive /clear and /compact.

    154 GitHub stars~944 tokensUpdated 5 days ago
    Auto-check: notes
  • Agent Restore Context Setup

    commercetools/ui-kit

    Set up the restore-context hook so skills can resume workflows after /clear and /compact.

    154 GitHub stars~1.4k tokensUpdated 5 days ago
    Auto-check: notes
  • PR Review Navigator

    commercetools/ui-kit

    Generate AI-assisted navigation aids to help humans start reviewing a pull request more efficiently.

    154 GitHub stars~1.3k tokensUpdated 5 days ago
    Auto-check: notes
  • Remember

    commercetools/ui-kit

    Persist guidelines, conventions, and architectural decisions into the repository's knowledge base.

    154 GitHub stars~2k tokensUpdated 5 days ago
    Auto-check: notes
  • Renovate Review

    commercetools/ui-kit

    Review Renovate dependency upgrade PRs to assess safety and effort.

    154 GitHub stars~907 tokensUpdated 5 days ago
    Auto-check: notes
  • Repo Healthcheck Node

    commercetools/ui-kit

    Verify a Node.js/TypeScript repo's development environment is correctly set up.

    154 GitHub stars~1.6k tokensUpdated 5 days ago
    Auto-check: notes

Works with

Categories

Questions about Security Auditor

What does Security Auditor do?

Perform comprehensive security audit of a repository with detailed findings and step-by-step PoCs. Security Auditor is an agent skill from commercetools/ui-kit. Perform comprehensive security audit of a repository with detailed findings and step-by-step PoCs.

When should I use Security Auditor?

Security Auditor fits situations like: assessing a repos security posture; investigating potential vulnerabilities.

How do I install Security Auditor in Claude Code?

Run `npx skills add commercetools/ui-kit --skill security-auditor -a claude-code`. Or copy the skill folder (.agents/skills/security-auditor in commercetools/ui-kit) into .claude/skills/security-auditor in your project. Claude Code loads it when a task matches its description.

How do I install Security Auditor in Codex?

Run `npx skills add commercetools/ui-kit --skill security-auditor -a codex`. Or copy the skill folder (.agents/skills/security-auditor in commercetools/ui-kit) into .agents/skills/security-auditor in your project. Codex loads it when a task matches its description.

Can I use Security Auditor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add commercetools/ui-kit --skill security-auditor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/security-auditor, .gemini/skills/security-auditor, .github/skills/security-auditor and .opencode/skills/security-auditor in your project.

What does Security Auditor need to run?

Going by SKILL.md and its folder, Security Auditor needs the command-line tools its instructions call (curl). Our summary lists: Node.js; Docker. Its frontmatter pre-approves these tools: Task, Bash, Grep, Glob, Read, Write.

Does Security Auditor access the network?

SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Security Auditor safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Security Auditor use?

Security Auditor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Security Auditor use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Security Auditor?

Skills that share tags, products or a category with Security Auditor: Owasp Security Audit (LIDR-academy/AI4Devs-LTI-extended, 278 stars), Security Auditor (eigent-ai/eigent, 15k stars), Security Review (jewbetcha/opentrace, 116 stars) and Code Audit (3stoneBrother/code-audit, 893 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Security Auditor?

commercetools (a GitHub organization) maintains it in commercetools/ui-kit, which has 154 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 3, 2026.

Source: commercetools/ui-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.