An agentic skills framework & software development methodology that works.
Security audit skill for Claude Code and compatible agents
This Agent Skill gives your assistant security audit patterns for OWASP Top 10, CWE Top 25, and CVSS scoring. It is built around a skill definition, checkpoint file, reference guides, and hook scripts that warn about risky commands before they run.
Builders who want their agent to review PHP or web projects for security issues with reusable audit rules.
You can have your agent spot common vulnerabilities and score security risk without starting from scratch each time.
What it does
Vulnerability patterns
Covers XXE, SQL injection, XSS, CSRF, command injection, path traversal, insecure deserialization, SSRF, JWT flaws, and more.
Risk scoring
Includes CVSS v3.1 and v4.0 guidance plus impact, likelihood, and prioritization checks.
PHP and TYPO3 scanning
Provides 80+ automated checkpoints and PHP 8.x security patterns for deeper code review.
Reference guides
Ships focused notes for OWASP Top 10, CWE Top 25, authentication, file uploads, headers, logging, and cryptography.
Pre-tool warnings
Uses hooks and risky-command scripts to flag dangerous actions before they run.
DevSecOps coverage
Includes guidance for SAST, dependency scanning, supply-chain security, and CI/CD security pipelines.
How to get it
- 1Add the Netresearch marketplace once, then browse and install skills
# Claude Code /plugin marketplace add netresearch/claude-code-marketplace /plugin install security-audit@netresearch-claude-code-marketplace
- 2Since Claude Code 2.1.157 a plugin directory under your personal skills directory loads…
mkdir -p ~/.claude/skills git clone https://github.com/netresearch/security-audit-skill.git \ ~/.claude/skills/security-audit
- 3Install with any Agent Skills-compatible agent
npx skills add https://github.com/netresearch/security-audit-skill --skill security-audit
- 4Run
git clone https://github.com/netresearch/security-audit-skill.git
- 5Run
composer require netresearch/security-audit-skill
- 6Run
npm install --save-dev \ @netresearch/agent-skill-coordinator \ github:netresearch/security-audit-skill
README
Security Audit Skill
Security audit patterns (OWASP Top 10, CWE Top 25 2025, CVSS v4.0) and GitHub project security checks for any project. Deep automated PHP/TYPO3 code scanning with 80+ checkpoints, 19 reference guides, and PreToolUse warnings.
Compatibility
This is an Agent Skill following the open standard originally developed by Anthropic and released for cross-platform use.
Supported Platforms:
- Claude Code (Anthropic)
- Cursor
- GitHub Copilot
- Other skills-compatible AI agents
Skills are portable packages of procedural knowledge that work across any AI agent supporting the Agent Skills specification.
Features
- Vulnerability Assessment: XXE injection, SQL injection, XSS, CSRF, command injection, path traversal, file upload vulnerabilities, insecure deserialization, SSRF, type juggling, SSTI, JWT flaws, LDAP injection, email header injection, session fixation
- Risk Scoring: CVSS v3.1 and v4.0 scoring methodology, risk matrix assessment, impact and likelihood analysis, prioritization frameworks
- Secure Coding: Input validation, output encoding, cryptographic best practices (sodium), session management, authentication patterns, security headers
- Standards Compliance: OWASP Top 10, CWE Top 25 (2025), OWASP ASVS v4.0, Proactive Controls — applicable to any project
- PHP/TYPO3 Deep Scanning: 80+ automated checkpoints, PHP 8.x security features, framework patterns (TYPO3, Symfony, Laravel)
- DevSecOps: CI/CD security pipeline, SAST, dependency scanning, supply chain security, SLSA
Installation
Marketplace (Recommended)
Add the Netresearch marketplace once, then browse and install skills:
# Claude Code
/plugin marketplace add netresearch/claude-code-marketplace
/plugin install security-audit@netresearch-claude-code-marketplace
Without a marketplace
Since Claude Code 2.1.157 a plugin directory under your personal skills directory loads on its own, including the hooks this repo ships:
mkdir -p ~/.claude/skills
git clone https://github.com/netresearch/security-audit-skill.git \
~/.claude/skills/security-audit
It loads as security-audit@skills-dir on the next session. Update with git -C ~/.claude/skills/security-audit pull and start a new session; remove it by deleting the directory. This route has no claude plugin update.
npx (skills.sh)
Install with any Agent Skills-compatible agent:
npx skills add https://github.com/netresearch/security-audit-skill --skill security-audit
Limitation:
npx skillsinstallsSKILL.md-based skills only. This repo also shipshooks, which it does not install — use the marketplace or the skills directory for those.
Download Release
Download the latest release and extract to your agent's skills directory.
Git Clone
git clone https://github.com/netresearch/security-audit-skill.git
Composer (PHP Projects)
composer require netresearch/security-audit-skill
Requires netresearch/composer-agent-skill-plugin.
npm (Node Projects)
npm install --save-dev \
@netresearch/agent-skill-coordinator \
github:netresearch/security-audit-skill
Requires @netresearch/agent-skill-coordinator, which discovers the skill in node_modules and registers it in AGENTS.md via a postinstall hook. For pnpm, also allowlist the coordinator's postinstall:
{
"pnpm": {
"onlyBuiltDependencies": ["@netresearch/agent-skill-coordinator"]
}
}
Usage
This skill is automatically triggered when:
- Conducting security assessments
- Identifying vulnerabilities (XXE, SQL injection, XSS, CSRF, command injection)
- Scoring security risks with CVSS v3.1 or v4.0
- Implementing secure coding practices
- Auditing PHP applications for security issues
- Reviewing code for OWASP Top 10 vulnerabilities
- Setting up CI/CD security pipelines
Example queries:
- "Audit this code for XXE vulnerabilities"
- "Check for SQL injection risks"
- "Score this vulnerability using CVSS v4.0"
- "Review authentication implementation for security flaws"
- "Implement secure XML parsing"
- "What security headers should this application set?"
Structure
security-audit-skill/
├── SKILL.md # Skill metadata and core patterns
├── SECURITY.md # Security policy
├── hooks/
│ └── hooks.json # PreToolUse hook configuration
├── scripts/
│ └── check_risky_command.py # Risky command detection hook
├── skills/security-audit/
│ ├── SKILL.md # Skill definition
│ ├── checkpoints.yaml # 80+ automated security checkpoints
│ ├── scripts/
│ │ ├── security-audit.sh # PHP project security audit
│ │ └── github-security-audit.sh # GitHub repo security audit
│ └── references/
│ ├── cwe-top25.md # CWE Top 25 (2025) coverage map
│ ├── owasp-top10.md # OWASP Top 10 patterns
│ ├── xxe-prevention.md # XXE detection and prevention
│ ├── cvss-scoring.md # CVSS v3.1 & v4.0 scoring
│ ├── api-key-encryption.md # API key encryption (sodium)
│ ├── deserialization-prevention.md # Insecure deserialization
│ ├── path-traversal-prevention.md # Path traversal prevention
│ ├── file-upload-security.md # File upload security
│ ├── authentication-patterns.md # Auth, session, JWT, MFA
│ ├── security-headers.md # HTTP security headers
│ ├── security-logging.md # Security logging & monitoring
│ ├── input-validation.md # Input validation & encoding
│ ├── cryptography-guide.md # Cryptographic best practices
│ ├── modern-attacks.md # SSRF, mass assignment, race conditions
│ ├── cve-patterns.md # CVE-derived patterns (15 vulnerability types)
│ ├── php-security-features.md # PHP 8.x security features
│ ├── ci-security-pipeline.md # CI/CD security tooling
│ └── supply-chain-security.md # SLSA, signing, OpenSSF
└── .github/
├── dependabot.yml # Automated dependency updates
└── workflows/
├── release.yml # Release automation
└── ci.yml # ShellCheck, Python lint, tests
Expertise Areas
Vulnerability Assessment
- XXE (XML External Entity) injection detection
- SQL injection pattern recognition
- XSS (Cross-Site Scripting) analysis
- CSRF protection verification
- Command injection detection
- Path traversal prevention
- File upload security
- Insecure deserialization
- SSRF detection
- Authentication/authorization flaws
Risk Scoring
- CVSS v3.1 scoring methodology
- CVSS v4.0 scoring methodology
- Risk matrix assessment
- Impact and likelihood analysis
- Prioritization frameworks
Secure Coding
- Input validation patterns
- Output encoding strategies
- Secure configuration
- Cryptographic best practices (sodium)
- Session management
- Authentication patterns (Argon2, JWT, MFA)
- Security headers (HSTS, CSP)
DevSecOps
- SAST integration (PHPStan, Semgrep, CodeQL)
- Dependency scanning (composer audit, Trivy)
- Supply chain security (SLSA, Sigstore)
- Container security (Hadolint, Trivy)
- SBOM generation (CycloneDX)
Security Audit Checklist
Authentication & Authorization
- Password hashing uses bcrypt/Argon2 (PASSWORD_ARGON2ID)
- Session tokens are cryptographically random (random_bytes)
- Session fixation protection enabled (session_regenerate_id)
- CSRF tokens on all state-changing operations
- Authorization checks on all protected resources
- Rate limiting on authentication endpoints
Input Handling
- All input validated server-side
- Parameterized queries for all SQL
- XML parsing with external entities disabled (LIBXML_NONET only)
- File uploads restricted by type (MIME validation) and size
- Path traversal prevention on file operations
- No unserialize() with user input
Output Handling
- Context-appropriate output encoding (htmlspecialchars)
- Content-Type headers set correctly
- X-Content-Type-Options: nosniff
- Content-Security-Policy configured
- X-Frame-Options or CSP frame-ancestors set
- Strict-Transport-Security (HSTS) enabled
Data Protection
- Sensitive data encrypted at rest (sodium_crypto_secretbox)
- TLS 1.2+ for data in transit
- Secrets not in version control
- PII handling compliant with regulations
- Audit logging for sensitive operations
Related Skills
- enterprise-readiness-skill: References this skill for security assessment
- php-modernization-skill: Type safety enhances security
- typo3-testing-skill: Security test patterns
License
This project uses split licensing:
- Code (scripts, workflows, configs): MIT
- Content (skill definitions, documentation, references): CC-BY-SA-4.0
See the individual license files for full terms.
Credits
Developed and maintained by Netresearch DTT GmbH.
Made with love for Open Source by Netresearch
Files in the repo
- .claude-plugin
- .github
- Build
- docs
- hooks
- scripts
- skills
- .envrc
- .gitignore
- .gitleaksignore
- .markdownlint-cli2.jsonc
- .pre-commit-config.yaml
- .yamllint.yml
- AGENTS.md
- composer.json
- LICENSE-CC-BY-SA-4.0
- LICENSE-MIT
- package.json
- plugin.json
- README.md
- renovate.json
- SECURITY.md
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More skills

Production-grade engineering skills for AI coding agents.
817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Agent Skill for complex work: research before asking, ask before planning, plan before building, verify before delivering, independent review before calling it done. Plain text, no runtime.
Anti-laziness skill for AI agents. Core: the Depth Tree method, which splits a task N layers deep and gives every leaf the full time budget of the whole task, so effort multiplies with depth. Grounded in 2025-2026 research on model laziness, underthinking and premature completion.
The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 payments, escrow, and dispute resolution as one open, catch-all Agent Skill / Claude Code plugin.