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-marketplaceNetresearch’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.

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
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
Four of the routes the README lists. Pick one. If you want the hook, avoid npx.
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-marketplaceNeeds 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-auditWorks 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-auditRequires netresearch/composer-agent-skill-plugin ^2.0, which registers the skill for the project.
composer require netresearch/security-audit-skillThen 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:
./skills/security-audit/scripts/security-audit-dispatcher.sh /path/to/projectdemo-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.
<?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(); }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;The dispatcher detected php javascript nodejs and ran 4 scanners, secrets included. Exit status 1.
| Location | Finding | Level |
|---|---|---|
| import.php:6 | SQL built by string concatenationphp | error |
| import.php:4 | LIBXML_NOENT | LIBXML_DTDLOAD, flags that enable XXEphp | error |
| import.php:9 | system() with $_POST inputphp | error |
| import.php:8 | echo $_GET without encodingphp | error |
| import.php:3 | DOMDocument without visible XXE guardphp | warning |
| import.php:7 | unserialize() on a cookiephp | warning |
| server.js:4 | eval() on req.query.codejavascript, nodejs | error |
| server.js:6 | innerHTML from location.hashjavascript | error |
| server.js:3 | AWS access key pattern (AKIA…)secrets | warning |
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.
Planted on purpose, not reported. Grep patterns cannot follow data flow, so treat a clean run as a first pass.
Loose comparison $_POST['token'] == $expected. The type juggling check printed “No obvious type juggling patterns detected”.
Reflected XSS through res.send('<div>' + req.query.q). Neither JavaScript scanner flagged it.
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
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/projectPaths are for Apple silicon Homebrew. On Intel Macs use /usr/local instead of /opt/homebrew.


hooks/hooks.json
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 shellchmod 777 /var/www/uploads medium world-writable permissionsls -la no output, exit 0The repo’s own pattern tests, uv run scripts/test_risky_patterns.py, passed 46 of 46.
github.com/netresearch/security-audit-skill
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.

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.jsonFAQ
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.
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.
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.
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.
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.