opencode-skills-collection 4.0.43 → 4.0.45

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 (270) hide show
  1. package/bundled-skills/.antigravity-install-manifest.json +47 -1
  2. package/bundled-skills/api-rate-limit-handler/SKILL.md +282 -0
  3. package/bundled-skills/api-security/SKILL.md +205 -0
  4. package/bundled-skills/api-security/references/jwt-oauth-testing.md +123 -0
  5. package/bundled-skills/api-security/references/rest-graphql-testing.md +137 -0
  6. package/bundled-skills/apk-reverse/SKILL.md +438 -0
  7. package/bundled-skills/apk-reverse/references/android-advanced.md +365 -0
  8. package/bundled-skills/apk-reverse/references/apk-security-checklist.md +230 -0
  9. package/bundled-skills/apk-reverse/references/frida-bypass-kit.md +70 -0
  10. package/bundled-skills/apk-reverse/references/frida-cookbook.md +472 -0
  11. package/bundled-skills/attack-chain/SKILL.md +185 -0
  12. package/bundled-skills/attack-chain/references/attack-playbooks.md +126 -0
  13. package/bundled-skills/attack-chain/references/evasion-cheatsheet.md +133 -0
  14. package/bundled-skills/attack-chain/references/lifecycle-checklist.md +37 -0
  15. package/bundled-skills/attack-chain/references/phases.md +490 -0
  16. package/bundled-skills/binary-diff/SKILL.md +320 -0
  17. package/bundled-skills/binary-diff/references/prompt-template.md +173 -0
  18. package/bundled-skills/browser-extension-reverse/SKILL.md +99 -0
  19. package/bundled-skills/browser-extension-reverse/references/extension-analysis.md +10 -0
  20. package/bundled-skills/case-review/SKILL.md +167 -0
  21. package/bundled-skills/cloud-k8s/SKILL.md +124 -0
  22. package/bundled-skills/cloud-k8s/references/k8s-cloud-checklist.md +16 -0
  23. package/bundled-skills/code-audit/SKILL.md +92 -0
  24. package/bundled-skills/code-audit/references/sast-review-checklist.md +10 -0
  25. package/bundled-skills/database-security/SKILL.md +81 -0
  26. package/bundled-skills/database-security/references/db-misconfig-checklist.md +9 -0
  27. package/bundled-skills/diagram-generator/SKILL.md +199 -0
  28. package/bundled-skills/diagram-generator/references/README.md +3 -0
  29. package/bundled-skills/diagram-generator/references/diagram-patterns.md +254 -0
  30. package/bundled-skills/digital-forensics/SKILL.md +93 -0
  31. package/bundled-skills/digital-forensics/references/forensics-triage.md +10 -0
  32. package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
  33. package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
  34. package/bundled-skills/docs/maintainers/repo-growth-seo.md +1 -1
  35. package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
  36. package/bundled-skills/docs/sources/sources.md +9 -0
  37. package/bundled-skills/docs/users/aas-core.md +1 -1
  38. package/bundled-skills/docs/users/bundles.md +1 -1
  39. package/bundled-skills/docs/users/claude-code-skills.md +1 -1
  40. package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
  41. package/bundled-skills/docs/users/kiro-integration.md +1 -1
  42. package/bundled-skills/docs/users/usage.md +3 -3
  43. package/bundled-skills/docs/users/visual-guide.md +4 -4
  44. package/bundled-skills/docs-generator/SKILL.md +197 -0
  45. package/bundled-skills/docs-generator/references/security-report-templates.md +348 -0
  46. package/bundled-skills/docs-generator/references/templates.md +102 -0
  47. package/bundled-skills/docs-generator/references/vendor-report-rules.md +263 -0
  48. package/bundled-skills/dotnet-reverse/SKILL.md +197 -0
  49. package/bundled-skills/dotnet-reverse/references/common-workflow.md +171 -0
  50. package/bundled-skills/dotnet-reverse/references/obfuscators.md +145 -0
  51. package/bundled-skills/dotnet-reverse/references/sharp-tools.md +164 -0
  52. package/bundled-skills/edr-bypass-re/SKILL.md +248 -0
  53. package/bundled-skills/edr-bypass-re/references/hook-survey.md +226 -0
  54. package/bundled-skills/edr-bypass-re/references/telemetry-blinding.md +346 -0
  55. package/bundled-skills/edr-bypass-re/references/unhook-techniques.md +338 -0
  56. package/bundled-skills/email-security/SKILL.md +81 -0
  57. package/bundled-skills/email-security/references/email-auth-checklist.md +8 -0
  58. package/bundled-skills/firmware-pentest/SKILL.md +381 -0
  59. package/bundled-skills/firmware-pentest/references/emba-automated-analysis.md +192 -0
  60. package/bundled-skills/firmware-pentest/references/emulation-and-fuzz.md +337 -0
  61. package/bundled-skills/firmware-pentest/references/extraction-methodology.md +285 -0
  62. package/bundled-skills/ghidra-reverse/SKILL.md +98 -0
  63. package/bundled-skills/ghidra-reverse/references/ghidra-cheatsheet.md +12 -0
  64. package/bundled-skills/go-rust-reverse/SKILL.md +82 -0
  65. package/bundled-skills/go-rust-reverse/references/go-rust-notes.md +5 -0
  66. package/bundled-skills/hardware-security/SKILL.md +80 -0
  67. package/bundled-skills/hardware-security/references/debug-interface-triage.md +7 -0
  68. package/bundled-skills/ida-reverse/SKILL.md +401 -0
  69. package/bundled-skills/ida-reverse/references/LOCAL-SETUP.md +66 -0
  70. package/bundled-skills/ida-reverse/references/ida-mcp-cheatsheet.md +515 -0
  71. package/bundled-skills/identity-federation/SKILL.md +81 -0
  72. package/bundled-skills/identity-federation/references/sso-flow-checklist.md +9 -0
  73. package/bundled-skills/instructree/SKILL.md +94 -0
  74. package/bundled-skills/js-reverse/SKILL.md +239 -0
  75. package/bundled-skills/js-reverse/references/ast-deobfuscation.md +3 -0
  76. package/bundled-skills/js-reverse/references/automation-entry.md +12 -0
  77. package/bundled-skills/js-reverse/references/env-patching.md +6 -0
  78. package/bundled-skills/js-reverse/references/fallbacks.md +8 -0
  79. package/bundled-skills/js-reverse/references/instrumentation.md +9 -0
  80. package/bundled-skills/js-reverse/references/local-rebuild.md +11 -0
  81. package/bundled-skills/js-reverse/references/mcp-task-template.md +30 -0
  82. package/bundled-skills/js-reverse/references/node-env-rebuild.md +9 -0
  83. package/bundled-skills/js-reverse/references/output-contract.md +9 -0
  84. package/bundled-skills/js-reverse/references/task-artifacts.md +11 -0
  85. package/bundled-skills/js-reverse/references/task-input-template.md +11 -0
  86. package/bundled-skills/js-reverse/references/tool-defaults.md +7 -0
  87. package/bundled-skills/llm-security/SKILL.md +160 -0
  88. package/bundled-skills/llm-security/references/agent-obedience-engineering.md +243 -0
  89. package/bundled-skills/llm-security/references/agent-security-testing.md +116 -0
  90. package/bundled-skills/llm-security/references/owasp-llm-top10.md +48 -0
  91. package/bundled-skills/llm-security/references/prompt-injection-methodology.md +107 -0
  92. package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package-lock.json +4 -4
  93. package/bundled-skills/loki-mode/examples/todo-app-generated/backend/package.json +1 -1
  94. package/bundled-skills/macos-reverse/SKILL.md +85 -0
  95. package/bundled-skills/macos-reverse/references/macho-triage.md +10 -0
  96. package/bundled-skills/malware-analysis/SKILL.md +311 -0
  97. package/bundled-skills/malware-analysis/references/anti-analysis-techniques.md +205 -0
  98. package/bundled-skills/malware-analysis/references/sandbox-orchestration.md +204 -0
  99. package/bundled-skills/malware-analysis/references/yara-sigma-rules.md +232 -0
  100. package/bundled-skills/mobile-reverse/SKILL.md +222 -0
  101. package/bundled-skills/mobile-reverse/references/anti-detection-bypass.md +182 -0
  102. package/bundled-skills/mobile-reverse/references/frida-objection-deep.md +218 -0
  103. package/bundled-skills/mobile-reverse/references/ios-reverse-guide.md +177 -0
  104. package/bundled-skills/muapi-media/SKILL.md +311 -0
  105. package/bundled-skills/ot-ics/SKILL.md +117 -0
  106. package/bundled-skills/ot-ics/references/ot-safe-assessment.md +10 -0
  107. package/bundled-skills/patch-diff-exploit/SKILL.md +278 -0
  108. package/bundled-skills/patch-diff-exploit/references/diff-tools-comparison.md +271 -0
  109. package/bundled-skills/patch-diff-exploit/references/patch-tuesday-workflow.md +253 -0
  110. package/bundled-skills/patch-diff-exploit/references/root-cause-and-poc.md +198 -0
  111. package/bundled-skills/pentest-tools/SKILL.md +346 -0
  112. package/bundled-skills/pentest-tools/references/ai-pentest-agents.md +148 -0
  113. package/bundled-skills/pentest-tools/references/ai-pentesting-landscape-2026.md +73 -0
  114. package/bundled-skills/pentest-tools/references/automation-loop-pattern.md +153 -0
  115. package/bundled-skills/pentest-tools/references/awesome-pentest-digest.md +175 -0
  116. package/bundled-skills/pentest-tools/references/burpsuite-mcp-guide.md +769 -0
  117. package/bundled-skills/pentest-tools/references/client-side-lab-playbook.md +155 -0
  118. package/bundled-skills/pentest-tools/references/kali-mcp-ecosystem.md +119 -0
  119. package/bundled-skills/pentest-tools/references/msf-protocol.md +169 -0
  120. package/bundled-skills/pentest-tools/references/network-attack-defense.md +350 -0
  121. package/bundled-skills/pentest-tools/references/nuclei-guide-2026.md +157 -0
  122. package/bundled-skills/pentest-tools/references/payloads.md +32 -0
  123. package/bundled-skills/pentest-tools/references/pentest-ai-agents-matrix.md +117 -0
  124. package/bundled-skills/pentest-tools/references/pentest-loop.md +270 -0
  125. package/bundled-skills/pentest-tools/references/recon-pipeline.md +154 -0
  126. package/bundled-skills/pentest-tools/references/templates/findings.md +21 -0
  127. package/bundled-skills/pentest-tools/references/templates/progress.md +17 -0
  128. package/bundled-skills/pentest-tools/references/templates/rules.md +35 -0
  129. package/bundled-skills/pentest-tools/references/templates/scope.md +29 -0
  130. package/bundled-skills/pentest-tools/references/templates/task_plan.md +27 -0
  131. package/bundled-skills/pentest-tools/references/web-attack-cheatsheet.md +387 -0
  132. package/bundled-skills/pentest-tools/src-hunter/SKILL.md +243 -0
  133. package/bundled-skills/pentest-tools/src-hunter/references/README.en.md +115 -0
  134. package/bundled-skills/pentest-tools/src-hunter/references/README.md +148 -0
  135. package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/00-index.md +44 -0
  136. package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/chinese-srcfingerprints.md +515 -0
  137. package/bundled-skills/pentest-tools/src-hunter/references/dictionaries/default-credentials-cn.md +274 -0
  138. package/bundled-skills/pentest-tools/src-hunter/references/industry/00-index.md +66 -0
  139. package/bundled-skills/pentest-tools/src-hunter/references/industry/banking-finance.md +338 -0
  140. package/bundled-skills/pentest-tools/src-hunter/references/industry/telecom-isp.md +315 -0
  141. package/bundled-skills/pentest-tools/src-hunter/references/methodology/00-index.md +68 -0
  142. package/bundled-skills/pentest-tools/src-hunter/references/methodology/01-attack-priority.md +143 -0
  143. package/bundled-skills/pentest-tools/src-hunter/references/methodology/02-bypass-toolkit.md +357 -0
  144. package/bundled-skills/pentest-tools/src-hunter/references/methodology/03-evidence-discipline.md +205 -0
  145. package/bundled-skills/pentest-tools/src-hunter/references/methodology/04-control-gap-hunting.md +238 -0
  146. package/bundled-skills/pentest-tools/src-hunter/references/methodology/05-srctimebox-priority.md +161 -0
  147. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/adcs/346/224/273/345/207/273.md +254 -0
  148. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/exchange/346/224/273/345/207/273.md +254 -0
  149. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet/sharepoint/346/224/273/345/207/273.md +113 -0
  150. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//344/277/241/346/201/257/346/224/266/351/233/206.md +947 -0
  151. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/205/215/346/235/200/344/270/216/350/247/204/351/201/277.md +780 -0
  152. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/207/255/350/257/201/347/252/203/345/217/226.md +1259 -0
  153. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//345/237/237/346/270/227/351/200/217/346/224/273/345/207/273.md +753 -0
  154. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/235/203/351/231/220/346/217/220/345/215/207.md +819 -0
  155. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/235/203/351/231/220/347/273/264/346/214/201.md +577 -0
  156. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//346/250/252/345/220/221/347/247/273/345/212/250.md +838 -0
  157. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/intranet//351/232/247/351/201/223/344/273/243/347/220/206.md +604 -0
  158. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ai/345/256/211/345/205/250.md +698 -0
  159. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/api/345/256/211/345/205/250.md +1935 -0
  160. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/csrf/350/267/250/347/253/231/350/257/267/346/261/202/344/274/252/351/200/240.md +952 -0
  161. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/jwt/345/256/211/345/205/250.md +496 -0
  162. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/lfi-rfi/346/226/207/344/273/266/345/214/205/345/220/253.md +1365 -0
  163. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/rce/350/277/234/347/250/213/344/273/243/347/240/201/346/211/247/350/241/214.md +1329 -0
  164. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/sql-nosql/346/263/250/345/205/245.md +1924 -0
  165. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ssrf/346/234/215/345/212/241/347/253/257/350/257/267/346/261/202/344/274/252/351/200/240.md +1256 -0
  166. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/ssti/346/250/241/346/235/277/346/263/250/345/205/245.md +1151 -0
  167. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/websocket/345/256/211/345/205/250.md +487 -0
  168. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/xss/350/267/250/347/253/231/350/204/232/346/234/254.md +1465 -0
  169. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web/xxe/345/256/236/344/275/223/346/263/250/345/205/245.md +815 -0
  170. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/270/232/345/212/241/351/200/273/350/276/221/346/274/217/346/264/236.md +594 -0
  171. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/272/221/345/256/211/345/205/250/346/274/217/346/264/236.md +561 -0
  172. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//344/276/233/345/272/224/351/223/276/346/224/273/345/207/273.md +399 -0
  173. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//345/216/237/345/236/213/351/223/276/346/261/241/346/237/223.md +401 -0
  174. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//345/274/200/346/224/276/351/207/215/345/256/232/345/220/221.md +396 -0
  175. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//346/226/207/344/273/266/346/274/217/346/264/236.md +0 -0
  176. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//346/241/206/346/236/266/346/274/217/346/264/236.md +2304 -0
  177. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//347/202/271/345/207/273/345/212/253/346/214/201.md +339 -0
  178. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//347/274/223/345/255/230/344/270/216cdn/345/256/211/345/205/250.md +497 -0
  179. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//350/256/244/350/257/201/346/274/217/346/264/236.md +1778 -0
  180. package/bundled-skills/pentest-tools/src-hunter/references/payloader/by-category/web//350/257/267/346/261/202/350/265/260/347/247/201.md +854 -0
  181. package/bundled-skills/pentest-tools/src-hunter/references/payloader/index.md +69 -0
  182. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools/web/346/270/227/351/200/217.md +662 -0
  183. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools/windows/346/270/227/351/200/217.md +100 -0
  184. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//344/277/241/346/201/257/346/224/266/351/233/206.md +852 -0
  185. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/206/205/347/275/221/346/270/227/351/200/217.md +873 -0
  186. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/207/255/350/257/201/347/252/203/345/217/226.md +186 -0
  187. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/237/237/346/270/227/351/200/217.md +50 -0
  188. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//345/257/206/347/240/201/346/224/273/345/207/273.md +462 -0
  189. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//346/235/203/351/231/220/346/217/220/345/215/207.md +168 -0
  190. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//346/274/217/346/264/236/345/210/251/347/224/250.md +445 -0
  191. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/263/273/347/273/237/345/221/275/344/273/244.md +410 -0
  192. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/272/242/351/230/237/345/267/245/345/205/267.md +64 -0
  193. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//347/274/226/347/240/201/350/247/243/347/240/201.md +226 -0
  194. package/bundled-skills/pentest-tools/src-hunter/references/payloader/tools//351/232/247/351/201/223/344/273/243/347/220/206.md +84 -0
  195. package/bundled-skills/pentest-tools/src-hunter/references/payloader/waf-bypass.md +6504 -0
  196. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/00-index.md +57 -0
  197. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/api-rest.md +2050 -0
  198. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/arbitrary-x-authz.md +481 -0
  199. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/dos.md +615 -0
  200. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/file-upload.md +1365 -0
  201. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/graphql.md +253 -0
  202. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/http-smuggling.md +924 -0
  203. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/info-disclosure.md +432 -0
  204. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/intranet-postexp.md +4845 -0
  205. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/llm-prompt-injection.md +1394 -0
  206. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/logic-flaws.md +1796 -0
  207. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/mobile.md +397 -0
  208. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/oauth-saml-jwt.md +2504 -0
  209. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/path-traversal.md +1297 -0
  210. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/race-conditions.md +207 -0
  211. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/rce.md +4829 -0
  212. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/sqli.md +1620 -0
  213. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/ssrf-cache-host.md +2098 -0
  214. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/unauth-access.md +330 -0
  215. package/bundled-skills/pentest-tools/src-hunter/references/playbooks/xss.md +1159 -0
  216. package/bundled-skills/pentest-tools/src-hunter/references/templates/report-submission.md +346 -0
  217. package/bundled-skills/pentest-tools/src-hunter/references/tools/mcp-jshook.md +174 -0
  218. package/bundled-skills/protocol-reverse/SKILL.md +108 -0
  219. package/bundled-skills/protocol-reverse/references/protocol-workflow.md +29 -0
  220. package/bundled-skills/pwn-chain/SKILL.md +209 -0
  221. package/bundled-skills/pwn-chain/references/heap-pwn.md +283 -0
  222. package/bundled-skills/pwn-chain/references/kernel-pwn.md +370 -0
  223. package/bundled-skills/pwn-chain/references/stack-pwn.md +312 -0
  224. package/bundled-skills/radare2/SKILL.md +460 -0
  225. package/bundled-skills/radare2/references/cheatsheet.md +129 -0
  226. package/bundled-skills/radio-sdr/SKILL.md +77 -0
  227. package/bundled-skills/radio-sdr/references/sdr-lab-rules.md +6 -0
  228. package/bundled-skills/reverse-browser-automation/SKILL.md +249 -0
  229. package/bundled-skills/reverse-browser-automation/references/playwright-cheatsheet.md +425 -0
  230. package/bundled-skills/reverse-engineering/SKILL.md +213 -0
  231. package/bundled-skills/reverse-engineering/dsl-vm-reverse/SKILL.md +388 -0
  232. package/bundled-skills/reverse-engineering/references/ai-assisted-re.md +149 -0
  233. package/bundled-skills/reverse-engineering/references/anti-analysis.md +836 -0
  234. package/bundled-skills/reverse-engineering/references/awesome-re-resources.md +135 -0
  235. package/bundled-skills/reverse-engineering/references/crypto-decode-tools.md +220 -0
  236. package/bundled-skills/reverse-engineering/references/elf-analysis.md +296 -0
  237. package/bundled-skills/reverse-engineering/references/field-notes.md +540 -0
  238. package/bundled-skills/reverse-engineering/references/go-reverse.md +240 -0
  239. package/bundled-skills/reverse-engineering/references/kernel-driver-reverse.md +298 -0
  240. package/bundled-skills/reverse-engineering/references/languages-compiled.md +587 -0
  241. package/bundled-skills/reverse-engineering/references/languages-platforms.md +486 -0
  242. package/bundled-skills/reverse-engineering/references/languages.md +499 -0
  243. package/bundled-skills/reverse-engineering/references/nonpe-format-cookbook.md +301 -0
  244. package/bundled-skills/reverse-engineering/references/ollvm-deobfuscation.md +501 -0
  245. package/bundled-skills/reverse-engineering/references/patterns-ctf-2.md +397 -0
  246. package/bundled-skills/reverse-engineering/references/patterns-ctf-3.md +719 -0
  247. package/bundled-skills/reverse-engineering/references/patterns-ctf.md +532 -0
  248. package/bundled-skills/reverse-engineering/references/patterns.md +801 -0
  249. package/bundled-skills/reverse-engineering/references/platforms-hardware.md +304 -0
  250. package/bundled-skills/reverse-engineering/references/platforms.md +442 -0
  251. package/bundled-skills/reverse-engineering/references/re-agent-workflow.md +240 -0
  252. package/bundled-skills/reverse-engineering/references/tools-advanced.md +822 -0
  253. package/bundled-skills/reverse-engineering/references/tools-dynamic.md +846 -0
  254. package/bundled-skills/reverse-engineering/references/tools.md +546 -0
  255. package/bundled-skills/supply-chain-security/SKILL.md +180 -0
  256. package/bundled-skills/supply-chain-security/references/cicd-pipeline-security.md +137 -0
  257. package/bundled-skills/supply-chain-security/references/sbom-sca-methodology.md +74 -0
  258. package/bundled-skills/thick-client/SKILL.md +104 -0
  259. package/bundled-skills/thick-client/references/thick-client-checklist.md +9 -0
  260. package/bundled-skills/threat-hunting/SKILL.md +94 -0
  261. package/bundled-skills/threat-hunting/references/hunting-loop.md +5 -0
  262. package/bundled-skills/threat-intelligence/SKILL.md +176 -0
  263. package/bundled-skills/threat-intelligence/references/x-public-intelligence.md +93 -0
  264. package/bundled-skills/tree-ring-memory/SKILL.md +29 -9
  265. package/bundled-skills/wifi-wireless/SKILL.md +80 -0
  266. package/bundled-skills/wifi-wireless/references/wireless-lab-rules.md +6 -0
  267. package/bundled-skills/windows-ad/SKILL.md +109 -0
  268. package/bundled-skills/windows-ad/references/ad-attack-paths.md +12 -0
  269. package/package.json +1 -1
  270. package/skills_index.json +1214 -2
@@ -0,0 +1,12 @@
1
+ # Ghidra 速查
2
+
3
+ | 动作 | 快捷键 / 位置(默认) |
4
+ |------|----------------------|
5
+ | 反编译 | 双击函数 → Decompile |
6
+ | 重命名 | L |
7
+ | 添加注释 | ; |
8
+ | Xrefs | 右键 → References |
9
+ | 搜索字符串 | Search → For Strings |
10
+ | 脚本 | Window → Script Manager |
11
+
12
+ Headless 文档:Ghidra docs → analyzeHeadless README。
@@ -0,0 +1,82 @@
1
+ ---
2
+ name: go-rust-reverse
3
+ description: "Reverse engineer stripped Go and Rust binaries: runtime recognition, pclntab/module metadata recovery, panic-string analysis, and idiomatic decompilation strategies."
4
+ risk: safe
5
+ source: "https://github.com/zhaoxuya520/reverse-skill"
6
+ source_repo: "zhaoxuya520/reverse-skill"
7
+ source_type: community
8
+ date_added: "2026-08-25"
9
+ license: "MIT"
10
+ license_source: "https://github.com/zhaoxuya520/reverse-skill/blob/main/LICENSE"
11
+ ---
12
+ # Go / Rust Binary Reverse Engineering
13
+ ## When to Use
14
+
15
+ - Analyzing a stripped Go or Rust binary where symbols are absent.
16
+ - Recovering function boundaries and names from language-specific metadata.
17
+
18
+
19
+ ## 适用场景
20
+
21
+ - 剥离符号的 Go 恶意软件/工具
22
+ - Rust 发行二进制、panic 字符串驱动分析
23
+ - 与通用 ida/ghidra 互补的语言专用方法
24
+
25
+ ## 工作流
26
+
27
+ ### Go
28
+
29
+ ```text
30
+ □ 识别 go.buildid、runtime 符号残留、pclntab
31
+ □ GoReSym / redress / IDA Go 插件恢复函数名
32
+ □ 注意 interface、slice、string 结构在反编译中的形态
33
+ □ 网络/加密库路径:crypto/* net/http
34
+ ```
35
+
36
+ ### Rust
37
+
38
+ ```text
39
+ □ panic 字符串、rust_begin_unwind、crate 路径暗示
40
+ □ 范型实例化导致的代码膨胀;先定位字符串 xref
41
+ □ 异步/tokio 状态机需结合交叉引用
42
+ ```
43
+
44
+ ### 动态
45
+
46
+ ```text
47
+ □ 仍可用 Frida;注意 Go 栈与调度
48
+ □ 优先日志与配置字符串驱动断点
49
+ ```
50
+
51
+ ## 工具链
52
+
53
+ | 工具 | 用途 |
54
+ |------|------|
55
+ | GoReSym | Go 元数据 |
56
+ | IDA/Ghidra + Go/Rust 插件 | 反编译 |
57
+ | radare2 | 快速字符串 |
58
+ | strings / rabin2 | 分诊 |
59
+
60
+ ## 参考
61
+
62
+ - `references/go-rust-notes.md`
63
+ - `../reverse-engineering/go-reverse.md` `../ida-reverse/` `../ghidra-reverse/`
64
+ - seed: `field-journal/seed-002_go-malware-stripped.md`
65
+
66
+ ## 路由上下文
67
+
68
+ **上游**: MASTER R33
69
+ **下游**: 恶意样本流程 `malware-analysis`;通用 RE `reverse-engineering`
70
+
71
+ ## 任务完成自检
72
+
73
+ - [ ] 是否恢复关键函数名或等价映射?
74
+ - [ ] 是否标注语言运行时证据?
75
+ - [ ] Checklist?
76
+
77
+ ## Limitations
78
+
79
+ - New compiler versions change metadata layouts; tooling must be kept current.
80
+ - Aggressive inlining still yields large, hard-to-read decompilation.
81
+
82
+ > Adapted from [zhaoxuya520/reverse-skill](https://github.com/zhaoxuya520/reverse-skill) (MIT).
@@ -0,0 +1,5 @@
1
+ # Go/Rust 提示
2
+
3
+ Go:先找 `runtime.main` / `main.main`,用 pclntab 恢复。
4
+ Rust:先收集 `src/` 路径字符串与 `Option`/`Result` 处理块。
5
+ 两者均:优先字符串驱动,避免在运行时库中迷路。
@@ -0,0 +1,80 @@
1
+ ---
2
+ name: hardware-security
3
+ description: "Authorized hardware and embedded interface security research: UART/JTAG discovery, debug-pad triage, secure-boot overview, and offline firmware analysis."
4
+ risk: offensive
5
+ source: "https://github.com/zhaoxuya520/reverse-skill"
6
+ source_repo: "zhaoxuya520/reverse-skill"
7
+ source_type: community
8
+ date_added: "2026-08-25"
9
+ license: "MIT"
10
+ license_source: "https://github.com/zhaoxuya520/reverse-skill/blob/main/LICENSE"
11
+ ---
12
+ > **⚠️ AUTHORIZED USE ONLY**
13
+ > This skill is for educational purposes or authorized security assessments only.
14
+ > You must have explicit, written permission from the system owner before using this tool.
15
+ > Misuse of this tool is illegal and strictly prohibited.
16
+
17
+ > **Mandatory confirmation gate**
18
+ > Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
19
+ > 1. Ask the user to state the exact target URL, IP, account, or resource.
20
+ > 2. Ask the user to confirm written authorization and the permitted scope.
21
+ > 3. Show the exact command(s) and explain their expected effect.
22
+ > 4. Wait for explicit confirmation in the current conversation.
23
+ >
24
+ > Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
25
+
26
+ # Hardware / Embedded Interface Security
27
+ ## When to Use
28
+
29
+ - Physical security review of a device you own or are authorized to test.
30
+ - Locating and documenting exposed debug interfaces.
31
+
32
+
33
+ ## 适用场景
34
+
35
+ - UART / JTAG / SWD 调试口发现
36
+ - 启动日志、root shell、引导打断
37
+ - 配合拆机提取 Flash
38
+ - 安全启动/加密 Flash 的可行性评估(非破坏性优先)
39
+
40
+ ## 工作流
41
+
42
+ ```text
43
+ □ 拆解授权设备;拍照标注测试点
44
+ □ 万用表找 GND/VCC/TX/RX;逻辑电平 1.8/3.3/5V
45
+ □ USB-TTL 只读日志;记录波特率
46
+ □ JTAG:枚举 IDCODE;评估是否锁定
47
+ □ 提取镜像 → 交接 firmware-pentest / ghidra
48
+ ```
49
+
50
+ ## 工具链
51
+
52
+ | 工具 | 用途 |
53
+ |------|------|
54
+ | USB-TTL / logic analyzer | UART |
55
+ | J-Link / CMSIS-DAP | 调试 |
56
+ | bus pirate / flipper(实验室) | 多协议 |
57
+ | binwalk / flashrom | 提取 |
58
+
59
+ ## 参考
60
+
61
+ - `references/debug-interface-triage.md`
62
+ - `../firmware-pentest/` `../ot-ics/`
63
+
64
+ ## 路由上下文
65
+
66
+ **上游**: MASTER R34
67
+ **MUST NOT**: 未授权拆机/损坏他人设备
68
+
69
+ ## 任务完成自检
70
+
71
+ - [ ] 是否记录接口电平与引脚图?
72
+ - [ ] 镜像是否哈希保全?
73
+ - [ ] Checklist?
74
+
75
+ ## Limitations
76
+
77
+ - Requires physical access and basic HW tooling (adapters, multimeter).
78
+ - Soldered or disabled debug ports raise the difficulty sharply.
79
+
80
+ > Adapted from [zhaoxuya520/reverse-skill](https://github.com/zhaoxuya520/reverse-skill) (MIT).
@@ -0,0 +1,7 @@
1
+ # 调试接口分诊
2
+
3
+ 1. 找丝印:TX RX GND VCC TDI TDO TCK TMS
4
+ 2. 电压匹配再连接
5
+ 3. 先只读串口日志
6
+ 4. 记录 U-Boot 中断键与环境变量(不随意 saveenv)
7
+ 5. 镜像提取后 SHA256
@@ -0,0 +1,401 @@
1
+ ---
2
+ name: ida-reverse
3
+ description: "Reverse engineer binaries with IDA Pro: decompilation, disassembly, data-flow tracking, cross-references, and IDA MCP automation for deep static analysis of PE/ELF/Mach-O targets."
4
+ risk: safe
5
+ source: "https://github.com/zhaoxuya520/reverse-skill"
6
+ source_repo: "zhaoxuya520/reverse-skill"
7
+ source_type: community
8
+ date_added: "2026-08-25"
9
+ license: "MIT"
10
+ license_source: "https://github.com/zhaoxuya520/reverse-skill/blob/main/LICENSE"
11
+ ---
12
+ # IDA Pro 逆向分析技能
13
+ ## When to Use
14
+
15
+ - Deep static analysis of a compiled target where IDA is available.
16
+ - Tracking data flow or cross-references through large binaries.
17
+
18
+
19
+ ## 已知问题与反思(必读)
20
+
21
+ ### 踩过的坑
22
+
23
+ 1. **`idb_open`(旧名 `idalib_open`)不要直接靠部分 AI 客户端 MCP 调用**
24
+ - 部分代码 AI 客户端 的 MCP 客户端对 open 类工具的 output schema 校验有 BUG
25
+ - 报错:`Structured content does not match the tool's output schema`
26
+ - **解决办法**:使用 `scripts/open.ps1` 脚本通过 HTTP API 直调,绕过 MCP 校验层
27
+ - 当前 ida-pro-mcp 2.x 工具名为 `idb_open` / `idb_list` / `idb_save`(不再是 `idalib_*`)
28
+ - 文件打开后返回 `session_id`(database),后续工具调用需带该 session
29
+
30
+ 2. **`C:\Windows\System32\` 文件无权限打开**
31
+ - idalib 无法直接读取 System32 目录下的文件
32
+ - **解决办法**:`open.ps1` 自动检测并复制到 `临时目录` 目录后再打开
33
+
34
+ 3. **启动服务器命令阻塞对话**
35
+ - `idalib-mcp` 启动后会持续输出 INFO 日志到控制台
36
+ - **解决办法**:使用 `scripts/start.ps1`(`-WindowStyle Hidden` 后台静默启动)
37
+ - 脚本会等待服务就绪后自动退出,不阻塞对话
38
+
39
+ 4. **MCP 服务器名不能用横线**
40
+ - 之前用 `ida-pro-mcp` 作为服务器名,可能引起工具注册问题
41
+ - **当前配置**:服务器名 `idapro`,工具前缀 `idapro_*`
42
+
43
+ 5. **Remote HTTP vs Local Stdio**
44
+ - `type:"local"`(stdio)模式:`idalib_open` 同样有 schema 校验问题
45
+ - `type:"remote"`(HTTP)模式:可以先用脚本直开文件,再用 MCP 工具
46
+ - **当前方案**:Remote HTTP 模式
47
+
48
+ 6. **PR #389 修复了部分 schema 问题**
49
+ - 作者 mrexodia 在 issue #388 后通过 PR #389 合并了修复
50
+ - 修复了 HTTP 模式下的 structuredContent schema,但 部分代码 AI 客户端 侧校验仍有问题
51
+ - 已安装最新 `main` 分支版本
52
+
53
+ 7. **idalib 超时留下孤儿 worker 进程锁文件**
54
+ - 第一次 `open.ps1` 超时后,idalib 的 python worker 子进程可能变成孤儿,咬着 `.id0`/`.id1`/`.nam` 不放
55
+ - 后续任何工具或手动拖入 IDA GUI 都会报"权限不足"
56
+ - **禁止** `taskkill /F /T` 杀进程树——`/T` 会把 GUI `ida.exe` 子进程一起干掉
57
+ - **解决办法**:`start.ps1` 只在端口无人监听、或 `tools/list` 快速返回但缺 `py_eval`(旧 supervisor)时替换 managed supervisor;RPC 超时且 13337 仍在听视为忙,不杀
58
+ - **兜底**:`open.ps1` 检测到旧库被锁自动复制到 Temp 并加 GUID 前缀
59
+
60
+ 8. **带自动分析打开看起来像卡死**
61
+ - `idalib_open(run_auto_analysis=true)` 可能长时间不回包,但后端实际上仍在继续打开和分析
62
+ - 之前用户侧看到的是“PowerShell 一直无输出”,容易误判成脚本卡死
63
+ - **当前解决办法**:`open.ps1` 新增 `-TimeoutSeconds`,并改为后台请求 + 前台轮询 + 定时进度输出
64
+ - 轮询到会话已就绪时会提前返回 `OK:文件名:session_id`,超时则返回 `ERR:open_timeout_xxs`
65
+
66
+ 9. **HTTP MCP 会在登录后静默退出**
67
+ - Cursor/Claude 的 `type: http` 不会代为拉起进程;旧计划任务只在登录时跑一次
68
+ - `pythonw` 无控制台,崩溃时 Application 日志也是空的
69
+ - **解决办法**:`start.ps1` 默认健康则复用;`watchdog.ps1` 每分钟巡检;日志在 `%LOCALAPPDATA%\reverse-skill\ida-mcp\`
70
+ - 安装:`scripts/install-autostart.ps1`。Cursor 若启动时端口还没起来,仍需在 MCP 面板手动刷新一次
71
+
72
+ ### 工作流程原则
73
+
74
+ | 步骤 | 做什么 | 用什么 |
75
+ |------|--------|--------|
76
+ | 1 | 确保 HTTP 服务器在运行 | `scripts/start.ps1`(无参数) |
77
+ | 2 | 打开目标二进制文件 | `scripts/open.ps1 -Path "xxx.exe"` |
78
+ | 3 | 使用 MCP 分析工具 | 直接调用 `idapro_*` / HTTP tools(约 65 个,视版本而定) |
79
+ | 4 | 分析完毕 | 工具自动可用 |
80
+
81
+ ## 脚本资源
82
+
83
+ ### start.ps1 — 启动 MCP HTTP 服务器
84
+
85
+ 路径:`scripts/start.ps1`
86
+
87
+ - 自动解析 `IDADIR`(环境变量 / 便携版桌面路径 / 常见安装路径)
88
+ - 优先用 IDA 自带 `Python314\python.exe -m ida_pro_mcp.idalib_supervisor`
89
+ - 默认先探测 `http://127.0.0.1:13337/mcp`,健康则输出 `OK:<n>:reuse` 并退出
90
+ - 13337 在听但 `tools/list` 超时 → `WARN:busy` / `OK:busy:reuse`,**不杀**(supervisor 单线程,开库时无法回包)
91
+ - 仅在端口无人监听、或快速返回且缺 `py_eval` 时替换 managed supervisor;**永不杀 `ida.exe`,不用 `taskkill /T`**
92
+ - GUI 占用 13337 时输出 `WARN:gui_busy` 并退出,不另起 supervisor
93
+ - 成功输出 `OK:<工具数>`(当前约 66),失败输出 `ERR:timeout`
94
+ - supervisor 日志:`%LOCALAPPDATA%\reverse-skill\ida-mcp\supervisor.log`
95
+ - 服务器在后台运行,不阻塞对话
96
+
97
+ **调用方式**:
98
+ ```
99
+ powershell -File "<skill-root>\ida-reverse\scripts\start.ps1"
100
+ ```
101
+
102
+ ### watchdog.ps1 / install-autostart.ps1 — 保活
103
+
104
+ - `watchdog.ps1`:探测 13337,健康则 `OK:<n>:reuse`,挂了才调用 `start.ps1`
105
+ - `install-autostart.ps1`:注册计划任务 `reverse-skill-ida-mcp`(登录 + 每分钟)
106
+ - 日志:`%LOCALAPPDATA%\reverse-skill\ida-mcp\watchdog.log`
107
+
108
+ ### open.ps1 — 打开二进制文件
109
+
110
+ 路径:`scripts/open.ps1`
111
+
112
+ - 通过 HTTP API 直调 `idb_open`,绕过 MCP schema 校验
113
+ - 自动检测 System32 路径并复制到临时目录
114
+ - 自动清理同名旧数据库文件(`.id0`/`.id1`/`.nam`/`.til`/`.i64`)
115
+ - 旧库被锁时自动降级:复制到 Temp 加 GUID 前缀后打开,不报错
116
+ - 将打开请求放到后台执行,避免长时间同步等待导致脚本无响应
117
+ - 支持 `-TimeoutSeconds`,超时后返回 `ERR:open_timeout_xxs`,不会无限卡住
118
+ - 每隔 10 秒输出一次 `INFO:opening:已用时/超时秒数`,便于判断仍在分析中
119
+ - 成功输出 `OK:文件名:session_id`,降级时加 `(temp copy)` 标记
120
+ - 失败时自动重试走 Temp 副本
121
+
122
+ **调用方式**:
123
+ ```
124
+ powershell -File "<skill-root>\ida-reverse\scripts\open.ps1" -Path "C:\path\to\file.exe"
125
+ ```
126
+
127
+ **可选参数**:
128
+ ```
129
+ # 指定 SessionId
130
+ powershell -File "scripts\open.ps1" -Path "file.exe" -SessionId "my_session"
131
+
132
+ # 跳过自动分析(大文件推荐)
133
+ powershell -File "scripts\open.ps1" -Path "large.exe" -NoAutoAnalysis
134
+
135
+ # 设置超时,避免带自动分析时长时间无返回
136
+ powershell -File "scripts\open.ps1" -Path "file.exe" -TimeoutSeconds 600
137
+ ```
138
+
139
+ **输出约定**:
140
+ ```
141
+ # 分析进行中(每 10 秒输出一次)
142
+ INFO:opening:11/600s
143
+
144
+ # 成功打开
145
+ OK:sample.exe:abcd1234
146
+
147
+ # 成功打开,但因锁文件降级到 Temp 副本
148
+ OK:1234abcd-sample.exe:abcd1234 (temp copy)
149
+
150
+ # 达到超时上限
151
+ ERR:open_timeout_600s
152
+ ```
153
+
154
+ **实测说明**:
155
+ - `Snipaste.exe` 带自动分析实测约 `324s` 才返回成功,属于“分析很久”而不是“脚本死锁”
156
+ - 因此遇到 GUI 程序或较复杂样本时,建议优先显式设置 `-TimeoutSeconds 600`
157
+
158
+ ## 核心工具列表
159
+
160
+ ### 概况分析(第一步)
161
+ - `idapro_survey_binary(detail_level="minimal")` — 快速概况:函数数、字符串、段、入口点、导入分类(加密/网络/文件IO)
162
+ - `idapro_list_funcs(queries)` — 列出函数(分页、按名称过滤)
163
+ - `idapro_list_globals(queries)` — 列出全局变量
164
+ - `idapro_entity_query(kind, filter)` — 统一查询:functions/globals/imports/strings/names
165
+
166
+ ### 反编译与反汇编
167
+ - `idapro_decompile(addr)` — 反编译为伪代码
168
+ - `idapro_disasm(addr, max_instructions=N)` — 反汇编
169
+ - `idapro_analyze_function(addr, include_asm=false)` — 综合分析(伪代码+字符串+常量+调用者+被调用者+块)
170
+ - `idapro_func_profile(queries)` — 函数概要指标
171
+
172
+ ### 交叉引用与数据流
173
+ - `idapro_xrefs_to(addrs)` — 查谁引用目标地址
174
+ - `idapro_xref_query(addr, direction)` — 高级 xref 查询(方向/类型过滤)
175
+ - `idapro_callees(addrs)` — 子函数列表
176
+ - `idapro_callgraph(roots, max_depth)` — 调用图
177
+ - `idapro_trace_data_flow(addr, direction, max_depth)` — 数据流追踪(forward/backward)
178
+
179
+ ### 搜索
180
+ - `idapro_find_regex(pattern, limit)` — 正则搜字符串
181
+ - `idapro_search_text(pattern)` — 在反汇编列表中搜文本
182
+ - `idapro_find_bytes(patterns, limit)` — 字节模式搜索(支持 ?? 通配符)
183
+ - `idapro_find(type, targets)` — 高级搜索(立即数/字符串/引用)
184
+
185
+ ### 内存与数据
186
+ - `idapro_get_bytes(addrs)` — 读原始字节
187
+ - `idapro_get_string(addrs)` — 读字符串
188
+ - `idapro_get_int(queries)` — 读整数值
189
+ - `idapro_get_global_value(queries)` — 读全局变量值
190
+ - `idapro_read_struct(queries)` — 读结构体字段值
191
+ - `idapro_search_structs(filter)` — 搜索结构体
192
+
193
+ ### 修改操作
194
+ - `idapro_set_comments(items)` — 添加注释(反汇编+反编译双向同步)
195
+ - `idapro_append_comments(items)` — 追加注释
196
+ - `idapro_rename(batch)` — 批量重命名(函数/全局/局部/栈变量)
197
+ - `idapro_patch_asm(items)` — Patch 汇编指令
198
+ - `idapro_patch(patches)` — Patch 字节
199
+ - `idapro_define_func(items)` — 定义函数
200
+ - `idapro_undefine(items)` — 取消定义
201
+ - `idapro_define_code(items)` — 将字节转为代码
202
+
203
+ ### 类型系统
204
+ - `idapro_declare_type(decls)` — 声明 C 结构体/枚举/联合体
205
+ - `idapro_set_type(edits)` — 应用类型到函数/全局/局部
206
+ - `idapro_infer_types(addrs)` — 推断类型
207
+ - `idapro_type_query(queries)` — 查询已声明类型
208
+ - `idapro_type_inspect(queries)` — 查看类型详情
209
+
210
+ ### 栈帧
211
+ - `idapro_stack_frame(addrs)` — 查看栈帧变量
212
+ - `idapro_declare_stack(items)` — 声明栈变量
213
+ - `idapro_delete_stack(items)` — 删除栈变量
214
+
215
+ ### 签名
216
+ - `idapro_make_signature(addrs)` — 为地址生成唯一字节签名
217
+ - `idapro_make_signature_for_function(addrs)` — 为函数生成签名
218
+ - `idapro_find_xref_signatures(addrs)` — 为引用地址的代码生成签名
219
+
220
+ ### 调试器(需要 ?ext=dbg)
221
+ - `idapro_open_file(file_path)` — 在 GUI IDA 实例中打开文件
222
+ - 调试器工具默认隐藏,可通过 URL 参数 `?ext=dbg` 启用
223
+
224
+ ### 会话管理(ida-pro-mcp 2.x)
225
+ - `idapro_idb_open` / HTTP `idb_open` — ⚠️ 建议用 `open.ps1` 打开
226
+ - `idapro_idb_list` / HTTP `idb_list` — 列出所有 session
227
+ - `idapro_idb_save` / HTTP `idb_save` — 保存数据库
228
+ - 多数分析工具需要 `database=<session_id>` 参数(open.ps1 输出的 session)
229
+
230
+ ### 其他
231
+ - `idapro_int_convert(inputs)` — 进制转换(**必须用这个,不要自己算进制!**)
232
+ - `idapro_export_funcs(addrs, format)` — 导出函数(json/c_header/prototypes)
233
+ - `idapro_py_eval(code)` — 在 IDA 上下文执行 Python
234
+ - `idapro_server_health()` — 服务器健康检查
235
+ - `idapro_server_warmup()` — 预热子系统(字符串缓存、Hex-Rays 等)
236
+
237
+ ## 逆向分析完整工作流
238
+
239
+ ### Step 1: 启动服务器
240
+
241
+ **路径 A — Headless idalib(需要有效 license)**
242
+ ```
243
+ powershell -File "scripts/start.ps1"
244
+ ```
245
+ 输出 `OK:<工具数>`(当前约 65)表示就绪。
246
+
247
+ **路径 B — GUI + 插件(idalib license 失败或需要交互分析时)**
248
+ ```
249
+ powershell -File "scripts/start-gui.ps1" -Path "C:\目标.exe"
250
+ ```
251
+ 或双击便携版 `Launch-IDA-Pro.cmd`,在 IDA 中打开样本。
252
+
253
+ 确认 Output 窗口出现 `[MCP] ... port=13337` 后,MCP 工具即可用。
254
+
255
+ 通用对接步骤见 `LOCAL-SETUP.md`。
256
+
257
+ ### Step 2: 打开文件
258
+
259
+ Headless:
260
+ ```
261
+ powershell -File "scripts/open.ps1" -Path "C:\目标.exe" -TimeoutSeconds 600
262
+ ```
263
+ 输出 `OK:文件名:session_id` 表示成功(后带 `(temp copy)` 表示自动降级到临时副本)。
264
+
265
+ 若出现 `ERR:idalib_license:...`,改用路径 B(GUI 模式),不要反复重试 open.ps1。
266
+
267
+ GUI 模式:在 IDA 里直接 Open 样本即可,无需 open.ps1。
268
+
269
+ ### Step 3: 全局概览(含导入表硬门)
270
+ ```
271
+ idapro_survey_binary(detail_level="minimal")
272
+ ```
273
+ 关注:
274
+ - 架构(x86/x64/ARM)
275
+ - 入口点(main/WinMain/DllMain)
276
+ - 有趣的字符串(URL、路径、错误消息)
277
+ - **导入分类(MUST)**:加密函数 / 网络 API / 文件操作 / 进程注入 / 注册表 — 必须落成 Evidence(建议 id:`E-imports`),可用 `idapro_entity_query(kind="imports")` 或 survey 输出中的 imports 段
278
+ - **DLL/SYS**:导出表与导入表并列(Evidence `E-exports`)
279
+ - **.NET**:无传统 IAT 时用模块/元数据/托管引用摘要作为等价锚点写入 E-imports 语义槽
280
+ - **干净导入表**:注明动态加载嫌疑,推动动态 API 断点验证
281
+ - 热门函数(高 xref 计数的函数通常是关键逻辑)
282
+
283
+ **硬门禁**:未将 imports 视图/分类摘要(或合法等价锚点)写入 Evidence 前,MUST NOT 进入 Step 4 深挖结论,MUST NOT 声称 survey 完成。导入表为空或查询失败时仍 MUST 记录失败现象。加壳 IAT 修复失败时 MUST 记 `E-iat-repair-fail` 并转动态调试抓 API,禁止静态死磕。用户要求重做导入表/IAT 检查时 MUST 重做被点名步骤(阻塞时可行性门闩:说明+确认;强制则标 quality=unreadable),禁止改换无关步骤。
284
+
285
+ ### Step 4: 深入关键函数
286
+ ```
287
+ idapro_analyze_function(addr="关键函数名")
288
+ ```
289
+ 或:
290
+ ```
291
+ idapro_decompile(addr="函数名")
292
+ idapro_disasm(addr="函数名", max_instructions=50)
293
+ ```
294
+
295
+ ### Step 5: 数据流和交叉引用
296
+ ```
297
+ idapro_xrefs_to(addrs="关键地址/字符串")
298
+ idapro_callgraph(roots=["关键函数"], max_depth=3)
299
+ idapro_trace_data_flow(addr="关键地址", direction="backward", max_depth=5)
300
+ ```
301
+
302
+ ### Step 6: 记录和优化
303
+ ```
304
+ idapro_set_comments(items=[{"addr": "0x140001000", "comment": "你的理解"}])
305
+ idapro_rename(batch={"func": [{"addr": "函数地址", "name": "有意义的名字"}]})
306
+ ```
307
+
308
+ ### Step 7: 输出报告
309
+ 分析完成后,生成 `report.md` 记录发现和步骤。
310
+
311
+ ## Prompt 工程准则
312
+
313
+ 1. **不要手动算进制** — 任何时候需要转换数字,用 `idapro_int_convert`
314
+ 2. **先 survey 后深入** — 先看概况再针对性分析
315
+ 3. **持续加注释和重命名** — 分析过程中不断更新函数名和变量名,提升后续分析的准确性
316
+ 4. **跟踪交叉引用** — 发现有趣的数据/字符串,用 `xrefs_to` 看谁引用了它
317
+ 5. **遇到混淆代码** — 先做字符串解密、导入哈希去除、控制流平坦化去除等预处理
318
+ 6. **C++ STL 代码** — 用 FLIRT/Lumina 识别库函数后,再分析业务逻辑
319
+ 7. **不要暴力破解** — 分析应从反汇编中推导解决方案,用简单 Python 辅助计算
320
+ 8. **遇到 "No database bound"** — 还没有打开任何二进制文件,先执行 `open.ps1`
321
+ 9. **遇到 "Failed to open database"** — 可能是旧数据库文件被锁,`open.ps1` 会自动降级到 Temp 副本(输出含 `(temp copy)` 标记)
322
+ 10. **带自动分析打开 GUI/复杂样本时** — 默认加 `-TimeoutSeconds 600`,不要把长时间 `INFO:opening:...` 误判成脚本卡死
323
+
324
+ ---
325
+
326
+ ## 路由上下文
327
+
328
+ **上游入口**: `skills/SKILL.md`(总控)、`routing.md`
329
+ **上游备选**: `radare2/`(如果不想开 IDA,可以先 r2 快速侦察)
330
+ **下游出口**:
331
+ - 需 Frida 动态验证 → `reverse-engineering/tools-dynamic.md`
332
+ - 需符号执行/angr → `reverse-engineering/tools-dynamic.md`
333
+ - 需通用逆向方法论 → `reverse-engineering/SKILL.md`
334
+
335
+ **同级关联模块**: `radare2/`(IDA 不可用时替代方案)
336
+
337
+ ---
338
+
339
+ ## 按需自举(On-Demand Bootstrap)
340
+
341
+ 本 skill 的入口脚本已接入统一自举系统。
342
+
343
+ ### 自动化能力边界
344
+
345
+ | 工具 | 可自动安装 | 安装方式 | 说明 |
346
+ |------|-----------|---------|------|
347
+ | idalib-mcp | ✓ | pip install (from GitHub) | `start.ps1` 缺失时自动安装 |
348
+ | IDA Pro 本体 | ✗ | 商业软件,需手动安装 | 设置 `IDADIR` 环境变量指向安装目录 |
349
+
350
+ ### 安装步骤(已验证)
351
+
352
+ ```cmd
353
+ # 1. 设置 IDA 路径(替换为你的实际 IDA 安装目录)
354
+ setx IDADIR "<你的IDA安装目录>"
355
+
356
+ # 2. 从 GitHub 安装 ida-pro-mcp(PyPI 上的 ida-mcp 是另一个项目,不要装错!)
357
+ pip install git+https://github.com/mrexodia/ida-pro-mcp.git
358
+
359
+ # 3. 安装 IDA 插件(选择 Streamable HTTP + Global + 全选客户端)
360
+ ida-pro-mcp --install
361
+
362
+ # 4. 重启 IDA Pro,打开目标文件
363
+ # 插件自动监听 127.0.0.1:13337
364
+
365
+ # 5. 验证
366
+ ida-pro-mcp --config
367
+ ```
368
+
369
+ > ⚠️ **注意**:PyPI 上的 `ida-mcp` 包(作者 jtsylve)是另一个项目,不是我们需要的。
370
+ > 必须从 GitHub 安装 `mrexodia/ida-pro-mcp`。
371
+
372
+ ### 自举触发点
373
+
374
+ - `scripts/start.ps1`:缺 `idalib-mcp` 时自动调用 `bootstrap-reverse.ps1`
375
+ - MCP 注册:bootstrap 会自动把 `idapro` 写入 Claude MCP 配置
376
+
377
+ ### 前置条件
378
+
379
+ - IDA Pro 已安装且 `IDADIR` 环境变量已设置(或脚本内默认路径正确)
380
+ - 推荐使用 IDA 自带 Python314 中的 `ida-pro-mcp`(便携版已内置)
381
+ - 常见本机配置:
382
+ - User env `IDADIR` → IDA 安装目录(含 `ida.exe`)
383
+ - 可选 `~\Tools\bin\idalib-mcp.cmd` / `ida-pro-mcp.cmd` 包装器
384
+ - 客户端 MCP 服务器名只留 `idapro` → `http://127.0.0.1:13337/mcp`
385
+
386
+
387
+ ## 任务完成自检(声称完成前 MUST 通过)
388
+
389
+ - [ ] 我是否执行了工作流中的每一步(而不是只阅读)?
390
+ - [ ] survey/imports 是否已写入 Evidence(E-imports 或等价)?DLL/SYS 是否含 E-exports?IAT 失败是否记 E-iat-repair-fail?
391
+ - [ ] 用户若要求重做导入表/IAT,是否重做了同一步?
392
+ - [ ] 我是否基于 `tool-index` 使用了真实工具路径?
393
+ - [ ] 我是否产出了可复现证据(命令/脚本/截图/报告)?
394
+ - [ ] 我是否完成并回写了 RULES 要求的 Checklist 项?
395
+
396
+ ## Limitations
397
+
398
+ - Commercial license required; MCP automation adds setup overhead.
399
+ - Heavily obfuscated targets still demand manual deobfuscation work.
400
+
401
+ > Adapted from [zhaoxuya520/reverse-skill](https://github.com/zhaoxuya520/reverse-skill) (MIT).
@@ -0,0 +1,66 @@
1
+ # IDA ↔ reverse-skill 对接(可移植)
2
+
3
+ 本页是通用步骤,不含某台机器的绝对路径。本机就绪报告留在仓库根目录的 `LOCAL-READINESS.md`(已 gitignore)。
4
+
5
+ ## 目标形态
6
+
7
+ | 项 | 约定 |
8
+ |----|------|
9
+ | IDA 安装目录 | 环境变量 `IDADIR`(目录内有 `ida.exe` 或 `ida.dll`) |
10
+ | HTTP MCP | `http://127.0.0.1:13337/mcp` |
11
+ | 客户端服务器名 | 只留 **`idapro`**(不要同时注册 `ida-pro-mcp`) |
12
+ | 启动 | `scripts/start.ps1`(`--unsafe`,无 `?ext=dbg`) |
13
+ | 开库 | 大文件优先 `scripts/open.ps1`,不要经部分客户端直调 `idb_open` |
14
+
15
+ 两个 MCP 名字指向同一 13337 会把工具注册两遍,并和 idalib worker 抢端口。
16
+
17
+ ## 安装
18
+
19
+ ```powershell
20
+ setx IDADIR "<你的 IDA 安装目录>"
21
+
22
+ # 必须用 mrexodia/ida-pro-mcp,不要装 PyPI 的 ida-mcp
23
+ python -m pip install "git+https://github.com/mrexodia/ida-pro-mcp.git"
24
+
25
+ # 激活 idalib(路径按本机 IDA 调整)
26
+ python "<IDADIR>\idalib\python\py-activate-idalib.py" -d "<IDADIR>"
27
+
28
+ # 装插件 + 客户端配置
29
+ python -m ida_pro_mcp --install --transport streamable-http --scope global
30
+ ```
31
+
32
+ ## 启动与保活
33
+
34
+ `type: http` 的 MCP 条目不会代为拉起进程。13337 没监听时,客户端全部报 error。
35
+
36
+ | 脚本 | 作用 |
37
+ |------|------|
38
+ | `scripts/start.ps1` | 健康则 `OK:<n>:reuse`;端口在听但 RPC 超时视为忙,不杀;只在无人监听或缺 `py_eval` 时替换 managed supervisor;永不杀 `ida.exe` |
39
+ | `scripts/watchdog.ps1` | 每分钟巡检;忙/健康则 reuse;只有 down/stale 才调 `start.ps1` |
40
+ | `scripts/install-autostart.ps1` | 注册计划任务 `reverse-skill-ida-mcp`(登录 + 每分钟) |
41
+ | `scripts/start-gui.ps1` | idalib license 失败时开 GUI 插件 |
42
+ | `scripts/open.ps1` | HTTP 直调 `idb_open`,绕过部分客户端 schema 校验 |
43
+
44
+ 日志:`%LOCALAPPDATA%\reverse-skill\ida-mcp\supervisor.log` 与 `watchdog.log`。
45
+
46
+ ```powershell
47
+ powershell -NoProfile -ExecutionPolicy Bypass -File "skills\ida-reverse\scripts\start.ps1"
48
+ powershell -NoProfile -ExecutionPolicy Bypass -File "skills\ida-reverse\scripts\open.ps1" -Path "C:\path\to\target.exe" -TimeoutSeconds 600
49
+ powershell -NoProfile -ExecutionPolicy Bypass -File "skills\ida-reverse\scripts\install-autostart.ps1"
50
+ ```
51
+
52
+ GUI 占用 13337 但一时没回包时,`start.ps1` 输出 `WARN:gui_busy` 并退出,避免把正在分析的 IDA 干掉。
53
+
54
+ ## 客户端
55
+
56
+ 全部指向 Streamable HTTP:`http://127.0.0.1:13337/mcp`,服务器名 `idapro`。
57
+
58
+ 改配置后必须新开会话。Cursor 在启动时若端口未监听,事后把服务拉起来也**不会自动重连**,需要在 MCP 面板手动刷新。
59
+
60
+ ## 已知注意点
61
+
62
+ 1. System32 文件:`open.ps1` 会复制到临时路径(输出带 `(temp copy)`)
63
+ 2. `idb_open` 勿经部分客户端 MCP 直调
64
+ 3. `start.ps1` 优先 `python -m ida_pro_mcp.idalib_supervisor`,比 `.cmd` 包装更稳
65
+ 4. 正式安装与桌面便携包并存时,以 `IDADIR` 为准
66
+ 5. 不要加 `?ext=dbg`(默认不暴露调试器工具)