agent-security-hardening
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
Elite end-to-end offensive bug-bounty hunting orchestrator. ALWAYS activate for: full-scope recon, killchain, bug hunting strategy, target triage, attack surface mapping, "find me a bug", "hunt on $target", high-payout vuln hunting, P1/P2 bug discovery, $10K+ bounty hunting, account takeover (ATO), authentication bypass, IDOR/BOLA, SSRF→cloud-metadata, RCE chains, file upload to RCE, dependency confusion, request smuggling, cache poisoning, OAuth/SAML/JWT abuse, GraphQL abuse, exposed services (Jenkins/Kubernetes/Spring/Actuator), secrets leaks (GitHub/Postman), subdomain takeover, race conditions, web cache deception, XXE chains, unsafe deserialization, SSTI, prototype pollution, mass assignment, CORS abuse, postMessage abuse, business logic, privilege escalation, chaining low → critical, exploit PoC writing, HackerOne/Bugcrowd/Intigriti report writing. Built from analysis of HackerOne TOP100PAID, TOP100UPVOTED, TOPRCE, TOPSSRF, TOPUPLOAD, TOPOAUTH, TOPOPENID, TOPINFODISCLOSURE, TOPXXE plus Awesome-Bugbounty-Writeups. Routes to specialist hunters (sqli, xss, blf, js-recon, prompt-injection) when applicable. Authorized testing only — bug bounty in-scope, pentest engagement, or CTF. Token-efficient. Never assumes — always verifies. 20+ year red-team mindset.
Scope reminder: Authorization gate first. Confirm target is in-scope for an active bounty program / pentest / CTF before any active probing. If unclear, ask.
subdomain takeover → cookie scoping → ATO, SSRF → metadata → cloud creds → S3 read → source code → harder bugs, low IDOR → mass assignment → admin role → tenant pivot.references/report-writing.md.Classify the target before touching it. Different classes get different killchain routes.
SaaS multi-tenant web app → IDOR/BOLA, mass assignment, tenant pivot, GraphQL, OAuth, billing logic
Devtool / SCM (GitLab-like) → import features, template injection, file read, git flag injection, plugin RCE
Marketplace / Two-sided → seller<->buyer auth boundary, marketplace IDOR, escrow logic, payment flows
API-first / mobile-backend → BOLA, mass assignment, JWT, GraphQL introspection, rate limit bypass
Identity provider / OAuth → redirect_uri, state, PKCE, scope creep, account linking, SAML signature
File processor (PDF/img/AV) → ImageMagick, FFmpeg, Ghostscript, ExifTool, parser confusion, SSRF, XXE
E-commerce / payments → race conditions, coupon stacking, refund logic, currency mismatch, IDOR on orders
Internal/admin panel exposed→ default creds, SSRF pivot, exposed actuators, debug endpoints
Self-hosted/on-prem → version disclosure, supply chain, dependency confusion
Cloud infra (S3/IAM) → public buckets, IAM misconfig, presigned URL leaks, metadata SSRF
If you can't classify in 60 seconds, you haven't done enough recon. Go to Phase 1.
Read references/recon-killchain.md for full one-liners. Summary flow:
SCOPE -> SUBDOMAINS -> ASSETS -> HTTP PROBE -> SCREENSHOT -> JS HARVEST -> ENDPOINTS -> PARAMS -> SECRETS -> DECISION
Passive (no traffic to target)
subfinder -d $T -all -silent, amass enum -passive, chaos -d $Tcrt.sh, github-subdomains -d $T -t $GH_TOKEN, cero -c 1000 $Twaybackurls $T, gau --threads 10 $T, katana -passive -list ...trufflehog github --org=$T --only-verified, gitleaks, noseyparkerActive
httpx -silent -status-code -title -tech-detect -ip -cnamenaabu -top-ports 1000 then nmap -sV -sC -p $PORTSkatana -d 5 -jc -kf all -aff -fs fqdngospider -d 5 -c 10 --jsffuf -w $WL -u https://$T/FUZZ -mc all -fc 404 -ac (auto-calibrate)Decision criteria (move to Phase 2 only when):
=10 live hosts mapped with tech stack
=1 admin/staging/dev subdomain identified
Read references/recon-killchain.md § "Surface Mapping". Build this table for each target before attacking:
| Surface | Examples | Top bug classes |
| -------------------- | --------------------------------------------- | ---------------------------------------- |
| Auth | /login, /reset, /verify, /oauth/callback | ATO, OAuth, password reset, SAML, JWT |
| User-controlled IDs | /user/{id}, /order/{id}, GraphQL node(id:...) | IDOR, BOLA, mass assignment |
| Status/state siblings| /invitations/{challenged,unchallenged}, pending/accepted, active/archived | BOLA (per-variant authz gap → token+PII leak) |
| Import/Export | /import, /migration, /backup, /clone | File read, SSRF, RCE, data exfil |
| File upload | avatar, attachment, csv import, doc | RCE, XSS, SSRF, XXE, polyglot |
| Integrations | webhooks, OAuth apps, slack/jira | SSRF, OAuth scope, secret leak |
| Billing | checkout, refund, coupon, plan change | Race, business logic, IDOR |
| Admin/internal | /admin, /staff, /internal, X-Forwarded-For | Auth bypass, header smuggling |
| GraphQL | /graphql, /api/graphql | Introspection, batch, alias, IDOR |
| Search/filter/sort | ?q=, ?orderBy=, ?filter= | SQLi, NoSQLi, SSTI, sort injection |
| URL fetchers | url=, image=, callback=, return_to= | SSRF, open redirect -> OAuth ATO |
| Templating | email templates, invoice PDF, markdown | SSTI -> RCE, XSS |
| Crypto/JWT | Authorization: Bearer ... | alg=none, kid traversal, weak secret |
Hunt highest-EV first. From HackerOne data, these archetypes consistently pay $10K+ when impact is shown. Each links to a deep reference.
references/rce-archetypes.md § "Pre-auth"references/dependency-confusion.mdreferences/graphql-deep.mdreferences/exposed-services.mdreferences/secrets-recon.mdreferences/ssrf-killchain.mdreferences/request-smuggling.mdreferences/dependency-confusion.md § "Build pipeline"references/cache-poisoning-deception.mdreferences/ssti-rce.mdreferences/deserialization.mdreferences/file-upload-rce.mdreferences/xxe-deep.mdreferences/graphql-deep.mdreferences/race-conditions.mdreferences/idor-bola-mass-assignment.mdreferences/subdomain-takeover.mdFor every candidate vuln:
*.target.com. Combine.Read references/chaining-impact.md. Quick mental checklist for every finding:
Q1. Can this affect another user (cross-user)? -> IDOR/BOLA family
Q2. Can this affect another tenant (cross-tenant)? -> Privilege escalation, big multiplier
Q3. Can this leak credentials/tokens/keys? -> Secret exposure, big multiplier
Q4. Can this be triggered without auth? -> Pre-auth, big multiplier
Q5. Can this be triggered without user interaction? -> 0-click, big multiplier
Q6. Can this persist (stored)? -> Stored XSS, persistent IDOR
Q7. Can this read internal services/cloud metadata? -> SSRF chain
Q8. Can this read source code or config? -> Source disclosure -> harder bugs
Q9. Can this lead to RCE or SQLi? -> Critical
Q10. Can this be mass-exploited (batch/race/automation)? -> Mass-impact, big multiplier
Each "yes" raises payout tier. Aim for >=3 yeses before submitting.
| Trigger | Delegate to |
|---|---|
| SQL injection signal (errors, time delay, ORDER BY) | sqli-hunter-agent |
| XSS sink in DOM/markdown/HTML reflection | xss-hunter-agent |
| Heavy JS bundles, source maps, big SPA | js-recon-agent |
| Broken Logic / business-logic / authz check pattern | blf-hunter-agent |
| LLM/agent target, system prompt, AI feature | prompt-injection-hunter-agent |
For everything else — RCE, SSRF, ATO, OAuth, IDOR, upload, XXE, race, smuggling, cache, subdomain takeover, dependency confusion, exposed services, secrets — stay here and use the references below.
Recon & surface
references/recon-killchain.md — full passive+active recon flow with one-linersreferences/secrets-recon.md — GitHub/GitLab/Postman/Docker/CI secret huntingreferences/subdomain-takeover.md — full dangling-CNAME provider catalogreferences/exposed-services.md — Jenkins, Kubernetes, Zeppelin, Spring Actuator, Drupal, Airflow, GrafanaServer-side execution
references/rce-archetypes.md — every RCE archetype seen on H1 ($10K+ ones first)references/ssti-rce.md — Jinja2, Kramdown, Smarty, Twig, Velocity, FreeMarker, Handlebars, Pug, Makoreferences/deserialization.md — Java, PHP (phar/wakeup), .NET, Python, Node (node-serialize), Rubyreferences/file-upload-rce.md — polyglot, parser confusion, ImageMagick, GhostScript, ZIP slip, XSLT, ExifToolreferences/dependency-confusion.md — npm/pip/RubyGems/Maven/Go substitution, build pipeline RCEServer-side request abuse
references/ssrf-killchain.md — cloud metadata (AWS/GCP/Azure/Alibaba/DO), DNS rebinding, IPv6, parser tricksreferences/xxe-deep.md — SOAP, SAML, SVG, DOCX, OOXML, JPEG XMP, blind/OOB extractionHTTP layer
references/request-smuggling.md — CL.TE, TE.CL, TE.TE, h2c, response queue desyncreferences/cache-poisoning-deception.md — unkeyed input, fat GET, web cache deceptionreferences/cors-postmessage.md — CORS misconfig, postMessage origin abuseAuthorization & logic
references/idor-bola-mass-assignment.md — IDOR, BOLA, mass assignment, prototype pollution sinksreferences/race-conditions.md — Turbo Intruder, single-packet attack, financial logicreferences/graphql-deep.md — introspection, batch, alias, depth, suggestions, IDORMaximization
references/chaining-impact.md — low->critical recipes from $10K+ H1 reportsreferences/report-writing.md — H1/Bugcrowd/Intigriti templates, CVSS, impact statementsPayloads & cheatsheets
payloads/rce-payloads.mdpayloads/ssrf-payloads.mdpayloads/ssti-payloads.mdpayloads/cmd-injection.mdcheatsheets/waf-bypass.mdcheatsheets/oneliners.md — copy-paste commands per phasecheatsheets/encoding-tricks.mdreferences/*.md.references/report-writing.md for the submission.Stay paranoid. Stay scoped. Stack chains. Hunt the $10K+ tier first.
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