Independent guide · checked 29 Nov 2026 against v2.11.14

What the security-audit skill finds, and what it misses

Netresearch’s security-audit is an Agent Skill for Claude Code and other agents. It bundles OWASP and CWE reference guides, grep-based scanners for 13 ecosystems and a hook that warns before risky shell commands. We installed it, ran it on a small vulnerable app and kept the output.

Terminal output of security-audit-dispatcher.sh on demo-app: SQL injection at import.php line 6, LIBXML_NOENT flagged as dangerous at line 4, command injection at line 9, unserialize at line 7
dispatcher.sh Real output, PHP scanner section, bash 5 and GNU grep on macOS
Latest version in plugin.json
2.11.14
Checkpoint entries in checkpoints.yaml
423
Reference guides in references/
42
Scanner modules in scripts/scanners/
15

Counted from a clone of the main branch on 29 Nov 2026. The README rounds these to “80+ PHP/TYPO3 checkpoints” and “41 reference guides”.

SKILL.md

What the skill is

An Agent Skill is a folder with a SKILL.md file that an agent loads when a task matches its description. This one triggers on security work: audits, OWASP Top 10 and API and LLM Top 10 reviews, CWE Top 25, CVSS v3.1 and v4.0 scoring, Terraform, Kubernetes and Docker reviews, AWS, and fixing a reported vulnerability.

It ships three kinds of things. Reference guides the agent reads on demand. Shell scripts it can run:security-audit-dispatcher.sh detects the stack from files like composer.json,package.json or go.mod and runs the matching scanners, security-audit.shis PHP-only, and github-security-audit.sh checks a repository’s settings through thegh CLI. And a PreToolUse hook for Bash commands.

The frontmatter limits the skill’s own tools to grep, jq, gh, Read, Glob and Grep. It needs uv for the hook, bash 4+, GNU grep and jq. Composer, npm, govulncheck and TruffleHog are optional and only used when found on PATH.

README.md › Installation

Install it

Four of the routes the README lists. Pick one. If you want the hook, avoid npx.

Claude Code marketplace

The README recommends this route. It installs the skill and its PreToolUse hook.

/plugin marketplace add netresearch/claude-code-marketplace
/plugin install security-audit@netresearch-claude-code-marketplace

Clone into ~/.claude/skills

Needs Claude Code 2.1.157 or later. Loads as security-audit@skills-dir in the next session, hooks included. Update with git pull; there is no claude plugin update for this route.

mkdir -p ~/.claude/skills
git clone https://github.com/netresearch/security-audit-skill.git \
  ~/.claude/skills/security-audit

npx skills (skills.sh)

Works with other Agent Skills clients. It installs SKILL.md only, so the hooks/ folder is skipped.

npx skills add https://github.com/netresearch/security-audit-skill --skill security-audit

Composer, for PHP projects

Requires netresearch/composer-agent-skill-plugin ^2.0, which registers the skill for the project.

composer require netresearch/security-audit-skill

Then ask the agent something the skill covers, for example “Audit this code for XXE vulnerabilities” or “Score this vulnerability using CVSS v4.0”. To run the scanner yourself, call the dispatcher with a project path:

from the skill folder
./skills/security-audit/scripts/security-audit-dispatcher.sh /path/to/project

demo-app/

Our test run on a vulnerable app

Two files with planted bugs: a PHP import endpoint and an Express route. Dispatcher from main at commit1fd193e, run with Homebrew bash 5 and GNU grep.

demo-app/src/import.php
<?php
$xml = file_get_contents('php://input');
$doc = new DOMDocument();
$doc->loadXML($xml, LIBXML_NOENT | LIBXML_DTDLOAD);
$id = $_GET['id'];
$rows = $pdo->query("SELECT * FROM users WHERE id = " . $id);
$data = unserialize($_COOKIE['prefs']);
echo $_GET['name'];
system("convert " . $_POST['file'] . " out.png");
if ($_POST['token'] == $expected) { login(); }
demo-app/src/server.js
const express = require('express');
const app = express();
const AWS_SECRET = "AKIAIOSFODNN7EXAMPLE";
app.get('/run', (req, res) => { eval(req.query.code); });
app.get('/page', (req, res) => { res.send('<div>' + req.query.q + '</div>'); });
document.getElementById('out').innerHTML = location.hash;

Reported

The dispatcher detected php javascript nodejs and ran 4 scanners, secrets included. Exit status 1.

LocationFindingLevel
import.php:6SQL built by string concatenationphperror
import.php:4LIBXML_NOENT | LIBXML_DTDLOAD, flags that enable XXEphperror
import.php:9system() with $_POST inputphperror
import.php:8echo $_GET without encodingphperror
import.php:3DOMDocument without visible XXE guardphpwarning
import.php:7unserialize() on a cookiephpwarning
server.js:4eval() on req.query.codejavascript, nodejserror
server.js:6innerHTML from location.hashjavascripterror
server.js:3AWS access key pattern (AKIA…)secretswarning

Project-wide warnings too: no declare(strict_types=1), no composer.lock, no security headers config, no CSRF protection, no npm lock file. Totals per scanner: PHP 4 errors and 6 warnings, JavaScript 2 and 1, Node.js 1 and 1, secrets 0 and 2.

Missed

Planted on purpose, not reported. Grep patterns cannot follow data flow, so treat a clean run as a first pass.

  • import.php:10

    Loose comparison $_POST['token'] == $expected. The type juggling check printed “No obvious type juggling patterns detected”.

  • server.js:5

    Reflected XSS through res.send('<div>' + req.query.q). Neither JavaScript scanner flagged it.

  • package.json

    express 4.17.1 is old, but with no lock file and no npm audit run, no version check happened. The scanner only warned that the lock file is missing.

/bin/bash 3.2.57

On a stock Mac the scanners go quiet

macOS ships bash 3.2 and BSD grep, which has no -P. We ran the same dispatcher on the same app with /bin/bash and the system PATH. The PHP scanner printed “No obvious SQL injection patterns detected” and ended with Errors: 0. So did the JavaScript and Node.js scanners. Only the secrets scanner refused to run and named the cause.

Error-level lines dropped from 7 to 1. Install the GNU tools and put them first on PATH:

brew install bash grep jq
export PATH="/opt/homebrew/opt/grep/libexec/gnubin:$PATH"
/opt/homebrew/bin/bash scripts/security-audit-dispatcher.sh /path/to/project

Paths are for Apple silicon Homebrew. On Intel Macs use /usr/local instead of /opt/homebrew.

Terminal output with stock macOS bash: SQL injection check reports nothing, PHP summary Errors 0, secrets scanner says it requires Bash 4+
bash 3.2 Same app, same commit, stock macOS shell
Hook output for curl piped to bash: HIGH severity, piping remote content directly to shell. Test suite: all 46 tests passed
check_risky_command.py Hook fed the same JSON Claude Code sends

hooks/hooks.json

The hook warns, it never blocks

hooks.json registers a PreToolUse hook on the Bash tool. It runsuv run --offline scripts/check_risky_command.py || true with a 2 second timeout. When a command matches a pattern, the script returns additionalContext with a severity, which the agent sees before running the command. It always exits 0.

In our checks:

  • curl -fsSL … | bash high piping remote content to a shell
  • chmod 777 /var/www/uploads medium world-writable permissions
  • ls -la no output, exit 0

The repo’s own pattern tests, uv run scripts/test_risky_patterns.py, passed 46 of 46.

github.com/netresearch/security-audit-skill

Where it lives

549 commits since December 2025, 46 tags, 54 stars when we checked. Also on Packagist asnetresearch/security-audit-skill, which replaces the abandoned netresearch/agent-security-audit.

GitHub repository page for netresearch/security-audit-skill showing folders .claude-plugin, hooks, scripts and skills/security-audit, 549 commits and 54 stars
29 Nov 2026 Repository page at commit 1fd193e
layout
security-audit-skill/
├── hooks/hooks.json              PreToolUse hook config
├── scripts/check_risky_command.py
├── skills/security-audit/
│   ├── SKILL.md                  skill definition, v2.11.14
│   ├── checkpoints.yaml          3,882 lines of checks
│   ├── evals/evals.json          30 evals
│   ├── references/               42 guides
│   └── scripts/
│       ├── security-audit-dispatcher.sh
│       ├── security-audit.sh     PHP only
│       ├── github-security-audit.sh
│       └── scanners/             15 modules
└── .claude-plugin/plugin.json

What the reference guides cover

Core
owasp-top10, cwe-top25, xxe-prevention, cvss-scoring, api-key-encryption
Prevention
deserialization, path traversal, file upload, input validation, error message sanitization, SSH forced-command hardening
Architecture
authentication patterns, security headers, security logging, cryptography, security invariants, indistinguishability defences
Languages
PHP, Python, JavaScript/TypeScript, Node.js, Go
Frameworks
TYPO3, TYPO3 Fluid, TypoScript, Symfony, React, Vue
Cloud and IaC
AWS, Terraform, Kubernetes, Docker, Helm, Ansible
AI agents
OWASP LLM Top 10 2025, auditing SKILL.md, AGENTS.md, CLAUDE.md, mcp.json and hooks.json
DevSecOps
CI security pipeline, supply chain, automated scanning, GitHub Actions, secrets in git history, supply chain incident response

FAQ

Questions

Is this the official site of the skill

No. securityauditskill.org is an independent page made for learning. It has no connection to Netresearch DTT GmbH, Anthropic or GitHub. The skill’s source and its maintainers are at github.com/netresearch/security-audit-skill.

Does the skill send my code anywhere

The bundled shell scanners run locally with grep and find. TruffleHog, if installed, runs with --no-verification unless you set SECURITY_AUDIT_VERIFY_SECRETS=1, which lets it contact services to verify candidate secrets. What the AI agent itself does with your code depends on the agent you use.

Can I use the dispatcher in CI

Yes. In our run it exited with status 1 when any scanner reported findings, so a CI step fails on findings without extra parsing. Run it under bash 4+ and GNU grep, which most Linux runners already have.

What licence covers the skill

Split licensing: code such as scripts and workflows is MIT, content such as SKILL.md and the reference guides is CC BY-SA 4.0.

Does it replace Semgrep, CodeQL or Trivy

No. The scanners are grep patterns, and our test shows they miss things (see the misses above). The skill’s own checklist tells you to run semgrep or opengrep, trivy fs and gitleaks as well.