@hostclubeos/miraos 0.0.4-beta → 0.0.5-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.
Files changed (147) hide show
  1. package/bundled/bug-hunter/SKILL.md +7 -0
  2. package/chunks/{acpAgent-F4OT4AQQ.js → acpAgent-UHWDA3W7.js} +2 -2
  3. package/chunks/{chunk-ECNTMKHI.js → chunk-2GVKPBW5.js} +1 -1
  4. package/chunks/{chunk-HPGUQCRQ.js → chunk-2TDRP3IX.js} +1 -1
  5. package/chunks/{chunk-C24YTZET.js → chunk-4IVYVCCU.js} +1 -1
  6. package/chunks/{chunk-CKBEAZAV.js → chunk-62DMHXLL.js} +1 -1
  7. package/chunks/{chunk-AYU4PDSQ.js → chunk-744QTJR2.js} +2 -2
  8. package/chunks/{chunk-4XV2522J.js → chunk-D3YOXHQF.js} +1 -1
  9. package/chunks/{chunk-5SJFYZQJ.js → chunk-FRADUGRC.js} +1 -1
  10. package/chunks/{chunk-WDLXS4A3.js → chunk-FXANOHXI.js} +3 -3
  11. package/chunks/{chunk-JM46SKXF.js → chunk-MQWKOOSR.js} +1 -1
  12. package/chunks/{chunk-4TJKJ2LG.js → chunk-MUS4ADP7.js} +1 -1
  13. package/chunks/{chunk-FUIRLSNA.js → chunk-N4RIISOE.js} +1 -1
  14. package/chunks/{chunk-PUPIORBU.js → chunk-NKWATWMD.js} +1 -1
  15. package/chunks/{chunk-7LXU4NUI.js → chunk-NYM67KKZ.js} +1 -1
  16. package/chunks/{chunk-TIWH3MUJ.js → chunk-PXBJPUGN.js} +1 -1
  17. package/chunks/{chunk-LISKSG7B.js → chunk-QEIX42MZ.js} +1 -1
  18. package/chunks/{chunk-BZMSTSKY.js → chunk-RKFNQQNA.js} +1 -1
  19. package/chunks/{chunk-AXBNQS6C.js → chunk-SK3QOQR4.js} +1 -1
  20. package/chunks/{chunk-33G7MOU6.js → chunk-XZNF4YNN.js} +1 -1
  21. package/chunks/{daemon-status-provider-NBPLE4JN.js → daemon-status-provider-F6KB2LNG.js} +1 -1
  22. package/chunks/{fast-path-66F2TWKE.js → fast-path-DWPD5EGQ.js} +1 -1
  23. package/chunks/{llm-LZ3HARC2.js → llm-RBI7KXDE.js} +3 -3
  24. package/chunks/{local-6KBSW7N2.js → local-HSG47CNJ.js} +1 -1
  25. package/chunks/{managed-local-serve-2N3IAB3D.js → managed-local-serve-YE4JDFNP.js} +1 -1
  26. package/chunks/{managed-runtime-bootstrap-M4P43K7W.js → managed-runtime-bootstrap-SHEXUEZN.js} +1 -1
  27. package/chunks/{managed-runtime-ssh-worker-WWZ7SJ7U.js → managed-runtime-ssh-worker-BZNJV7IB.js} +1 -1
  28. package/chunks/{memory-D62BXIJW.js → memory-JTDN5AEA.js} +1 -1
  29. package/chunks/{nonInteractiveCli-Z4A7THMG.js → nonInteractiveCli-BXHX6EIU.js} +1 -1
  30. package/chunks/{review-LM7KW6Y5.js → review-PC4IDLCG.js} +1 -1
  31. package/chunks/{run-qwen-serve-77UZS4JA.js → run-qwen-serve-XRWVWOZK.js} +1 -1
  32. package/chunks/{serve-RHO7RZ45.js → serve-JCUT4WK7.js} +1 -1
  33. package/chunks/{server-5HEOZG3T.js → server-HMTRZJF7.js} +1 -1
  34. package/chunks/{session-RT7VH6GE.js → session-RGLZU6KY.js} +1 -1
  35. package/chunks/{start-opentui-ui-I2XXWTJS.js → start-opentui-ui-YNTPK7LX.js} +1 -1
  36. package/chunks/{startInteractiveUI-774LJIJD.js → startInteractiveUI-MWA2VYTJ.js} +1 -1
  37. package/chunks/{validateNonInterActiveAuth-633WYCVH.js → validateNonInterActiveAuth-3433WFLE.js} +1 -1
  38. package/chunks/{version-77KBVA2F.js → version-XCFKTEY3.js} +1 -1
  39. package/cli.js +1 -1
  40. package/package.json +2 -2
  41. package/bundled/bug-hunter/references/apk-redteam-pipeline/SKILL.md +0 -407
  42. package/bundled/bug-hunter/references/bb-local-toolkit/SKILL.md +0 -1558
  43. package/bundled/bug-hunter/references/bb-methodology/SKILL.md +0 -513
  44. package/bundled/bug-hunter/references/bug-bounty/SKILL.md +0 -1604
  45. package/bundled/bug-hunter/references/bugcrowd-reporting/SKILL.md +0 -331
  46. package/bundled/bug-hunter/references/cloud-iam-deep/SKILL.md +0 -521
  47. package/bundled/bug-hunter/references/enterprise-vpn-attack/SKILL.md +0 -356
  48. package/bundled/bug-hunter/references/evidence-hygiene/SKILL.md +0 -401
  49. package/bundled/bug-hunter/references/exploit-completion/SKILL.md +0 -155
  50. package/bundled/bug-hunter/references/hunt-api-misconfig/SKILL.md +0 -268
  51. package/bundled/bug-hunter/references/hunt-aspnet/SKILL.md +0 -277
  52. package/bundled/bug-hunter/references/hunt-ato/SKILL.md +0 -140
  53. package/bundled/bug-hunter/references/hunt-auth-bypass/SKILL.md +0 -449
  54. package/bundled/bug-hunter/references/hunt-brute-force/SKILL.md +0 -297
  55. package/bundled/bug-hunter/references/hunt-business-logic/SKILL.md +0 -237
  56. package/bundled/bug-hunter/references/hunt-cache-poison/SKILL.md +0 -338
  57. package/bundled/bug-hunter/references/hunt-captcha-bypass/SKILL.md +0 -92
  58. package/bundled/bug-hunter/references/hunt-cicd/SKILL.md +0 -267
  59. package/bundled/bug-hunter/references/hunt-clickjacking/SKILL.md +0 -66
  60. package/bundled/bug-hunter/references/hunt-cloud-misconfig/SKILL.md +0 -195
  61. package/bundled/bug-hunter/references/hunt-cors/SKILL.md +0 -291
  62. package/bundled/bug-hunter/references/hunt-csrf/SKILL.md +0 -374
  63. package/bundled/bug-hunter/references/hunt-deserialization/SKILL.md +0 -178
  64. package/bundled/bug-hunter/references/hunt-dispatch/SKILL.md +0 -380
  65. package/bundled/bug-hunter/references/hunt-dom/SKILL.md +0 -279
  66. package/bundled/bug-hunter/references/hunt-exceptional-conditions/SKILL.md +0 -67
  67. package/bundled/bug-hunter/references/hunt-file-upload/SKILL.md +0 -158
  68. package/bundled/bug-hunter/references/hunt-fintech-graphql/SKILL.md +0 -245
  69. package/bundled/bug-hunter/references/hunt-forgot-password/SKILL.md +0 -70
  70. package/bundled/bug-hunter/references/hunt-graphql/SKILL.md +0 -368
  71. package/bundled/bug-hunter/references/hunt-grpc/SKILL.md +0 -273
  72. package/bundled/bug-hunter/references/hunt-host-header/SKILL.md +0 -265
  73. package/bundled/bug-hunter/references/hunt-html-injection/SKILL.md +0 -62
  74. package/bundled/bug-hunter/references/hunt-http-smuggling/SKILL.md +0 -87
  75. package/bundled/bug-hunter/references/hunt-idor/SKILL.md +0 -389
  76. package/bundled/bug-hunter/references/hunt-jwt-crypto/SKILL.md +0 -177
  77. package/bundled/bug-hunter/references/hunt-k8s/SKILL.md +0 -293
  78. package/bundled/bug-hunter/references/hunt-laravel/SKILL.md +0 -211
  79. package/bundled/bug-hunter/references/hunt-ldap/SKILL.md +0 -307
  80. package/bundled/bug-hunter/references/hunt-lfi/SKILL.md +0 -266
  81. package/bundled/bug-hunter/references/hunt-llm-ai/SKILL.md +0 -245
  82. package/bundled/bug-hunter/references/hunt-mfa-bypass/SKILL.md +0 -134
  83. package/bundled/bug-hunter/references/hunt-misc/SKILL.md +0 -333
  84. package/bundled/bug-hunter/references/hunt-nextjs/SKILL.md +0 -255
  85. package/bundled/bug-hunter/references/hunt-nodejs/SKILL.md +0 -219
  86. package/bundled/bug-hunter/references/hunt-nosqli/SKILL.md +0 -166
  87. package/bundled/bug-hunter/references/hunt-ntlm-info/SKILL.md +0 -270
  88. package/bundled/bug-hunter/references/hunt-oauth/SKILL.md +0 -414
  89. package/bundled/bug-hunter/references/hunt-open-redirect/SKILL.md +0 -179
  90. package/bundled/bug-hunter/references/hunt-race-condition/SKILL.md +0 -485
  91. package/bundled/bug-hunter/references/hunt-rag-vector/SKILL.md +0 -167
  92. package/bundled/bug-hunter/references/hunt-rce/SKILL.md +0 -494
  93. package/bundled/bug-hunter/references/hunt-saml/SKILL.md +0 -112
  94. package/bundled/bug-hunter/references/hunt-session/SKILL.md +0 -298
  95. package/bundled/bug-hunter/references/hunt-shadow-api/SKILL.md +0 -153
  96. package/bundled/bug-hunter/references/hunt-sharepoint/SKILL.md +0 -437
  97. package/bundled/bug-hunter/references/hunt-source-leak/SKILL.md +0 -301
  98. package/bundled/bug-hunter/references/hunt-spa-api/SKILL.md +0 -123
  99. package/bundled/bug-hunter/references/hunt-springboot/SKILL.md +0 -241
  100. package/bundled/bug-hunter/references/hunt-sqli/SKILL.md +0 -422
  101. package/bundled/bug-hunter/references/hunt-ssrf/SKILL.md +0 -514
  102. package/bundled/bug-hunter/references/hunt-ssti/SKILL.md +0 -117
  103. package/bundled/bug-hunter/references/hunt-subdomain/SKILL.md +0 -335
  104. package/bundled/bug-hunter/references/hunt-tls-network/SKILL.md +0 -355
  105. package/bundled/bug-hunter/references/hunt-websocket/SKILL.md +0 -285
  106. package/bundled/bug-hunter/references/hunt-xss/SKILL.md +0 -450
  107. package/bundled/bug-hunter/references/hunt-xxe/SKILL.md +0 -422
  108. package/bundled/bug-hunter/references/ios-redteam-pipeline/SKILL.md +0 -287
  109. package/bundled/bug-hunter/references/m365-entra-attack/SKILL.md +0 -384
  110. package/bundled/bug-hunter/references/meme-coin-audit/SKILL.md +0 -358
  111. package/bundled/bug-hunter/references/mid-engagement-ir-detection/SKILL.md +0 -353
  112. package/bundled/bug-hunter/references/offensive-osint/README.md +0 -98
  113. package/bundled/bug-hunter/references/offensive-osint/SKILL.md +0 -399
  114. package/bundled/bug-hunter/references/offensive-osint/references/breach-and-credentials.md +0 -128
  115. package/bundled/bug-hunter/references/offensive-osint/references/dork-corpus.md +0 -180
  116. package/bundled/bug-hunter/references/offensive-osint/references/helpers-and-automation.md +0 -231
  117. package/bundled/bug-hunter/references/offensive-osint/references/identity-fabric.md +0 -305
  118. package/bundled/bug-hunter/references/offensive-osint/references/people-osint.md +0 -105
  119. package/bundled/bug-hunter/references/offensive-osint/references/probes-and-wordlists.md +0 -1266
  120. package/bundled/bug-hunter/references/offensive-osint/references/recon-stack.md +0 -282
  121. package/bundled/bug-hunter/references/offensive-osint/references/recon-techniques.md +0 -341
  122. package/bundled/bug-hunter/references/offensive-osint/references/saas-public-surfaces.md +0 -138
  123. package/bundled/bug-hunter/references/offensive-osint/references/secret-patterns.md +0 -67
  124. package/bundled/bug-hunter/references/offensive-osint/references/secret-validators.md +0 -329
  125. package/bundled/bug-hunter/references/offensive-osint/references/sector-notes.md +0 -72
  126. package/bundled/bug-hunter/references/offensive-osint/references/severity-matrix.md +0 -108
  127. package/bundled/bug-hunter/references/offensive-osint/references/specialized-osint.md +0 -199
  128. package/bundled/bug-hunter/references/offensive-osint/references/tooling-install.md +0 -188
  129. package/bundled/bug-hunter/references/offensive-osint/scripts/assets/FONT-LICENSE.txt +0 -13
  130. package/bundled/bug-hunter/references/offensive-osint/scripts/assets/archivo-black.woff2 +0 -0
  131. package/bundled/bug-hunter/references/offensive-osint/scripts/dashboard.py +0 -968
  132. package/bundled/bug-hunter/references/offensive-osint/scripts/h1_reference.py +0 -402
  133. package/bundled/bug-hunter/references/offensive-osint/scripts/secret_scan.py +0 -180
  134. package/bundled/bug-hunter/references/okta-attack/SKILL.md +0 -397
  135. package/bundled/bug-hunter/references/osint-methodology/README.md +0 -66
  136. package/bundled/bug-hunter/references/osint-methodology/SKILL.md +0 -1704
  137. package/bundled/bug-hunter/references/recon-scope-triage/SKILL.md +0 -89
  138. package/bundled/bug-hunter/references/redteam-mindset/SKILL.md +0 -401
  139. package/bundled/bug-hunter/references/redteam-report-template/SKILL.md +0 -347
  140. package/bundled/bug-hunter/references/regression-hunting/SKILL.md +0 -98
  141. package/bundled/bug-hunter/references/report-writing/SKILL.md +0 -568
  142. package/bundled/bug-hunter/references/security-arsenal/SKILL.md +0 -912
  143. package/bundled/bug-hunter/references/supply-chain-attack-recon/SKILL.md +0 -648
  144. package/bundled/bug-hunter/references/triage-validation/SKILL.md +0 -418
  145. package/bundled/bug-hunter/references/vmware-vcenter-attack/SKILL.md +0 -372
  146. package/bundled/bug-hunter/references/web2-recon/SKILL.md +0 -698
  147. package/bundled/bug-hunter/references/web3-audit/SKILL.md +0 -606
@@ -1,180 +0,0 @@
1
- # Dork Corpus & GitHub Code-Search Dorks
2
-
3
- > Reference content for the `offensive-osint` skill. Originally §18 + §19 of the monolithic SKILL.md (refactored 2026-05-02 for size/load efficiency).
4
-
5
- ## 18. Dork Corpus — 80+ templates, 9 categories
6
-
7
- Substitute `{domain}` with the target domain (e.g., `example.com`) and `{company}` with the company name (e.g., `Acme Corporation`). Run via Google, Bing, Brave, DuckDuckGo, Yandex, Baidu — engines surface different results.
8
-
9
- ### 18.1 Files
10
-
11
- ```
12
- site:{domain} filetype:env
13
- site:{domain} ext:env OR ext:ini OR ext:cfg OR ext:conf
14
- site:{domain} ext:sql OR ext:sqlite OR ext:dump OR ext:bak
15
- site:{domain} ext:pem OR ext:key OR ext:p12 OR ext:pfx
16
- site:{domain} ext:log
17
- site:{domain} intitle:"index of"
18
- site:{domain} inurl:.git OR inurl:/.git/
19
- site:{domain} inurl:backup OR inurl:.bak OR inurl:old
20
- site:{domain} ext:yml OR ext:yaml
21
- site:{domain} ext:properties
22
- ```
23
-
24
- ### 18.2 Admin / login panels
25
-
26
- ```
27
- site:{domain} inurl:admin OR inurl:login OR inurl:sso OR inurl:dashboard
28
- site:{domain} intitle:"phpMyAdmin"
29
- site:{domain} intitle:"Jenkins"
30
- site:{domain} intitle:"Grafana"
31
- site:{domain} intitle:"Kibana"
32
- site:{domain} intitle:"Splunk"
33
- site:{domain} (intitle:"login" OR intitle:"sign in")
34
- site:{domain} intitle:"GitLab"
35
- site:{domain} intitle:"Swagger" OR intitle:"OpenAPI"
36
- site:{domain} inurl:phpinfo
37
- ```
38
-
39
- ### 18.3 Secrets / credential leakage
40
-
41
- ```
42
- "{domain}" ("api_key" OR "apikey" OR "access_token")
43
- "{domain}" (password OR passwd OR pwd)
44
- site:pastebin.com "{domain}"
45
- site:ghostbin.com "{domain}"
46
- site:rentry.co "{domain}"
47
- site:gist.github.com "{domain}"
48
- site:hastebin.com "{domain}"
49
- "{domain}" "BEGIN RSA PRIVATE KEY"
50
- ```
51
-
52
- ### 18.4 Cloud / CI / shadow-IT
53
-
54
- ```
55
- site:s3.amazonaws.com "{domain}"
56
- site:storage.googleapis.com "{domain}"
57
- site:blob.core.windows.net "{domain}"
58
- site:digitaloceanspaces.com "{domain}"
59
- site:trello.com "{domain}"
60
- site:*.atlassian.net "{domain}"
61
- site:dev.azure.com "{domain}"
62
- site:bitbucket.org "{domain}"
63
- site:firebaseio.com "{domain}"
64
- site:herokuapp.com "{domain}"
65
- ```
66
-
67
- ### 18.5 Docs / intel mining
68
-
69
- ```
70
- site:{domain} filetype:pdf (confidential OR internal OR restricted)
71
- site:{domain} filetype:xlsx OR filetype:csv
72
- site:{domain} filetype:docx
73
- site:scribd.com "{company}"
74
- "{company}" filetype:pdf (salary OR payroll OR org-chart OR "organization chart")
75
- site:linkedin.com/in "{company}"
76
- site:slideshare.net "{company}"
77
- ```
78
-
79
- ### 18.6 Vuln indicators
80
-
81
- ```
82
- site:{domain} intext:"sql syntax" OR intext:"you have an error in your sql"
83
- site:{domain} intext:"Warning: mysql_"
84
- site:{domain} intext:"Fatal error:" intext:"on line"
85
- site:{domain} intext:"stack trace" OR intext:"Traceback (most recent call last)"
86
- "Apache/2.4.49" site:{domain}
87
- "Server: nginx/1.14" site:{domain}
88
- site:{domain} inurl:wp-content OR inurl:wp-includes
89
- ```
90
-
91
- ### 18.7 Internal tool exposure
92
-
93
- ```
94
- site:{domain} intitle:"Splunk"
95
- site:{domain} intitle:"Grafana"
96
- site:{domain} intitle:"Kibana"
97
- site:{domain} intitle:"Prometheus Time Series"
98
- site:{domain} intitle:"Jaeger UI"
99
- site:{domain} intitle:"AlertManager"
100
- site:{domain} intitle:"Argo CD"
101
- site:{domain} intitle:"Sonarqube"
102
- site:{domain} intitle:"Sentry"
103
- site:{domain} intitle:"Confluence"
104
- site:{domain} intitle:"Jira"
105
- site:{domain} intitle:"GitLab"
106
- site:{domain} intitle:"Gitea"
107
- site:{domain} intitle:"Drone CI"
108
- site:{domain} inurl:"/jenkins/"
109
- ```
110
-
111
- ### 18.8 Backup / dump file extensions
112
-
113
- ```
114
- site:{domain} ext:bak OR ext:backup OR ext:old OR ext:orig OR ext:save OR ext:swp
115
- site:{domain} ext:tar OR ext:tar.gz OR ext:tgz OR ext:zip OR ext:rar OR ext:7z
116
- site:{domain} ext:db OR ext:sqlite OR ext:sqlite3 OR ext:mdb
117
- site:{domain} ext:dump OR ext:rdb OR ext:bson
118
- site:{domain} (intext:"-- MySQL dump" OR intext:"PostgreSQL database dump")
119
- site:{domain} ext:pcap OR ext:pcapng OR ext:cap
120
- site:{domain} ext:core OR ext:hprof OR ext:dmp
121
- ```
122
-
123
- ### 18.9 Sector-specific (healthcare / finance / gov)
124
-
125
- ```
126
- # Healthcare
127
- site:{domain} (filetype:pdf OR filetype:xlsx) (HIPAA OR PHI OR "patient records")
128
- site:{domain} ("DICOM" OR "HL7" OR "ICD-10")
129
-
130
- # Finance
131
- site:{domain} (filetype:pdf OR filetype:xlsx) (SOC OR "audit report" OR "internal control")
132
- site:{domain} (filetype:pdf OR filetype:xlsx) ("Form 10-K" OR "Form 10-Q" OR earnings)
133
- site:{domain} ("SWIFT" OR "BIC" OR IBAN OR "wire transfer")
134
-
135
- # Gov / public sector
136
- site:{domain} (filetype:pdf OR filetype:doc) (FOUO OR "controlled unclassified" OR CUI)
137
- site:{domain} (filetype:pdf OR filetype:xlsx) ("personnel security" OR clearance)
138
- ```
139
-
140
- ### 18.10 Result classification
141
-
142
- After running, score each result via URL signature → title hint → snippet regex:
143
- - **CRITICAL URL signatures:** `.pem`, `.p12`, `.pfx`, `.key` extensions; `id_rsa` filename.
144
- - **HIGH URL signatures:** `/.env`, `/.git/`, database dumps, `wp-config.bak`, `/phpmyadmin`, `/jenkins`, `/phpinfo.php`.
145
- - **MEDIUM URL signatures:** `/admin`, `/login`, `/swagger`, `.log`, `/backup`, `.DS_Store`.
146
- - Snippet content (e.g., a secret regex hit in the snippet) overrides URL signature only if higher severity.
147
- - Confidence: snippet-only match = TENTATIVE (operator must visit URL to confirm; tag detectability=medium).
148
-
149
- ---
150
-
151
- ## 19. GitHub Code-Search Dorks for Targets — 13 dorks
152
-
153
- Apply each template to `{target}` (root domain stem like `acme`), `{domain}` (full root domain like `acme.com`), and optionally `{company}` (`Acme Corporation`):
154
-
155
- ```
156
- "{target}" filename:.env
157
- "{target}" filename:.env.example
158
- "{target}" filename:config
159
- "{target}" AWS_ACCESS_KEY_ID
160
- "{target}" AWS_SECRET_ACCESS_KEY
161
- "{target}" password
162
- "{target}" api_key
163
- "{target}" secret
164
- "{target}" authorization: Bearer
165
- "{target}" filename:id_rsa
166
- "{target}" filename:.git-credentials
167
- "{target}" filename:wp-config.php
168
- "@{domain}" password # emails + password context
169
- ```
170
-
171
- **Requirements:** GitHub personal access token (any scope; recommend a fine-grained PAT with read-only repo access). Rate limit per token; concurrency cap ≤5.
172
-
173
- **For each result:**
174
- 1. Fetch the file (or relevant fragment) via the GitHub Contents API.
175
- 2. Run the secret catalog (§17).
176
- 3. If a secret hits → `SECRET_LEAK` finding with catalog severity, evidence = repo URL + file path + matched secret (truncated, last 4 chars only).
177
- 4. Optional: clone the repo to a tempdir, run `trufflehog`/`gitleaks` for full history scan.
178
-
179
- ---
180
-
@@ -1,231 +0,0 @@
1
- # AI-Assisted OSINT, Archiving, Automation, Sidecar, Helpers
2
-
3
- > Reference content for the `offensive-osint` skill. Originally §33 + §34 + §35 + §36 + §48 of the monolithic SKILL.md (refactored 2026-05-02 for size/load efficiency).
4
-
5
- ## 33. AI-Assisted OSINT
6
-
7
- > **Warning:** Never paste PII, sensitive IOCs, or unique pivots into cloud LLMs. They log inputs and may use them for training. Use local models for sensitive analysis.
8
-
9
- | Tool | Strength |
10
- |------|---------|
11
- | [ChatGPT](https://chat.openai.com/) (paid) | Log parsing, dataset analysis, Code Interpreter for CSV/JSON, Vision OCR. |
12
- | [Claude](https://claude.ai/) (paid) | 200K-token context for large doc dumps + report synthesis. |
13
- | [Gemini](https://gemini.google.com/) | Long-context; Deep Research mode with citations. |
14
- | [Perplexity Pro](https://www.perplexity.ai/) (paid) | Real-time web search + reasoning. |
15
-
16
- **Local / privacy-preserving:** [Ollama](https://ollama.com/), [LM Studio](https://lmstudio.ai/), [GPT4All](https://gpt4all.io/).
17
-
18
- ### 33.1 Commercial AI OSINT Platforms
19
-
20
- - [Cylect](https://www.cylect.io/) — entity extraction + link analysis.
21
- - [Fivecast Matrix](https://www.fivecast.com/products/matrix/) — generative-AI triage for social-media datasets.
22
- - [Recorded Future](https://www.recordedfuture.com/) — AI-driven threat intel.
23
- - [DarkOwl Vision](https://www.darkowl.com/) — darknet data analysis.
24
-
25
- ### 33.2 Deepfake & Synthetic Media Detection
26
-
27
- - [Sensity AI](https://sensity.ai/), [Reality Defender](https://realitydefender.com/), [Adobe Content Credentials Verify](https://contentcredentials.org/verify), [CarNet](https://carnet.ai/).
28
-
29
- ---
30
-
31
- ## 34. Archiving & Evidence Preservation
32
-
33
- - [archive.today](https://archive.today/) — one-page archiver + screenshot.
34
- - [URLScan.io](https://urlscan.io/) — webpage scan + resource map.
35
- - [ArchiveBox](https://archivebox.io/) — self-hosted (HTML, PDF, screenshots, media).
36
- - [Hunchly](https://www.hunch.ly/) — investigator evidence capture (paid).
37
- - Wayback SavePageNow API v3 — on-demand archiving with job IDs.
38
- - [SingleFileZ](https://github.com/gildas-lormeau/SingleFileZ) — browser ext for offline HTML.
39
- - [Kasm Workspaces](https://kasmweb.com/) — containerized OSINT browser isolation.
40
-
41
- **Evidence handling:** URL + UTC timestamp + PNG + WARC/SingleFileZ archive, SHA-256 hash all downloads, separate work profiles per case, store evidence read-only, JSONL run logs with `run_id` + tool versions.
42
-
43
- ---
44
-
45
- ## 35. Automation & Workflows
46
-
47
- - [n8n](https://n8n.io/) — self-hosted workflow automation (RSS → scrape → alert pipelines).
48
- - [Huginn](https://github.com/huginn/huginn) — agent-based monitoring/scraping/alerting.
49
- - [Playwright](https://playwright.dev/) — headless browser automation with stealth plugins.
50
- - [Browsertrix Crawler](https://github.com/webrecorder/browsertrix-crawler) — archival crawling with WARC export.
51
- - [Prefect](https://www.prefect.io/) / [Apache Airflow](https://airflow.apache.org/) — workflow orchestration.
52
-
53
- ---
54
-
55
- ## 36. Cross-Module Sidecar Coordination
56
-
57
- When you run a multi-module recon, late-arriving outputs need to feed into already-running modules. The pattern:
58
-
59
- 1. Each module writes a sidecar JSON to a known location when it finishes:
60
- - `<scan>/mobile_endpoints.json` — endpoints + hostnames extracted from APK static analysis.
61
- - `<scan>/secrets_sidecar.json` — hostnames + endpoints + Firebase project IDs from secrets-beyond-github sweep.
62
- - `<scan>/sso_tenants.json` — discovered IdP tenants for breach correlation.
63
- 2. Downstream modules check for sidecars on start; if present, ingest.
64
- 3. Cross-feed: API discovery consumes both `mobile_endpoints.json` and `secrets_sidecar.json`; SSO×breach correlation consumes `sso_tenants.json` and the breach DB.
65
-
66
- **Sidecar shape (mobile_endpoints.json example):**
67
- ```json
68
- {
69
- "endpoints": [
70
- {"method": "GET", "url": "https://api.acme.com/v1/users", "source": "apk:com.acme.android"},
71
- {"method": "POST", "url": "https://api.acme.com/v1/login", "source": "apk:com.acme.android"}
72
- ],
73
- "hostnames": ["api.acme.com", "cdn.acme.com"],
74
- "firebase_project_ids": ["acme-prod-12345"]
75
- }
76
- ```
77
-
78
- When you implement an ad-hoc multi-tool recon (no platform), use a `tmpdir + JSON sidecars + a one-line manifest` pattern. Composable, debuggable, replay-able.
79
-
80
- ---
81
-
82
-
83
- ## 48. Runnable Helper — `secret_scan.py`
84
-
85
- Drop-in Python helper that mirrors the 29-pattern catalog from §17. Pure stdlib, no dependencies. For operator use against captured text.
86
-
87
- ```python
88
- #!/usr/bin/env python3
89
- """Stdlib-only secret scanner. Mirrors the 29-pattern catalog.
90
-
91
- Usage:
92
- echo "AKIAIOSFODNN7EXAMPLE" | python3 secret_scan.py
93
- python3 secret_scan.py file1.txt file2.js dir/
94
-
95
- Output: one JSON object per line: {pattern, severity, category, match, file, line}
96
- """
97
- import json
98
- import os
99
- import re
100
- import sys
101
-
102
- SEV_CRITICAL = "critical"
103
- SEV_HIGH = "high"
104
- SEV_MEDIUM = "medium"
105
- SEV_LOW = "low"
106
-
107
- PATTERNS = [
108
- ("AWS_ACCESS_KEY", SEV_CRITICAL, "aws", r"\b(AKIA|ASIA)[0-9A-Z]{16}\b"),
109
- ("AWS_SECRET_TYPED", SEV_CRITICAL, "aws", r"(?i)aws[_\-]?secret[_\-]?access[_\-]?key['\"\s:=]+([A-Za-z0-9/+=]{40})"),
110
- ("AWS_SECRET_LOOSE", SEV_HIGH, "aws", r"(?i)aws(.{0,20})?(secret|sk)[\"'=: ]+([0-9a-z/+=]{40})"),
111
- ("GCP_SERVICE_ACCOUNT", SEV_CRITICAL, "gcp", r'"type"\s*:\s*"service_account"'),
112
- ("GOOGLE_API_KEY", SEV_HIGH, "gcp", r"\bAIza[0-9A-Za-z_\-]{35}\b"),
113
- ("GH_PAT_CLASSIC", SEV_CRITICAL, "github", r"\bghp_[A-Za-z0-9]{36}\b"),
114
- ("GH_PAT_FINEGRAINED", SEV_CRITICAL, "github", r"\bgithub_pat_[A-Za-z0-9_]{82}\b"),
115
- ("GH_OAUTH", SEV_HIGH, "github", r"\bgho_[A-Za-z0-9]{36}\b"),
116
- ("GH_S2S", SEV_HIGH, "github", r"\bgh[usr]_[A-Za-z0-9]{36,}\b"),
117
- ("STRIPE_LIVE", SEV_CRITICAL, "stripe", r"\bsk_live_[0-9A-Za-z]{24,}\b"),
118
- ("STRIPE_TEST", SEV_LOW, "stripe", r"\bsk_test_[0-9A-Za-z]{24,}\b"),
119
- ("SLACK_TOKEN", SEV_HIGH, "slack", r"\bxox[abpors]-[0-9A-Za-z\-]{10,48}\b"),
120
- ("SLACK_WEBHOOK", SEV_MEDIUM, "slack", r"https://hooks\.slack\.com/services/T[A-Z0-9]+/B[A-Z0-9]+/[A-Za-z0-9]+"),
121
- ("SENDGRID", SEV_HIGH, "email_svc", r"\bSG\.[A-Za-z0-9_\-]{22}\.[A-Za-z0-9_\-]{43}\b"),
122
- ("MAILGUN_V1", SEV_HIGH, "email_svc", r"\bkey-[0-9a-zA-Z]{32}\b"),
123
- ("MAILGUN_LOOSE", SEV_HIGH, "email_svc", r"\bkey-[0-9a-f]{32}\b"),
124
- ("TWILIO_API", SEV_HIGH, "twilio", r"\bSK[0-9a-fA-F]{32}\b"),
125
- ("TWILIO_SID", SEV_MEDIUM, "twilio", r"\bAC[a-f0-9]{32}\b"),
126
- ("TWILIO_AUTH", SEV_HIGH, "twilio", r"(?i)twilio(.{0,20})?(auth|token)[\"'=: ]+([a-f0-9]{32})"),
127
- ("HEROKU_API", SEV_MEDIUM, "paas", r"(?i)heroku(.{0,20})?api[\"'=: ]+([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})"),
128
- ("FIREBASE_URL", SEV_LOW, "firebase", r"\bhttps?://[a-z0-9\-]+\.firebaseio\.com\b"),
129
- ("JWT", SEV_MEDIUM, "jwt", r"\beyJ[A-Za-z0-9_\-]{10,}\.eyJ[A-Za-z0-9_\-]{10,}\.[A-Za-z0-9_\-]{10,}\b"),
130
- ("BEARER_AUTH", SEV_MEDIUM, "bearer", r"(?i)authorization[\"'=: ]+bearer\s+[A-Za-z0-9._\-]{20,}"),
131
- ("BASIC_AUTH_URL", SEV_MEDIUM, "basic_auth", r"https?://[^/\s:@]+:[^/\s:@]+@[^/\s]+"),
132
- ("RSA_PRIVKEY", SEV_CRITICAL, "private_key", r"-----BEGIN RSA PRIVATE KEY-----"),
133
- ("EC_PRIVKEY", SEV_CRITICAL, "private_key", r"-----BEGIN EC PRIVATE KEY-----"),
134
- ("OPENSSH_PRIVKEY", SEV_CRITICAL, "private_key", r"-----BEGIN OPENSSH PRIVATE KEY-----"),
135
- ("GENERIC_PRIVKEY", SEV_CRITICAL, "private_key", r"-----BEGIN (DSA |PGP |)PRIVATE KEY-----"),
136
- ("GENERIC_API_KEY", SEV_MEDIUM, "generic", r"(?i)(?:api[_\-]?key|apikey|api_secret|access_token|secret[_\-]?token)['\"\s:=]+[\"']([A-Za-z0-9+/=_\-]{24,})[\"']"),
137
- ]
138
-
139
- COMPILED = [(n, s, c, re.compile(p)) for (n, s, c, p) in PATTERNS]
140
-
141
- def scan_text(text: str, source: str = "<stdin>"):
142
- for line_no, line in enumerate(text.splitlines(), start=1):
143
- for name, sev, cat, rx in COMPILED:
144
- for m in rx.finditer(line):
145
- yield {
146
- "pattern": name,
147
- "severity": sev,
148
- "category": cat,
149
- "match": m.group(0)[:80], # truncate to avoid huge dumps
150
- "source": source,
151
- "line": line_no,
152
- }
153
-
154
- def scan_path(path: str):
155
- if os.path.isdir(path):
156
- for root, _, files in os.walk(path):
157
- for f in files:
158
- p = os.path.join(root, f)
159
- yield from scan_path(p)
160
- return
161
- try:
162
- with open(path, "r", errors="replace") as fh:
163
- yield from scan_text(fh.read(), source=path)
164
- except Exception:
165
- return
166
-
167
- def main():
168
- if len(sys.argv) > 1:
169
- for arg in sys.argv[1:]:
170
- for hit in scan_path(arg):
171
- print(json.dumps(hit))
172
- else:
173
- data = sys.stdin.read()
174
- for hit in scan_text(data):
175
- print(json.dumps(hit))
176
-
177
- if __name__ == "__main__":
178
- main()
179
- ```
180
-
181
- Save as `secret_scan.py`, then:
182
- ```bash
183
- python3 secret_scan.py path/to/repo/ # scan a directory tree
184
- python3 secret_scan.py file1 file2 file3 # scan specific files
185
- cat my.log | python3 secret_scan.py # pipe stdin
186
- ```
187
-
188
- Output is JSONL — one finding per line — drops cleanly into `jq` for filtering or directly into a finding store.
189
-
190
- ---
191
-
192
- ## 49. Runnable Helper — `h1_reference.py`
193
-
194
- HackerOne Hacktivity reference agent. Queries HackerOne's **public** GraphQL API for
195
- disclosed reports during recon — no API key required (max 50 results/page). Use it to
196
- surface validated techniques and business-impact framing for the target's tech stack
197
- before you hunt. Pure stdlib.
198
-
199
- ```bash
200
- # Best-validated techniques to start from
201
- python3 h1_reference.py --top-voted --limit 25
202
-
203
- # Highest-bounty reports (signal for impact framing)
204
- python3 h1_reference.py --top-bounty --limit 25
205
-
206
- # Scope to a class / CWE / program
207
- python3 h1_reference.py --query "idor" --severity high critical
208
- python3 h1_reference.py --cwe "CWE-918" --program <handle>
209
- python3 h1_reference.py --lookup-program <handle>
210
- ```
211
-
212
- Pairs with the bundled `docs/disclosed-reports/` pattern libraries: `h1_reference.py`
213
- pulls live disclosed reports; the pattern libraries are the curated per-class digests.
214
-
215
- ## 50. Runnable Helper — `dashboard.py`
216
-
217
- Zero-dependency localhost recon console that wraps `secret_scan.py` and
218
- `h1_reference.py` behind a stdlib web UI. Binds to `127.0.0.1` by default — the scan
219
- surface can read arbitrary local files you point it at, so it is never exposed to the
220
- network.
221
-
222
- ```bash
223
- python3 dashboard.py # http://127.0.0.1:8765
224
- python3 dashboard.py --port 9000 # custom port
225
- ```
226
-
227
- Use it for a fast visual pass — paste a blob or point at a path to aggregate secrets by
228
- severity/category, and browse disclosed-report references — without leaving the box.
229
-
230
- ---
231
-