thuban 0.4.3 → 0.4.6

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 (747) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +437 -187
  3. package/dist/LICENSE +21 -21
  4. package/dist/README.md +437 -187
  5. package/dist/cli.js +1 -1
  6. package/dist/package.json +64 -63
  7. package/dist/packages/crucible/.golden/golden-master.json +413 -413
  8. package/dist/packages/crucible/mutation-engine.js +1 -1
  9. package/dist/packages/crucible/pattern-learner.js +1 -1
  10. package/dist/packages/crucible/rule-loader.js +1 -1
  11. package/dist/packages/crucible/rules/code-scanner-core.json +281 -147
  12. package/dist/packages/crucible/rules/command-injection.json +411 -411
  13. package/dist/packages/crucible/rules/crypto-misuse.json +35 -35
  14. package/dist/packages/crucible/rules/deserialization.json +152 -152
  15. package/dist/packages/crucible/rules/env-injection.json +46 -46
  16. package/dist/packages/crucible/rules/eval-abuse.json +104 -104
  17. package/dist/packages/crucible/rules/file-upload.json +46 -46
  18. package/dist/packages/crucible/rules/hallucination.json +22 -22
  19. package/dist/packages/crucible/rules/hardcoded-secret.json +397 -397
  20. package/dist/packages/crucible/rules/hardcoded-url.json +13 -13
  21. package/dist/packages/crucible/rules/insecure-crypto.json +302 -302
  22. package/dist/packages/crucible/rules/integer-overflow.json +35 -35
  23. package/dist/packages/crucible/rules/log-injection.json +33 -33
  24. package/dist/packages/crucible/rules/mass-assignment.json +112 -112
  25. package/dist/packages/crucible/rules/open-redirect.json +196 -196
  26. package/dist/packages/crucible/rules/path-traversal.json +422 -422
  27. package/dist/packages/crucible/rules/prototype-pollution.json +22 -22
  28. package/dist/packages/crucible/rules/sql-injection.json +619 -619
  29. package/dist/packages/crucible/rules/ssrf.json +557 -557
  30. package/dist/packages/crucible/rules/timing-attack.json +55 -55
  31. package/dist/packages/crucible/rules/unsafe-block.json +24 -24
  32. package/dist/packages/crucible/rules/xss.json +663 -663
  33. package/dist/packages/crucible/rules/xxe.json +66 -66
  34. package/dist/packages/crucible/rules/yaml-deserialization.json +22 -22
  35. package/dist/packages/crucible/rules/yaml-injection.json +22 -22
  36. package/dist/packages/crucible/seeding-engine.js +1 -1
  37. package/dist/packages/crucible/seeds/csharp/seed-001.cs +28 -28
  38. package/dist/packages/crucible/seeds/csharp/seed-002.cs +24 -24
  39. package/dist/packages/crucible/seeds/csharp/seed-003.cs +30 -30
  40. package/dist/packages/crucible/seeds/csharp/seed-004.cs +31 -31
  41. package/dist/packages/crucible/seeds/csharp/seed-005.cs +28 -28
  42. package/dist/packages/crucible/seeds/csharp/seed-006.cs +25 -25
  43. package/dist/packages/crucible/seeds/csharp/seed-007.cs +34 -34
  44. package/dist/packages/crucible/seeds/csharp/seed-008.cs +23 -23
  45. package/dist/packages/crucible/seeds/csharp/seed-009.cs +27 -27
  46. package/dist/packages/crucible/seeds/csharp/seed-010.cs +29 -29
  47. package/dist/packages/crucible/seeds/csharp/seed-011.cs +32 -32
  48. package/dist/packages/crucible/seeds/csharp/seed-012.cs +27 -27
  49. package/dist/packages/crucible/seeds/csharp/seed-013.cs +27 -27
  50. package/dist/packages/crucible/seeds/csharp/seed-014.cs +26 -26
  51. package/dist/packages/crucible/seeds/csharp/seed-015.cs +33 -33
  52. package/dist/packages/crucible/seeds/csharp/seed-016.cs +25 -25
  53. package/dist/packages/crucible/seeds/csharp/seed-017.cs +22 -22
  54. package/dist/packages/crucible/seeds/csharp/seed-018.cs +26 -26
  55. package/dist/packages/crucible/seeds/csharp/seed-019.cs +25 -25
  56. package/dist/packages/crucible/seeds/csharp/seed-020.cs +22 -22
  57. package/dist/packages/crucible/seeds/csharp/seed-021.cs +28 -28
  58. package/dist/packages/crucible/seeds/csharp/seed-022.cs +25 -25
  59. package/dist/packages/crucible/seeds/csharp/seed-023.cs +33 -33
  60. package/dist/packages/crucible/seeds/csharp/seed-024.cs +31 -31
  61. package/dist/packages/crucible/seeds/csharp/seed-025.cs +31 -31
  62. package/dist/packages/crucible/seeds/csharp/seed-026.cs +25 -25
  63. package/dist/packages/crucible/seeds/csharp/seed-027.cs +29 -29
  64. package/dist/packages/crucible/seeds/csharp/seed-028.cs +25 -25
  65. package/dist/packages/crucible/seeds/csharp/seed-029.cs +27 -27
  66. package/dist/packages/crucible/seeds/csharp/seed-030.cs +27 -27
  67. package/dist/packages/crucible/seeds/csharp/seed-031.cs +28 -28
  68. package/dist/packages/crucible/seeds/csharp/seed-032.cs +30 -30
  69. package/dist/packages/crucible/seeds/csharp/seed-033.cs +27 -27
  70. package/dist/packages/crucible/seeds/csharp/seed-034.cs +25 -25
  71. package/dist/packages/crucible/seeds/csharp/seed-035.cs +32 -32
  72. package/dist/packages/crucible/seeds/csharp/seed-036.cs +28 -28
  73. package/dist/packages/crucible/seeds/csharp/seed-037.cs +29 -29
  74. package/dist/packages/crucible/seeds/csharp/seed-038.cs +28 -28
  75. package/dist/packages/crucible/seeds/csharp/seed-039.cs +29 -29
  76. package/dist/packages/crucible/seeds/csharp/seed-040.cs +28 -28
  77. package/dist/packages/crucible/seeds/csharp/seed-041.cs +33 -33
  78. package/dist/packages/crucible/seeds/csharp/seed-042.cs +27 -27
  79. package/dist/packages/crucible/seeds/csharp/seed-043.cs +27 -27
  80. package/dist/packages/crucible/seeds/csharp/seed-044.cs +25 -25
  81. package/dist/packages/crucible/seeds/csharp/seed-045.cs +30 -30
  82. package/dist/packages/crucible/seeds/csharp/seed-046.cs +29 -29
  83. package/dist/packages/crucible/seeds/csharp/seed-047.cs +26 -26
  84. package/dist/packages/crucible/seeds/csharp/seed-048.cs +31 -31
  85. package/dist/packages/crucible/seeds/csharp/seed-049.cs +27 -27
  86. package/dist/packages/crucible/seeds/csharp/seed-050.cs +30 -30
  87. package/dist/packages/crucible/seeds/csharp/seed-051.cs +34 -34
  88. package/dist/packages/crucible/seeds/csharp/seed-052.cs +36 -36
  89. package/dist/packages/crucible/seeds/go/seed-001.go +29 -29
  90. package/dist/packages/crucible/seeds/go/seed-002.go +27 -27
  91. package/dist/packages/crucible/seeds/go/seed-003.go +31 -31
  92. package/dist/packages/crucible/seeds/go/seed-004.go +27 -27
  93. package/dist/packages/crucible/seeds/go/seed-005.go +27 -27
  94. package/dist/packages/crucible/seeds/go/seed-006.go +29 -29
  95. package/dist/packages/crucible/seeds/go/seed-007.go +24 -24
  96. package/dist/packages/crucible/seeds/go/seed-008.go +25 -25
  97. package/dist/packages/crucible/seeds/go/seed-009.go +30 -30
  98. package/dist/packages/crucible/seeds/go/seed-010.go +35 -35
  99. package/dist/packages/crucible/seeds/go/seed-011.go +24 -24
  100. package/dist/packages/crucible/seeds/go/seed-012.go +24 -24
  101. package/dist/packages/crucible/seeds/go/seed-013.go +31 -31
  102. package/dist/packages/crucible/seeds/go/seed-014.go +35 -35
  103. package/dist/packages/crucible/seeds/go/seed-015.go +25 -25
  104. package/dist/packages/crucible/seeds/go/seed-016.go +19 -19
  105. package/dist/packages/crucible/seeds/go/seed-017.go +23 -23
  106. package/dist/packages/crucible/seeds/go/seed-018.go +23 -23
  107. package/dist/packages/crucible/seeds/go/seed-019.go +22 -22
  108. package/dist/packages/crucible/seeds/go/seed-020.go +31 -31
  109. package/dist/packages/crucible/seeds/go/seed-021.go +22 -22
  110. package/dist/packages/crucible/seeds/go/seed-022.go +29 -29
  111. package/dist/packages/crucible/seeds/go/seed-023.go +26 -26
  112. package/dist/packages/crucible/seeds/go/seed-024.go +27 -27
  113. package/dist/packages/crucible/seeds/go/seed-025.go +23 -23
  114. package/dist/packages/crucible/seeds/go/seed-026.go +29 -29
  115. package/dist/packages/crucible/seeds/go/seed-027.go +26 -26
  116. package/dist/packages/crucible/seeds/go/seed-028.go +23 -23
  117. package/dist/packages/crucible/seeds/go/seed-029.go +28 -28
  118. package/dist/packages/crucible/seeds/go/seed-030.go +27 -27
  119. package/dist/packages/crucible/seeds/go/seed-031.go +28 -28
  120. package/dist/packages/crucible/seeds/go/seed-032.go +27 -27
  121. package/dist/packages/crucible/seeds/go/seed-033.go +29 -29
  122. package/dist/packages/crucible/seeds/go/seed-034.go +22 -22
  123. package/dist/packages/crucible/seeds/go/seed-035.go +32 -32
  124. package/dist/packages/crucible/seeds/go/seed-036.go +27 -27
  125. package/dist/packages/crucible/seeds/go/seed-037.go +27 -27
  126. package/dist/packages/crucible/seeds/go/seed-038.go +27 -27
  127. package/dist/packages/crucible/seeds/go/seed-039.go +26 -26
  128. package/dist/packages/crucible/seeds/go/seed-040.go +37 -37
  129. package/dist/packages/crucible/seeds/go/seed-041.go +23 -23
  130. package/dist/packages/crucible/seeds/go/seed-042.go +32 -32
  131. package/dist/packages/crucible/seeds/go/seed-043.go +35 -35
  132. package/dist/packages/crucible/seeds/go/seed-044.go +25 -25
  133. package/dist/packages/crucible/seeds/go/seed-045.go +26 -26
  134. package/dist/packages/crucible/seeds/go/seed-046.go +34 -34
  135. package/dist/packages/crucible/seeds/go/seed-047.go +26 -26
  136. package/dist/packages/crucible/seeds/go/seed-048.go +29 -29
  137. package/dist/packages/crucible/seeds/go/seed-049.go +24 -24
  138. package/dist/packages/crucible/seeds/go/seed-050.go +27 -27
  139. package/dist/packages/crucible/seeds/go/seed-051.go +38 -38
  140. package/dist/packages/crucible/seeds/go/seed-052.go +27 -27
  141. package/dist/packages/crucible/seeds/java/seed-001.java +23 -23
  142. package/dist/packages/crucible/seeds/java/seed-002.java +22 -22
  143. package/dist/packages/crucible/seeds/java/seed-003.java +28 -28
  144. package/dist/packages/crucible/seeds/java/seed-004.java +26 -26
  145. package/dist/packages/crucible/seeds/java/seed-005.java +33 -33
  146. package/dist/packages/crucible/seeds/java/seed-006.java +22 -22
  147. package/dist/packages/crucible/seeds/java/seed-007.java +21 -21
  148. package/dist/packages/crucible/seeds/java/seed-008.java +29 -29
  149. package/dist/packages/crucible/seeds/java/seed-009.java +24 -24
  150. package/dist/packages/crucible/seeds/java/seed-010.java +30 -30
  151. package/dist/packages/crucible/seeds/java/seed-011.java +25 -25
  152. package/dist/packages/crucible/seeds/java/seed-012.java +20 -20
  153. package/dist/packages/crucible/seeds/java/seed-013.java +26 -26
  154. package/dist/packages/crucible/seeds/java/seed-014.java +23 -23
  155. package/dist/packages/crucible/seeds/java/seed-015.java +25 -25
  156. package/dist/packages/crucible/seeds/java/seed-016.java +22 -22
  157. package/dist/packages/crucible/seeds/java/seed-017.java +24 -24
  158. package/dist/packages/crucible/seeds/java/seed-018.java +24 -24
  159. package/dist/packages/crucible/seeds/java/seed-019.java +38 -38
  160. package/dist/packages/crucible/seeds/java/seed-020.java +24 -24
  161. package/dist/packages/crucible/seeds/java/seed-021.java +22 -22
  162. package/dist/packages/crucible/seeds/java/seed-022.java +22 -22
  163. package/dist/packages/crucible/seeds/java/seed-023.java +22 -22
  164. package/dist/packages/crucible/seeds/java/seed-024.java +25 -25
  165. package/dist/packages/crucible/seeds/java/seed-025.java +27 -27
  166. package/dist/packages/crucible/seeds/java/seed-026.java +25 -25
  167. package/dist/packages/crucible/seeds/java/seed-027.java +22 -22
  168. package/dist/packages/crucible/seeds/java/seed-028.java +21 -21
  169. package/dist/packages/crucible/seeds/java/seed-029.java +28 -28
  170. package/dist/packages/crucible/seeds/java/seed-030.java +27 -27
  171. package/dist/packages/crucible/seeds/java/seed-031.java +23 -23
  172. package/dist/packages/crucible/seeds/java/seed-032.java +22 -22
  173. package/dist/packages/crucible/seeds/java/seed-033.java +24 -24
  174. package/dist/packages/crucible/seeds/java/seed-034.java +24 -24
  175. package/dist/packages/crucible/seeds/java/seed-035.java +29 -29
  176. package/dist/packages/crucible/seeds/java/seed-036.java +25 -25
  177. package/dist/packages/crucible/seeds/java/seed-037.java +30 -30
  178. package/dist/packages/crucible/seeds/java/seed-038.java +29 -29
  179. package/dist/packages/crucible/seeds/java/seed-039.java +26 -26
  180. package/dist/packages/crucible/seeds/java/seed-040.java +31 -31
  181. package/dist/packages/crucible/seeds/java/seed-041.java +20 -20
  182. package/dist/packages/crucible/seeds/java/seed-042.java +26 -26
  183. package/dist/packages/crucible/seeds/java/seed-043.java +31 -31
  184. package/dist/packages/crucible/seeds/java/seed-044.java +22 -22
  185. package/dist/packages/crucible/seeds/java/seed-045.java +25 -25
  186. package/dist/packages/crucible/seeds/java/seed-046.java +22 -22
  187. package/dist/packages/crucible/seeds/java/seed-047.java +26 -26
  188. package/dist/packages/crucible/seeds/java/seed-048.java +24 -24
  189. package/dist/packages/crucible/seeds/java/seed-049.java +28 -28
  190. package/dist/packages/crucible/seeds/java/seed-050.java +29 -29
  191. package/dist/packages/crucible/seeds/java/seed-051.java +25 -25
  192. package/dist/packages/crucible/seeds/java/seed-052.java +32 -32
  193. package/dist/packages/crucible/seeds/js/seed-001.js +27 -27
  194. package/dist/packages/crucible/seeds/js/seed-002.js +28 -28
  195. package/dist/packages/crucible/seeds/js/seed-003.js +30 -30
  196. package/dist/packages/crucible/seeds/js/seed-004.js +28 -28
  197. package/dist/packages/crucible/seeds/js/seed-005.js +31 -31
  198. package/dist/packages/crucible/seeds/js/seed-006.js +28 -28
  199. package/dist/packages/crucible/seeds/js/seed-007.js +26 -26
  200. package/dist/packages/crucible/seeds/js/seed-008.js +30 -30
  201. package/dist/packages/crucible/seeds/js/seed-009.js +30 -30
  202. package/dist/packages/crucible/seeds/js/seed-010.js +29 -29
  203. package/dist/packages/crucible/seeds/js/seed-011.js +34 -34
  204. package/dist/packages/crucible/seeds/js/seed-012.js +32 -32
  205. package/dist/packages/crucible/seeds/js/seed-013.js +29 -29
  206. package/dist/packages/crucible/seeds/js/seed-014.js +29 -29
  207. package/dist/packages/crucible/seeds/js/seed-015.js +31 -31
  208. package/dist/packages/crucible/seeds/js/seed-016.js +31 -31
  209. package/dist/packages/crucible/seeds/js/seed-017.js +30 -30
  210. package/dist/packages/crucible/seeds/js/seed-018.js +29 -29
  211. package/dist/packages/crucible/seeds/js/seed-019.js +32 -32
  212. package/dist/packages/crucible/seeds/js/seed-020.js +29 -29
  213. package/dist/packages/crucible/seeds/js/seed-021.js +31 -31
  214. package/dist/packages/crucible/seeds/js/seed-022.js +31 -31
  215. package/dist/packages/crucible/seeds/js/seed-023.js +29 -29
  216. package/dist/packages/crucible/seeds/js/seed-024.js +29 -29
  217. package/dist/packages/crucible/seeds/js/seed-025.js +34 -34
  218. package/dist/packages/crucible/seeds/js/seed-026.js +31 -31
  219. package/dist/packages/crucible/seeds/js/seed-027.js +31 -31
  220. package/dist/packages/crucible/seeds/js/seed-028.js +33 -33
  221. package/dist/packages/crucible/seeds/js/seed-029.js +33 -33
  222. package/dist/packages/crucible/seeds/js/seed-030.js +30 -30
  223. package/dist/packages/crucible/seeds/js/seed-031.js +31 -31
  224. package/dist/packages/crucible/seeds/js/seed-032.js +34 -34
  225. package/dist/packages/crucible/seeds/js/seed-033.js +33 -33
  226. package/dist/packages/crucible/seeds/js/seed-034.js +33 -33
  227. package/dist/packages/crucible/seeds/js/seed-035.js +30 -30
  228. package/dist/packages/crucible/seeds/js/seed-036.js +30 -30
  229. package/dist/packages/crucible/seeds/js/seed-037.js +29 -29
  230. package/dist/packages/crucible/seeds/js/seed-038.js +31 -31
  231. package/dist/packages/crucible/seeds/js/seed-039.js +34 -34
  232. package/dist/packages/crucible/seeds/js/seed-040.js +35 -35
  233. package/dist/packages/crucible/seeds/js/seed-041.js +32 -32
  234. package/dist/packages/crucible/seeds/js/seed-042.js +32 -32
  235. package/dist/packages/crucible/seeds/js/seed-043.js +27 -27
  236. package/dist/packages/crucible/seeds/js/seed-044.js +29 -29
  237. package/dist/packages/crucible/seeds/js/seed-045.js +33 -33
  238. package/dist/packages/crucible/seeds/js/seed-046.js +33 -33
  239. package/dist/packages/crucible/seeds/js/seed-047.js +29 -29
  240. package/dist/packages/crucible/seeds/js/seed-048.js +29 -29
  241. package/dist/packages/crucible/seeds/js/seed-049.js +34 -34
  242. package/dist/packages/crucible/seeds/js/seed-050.js +34 -34
  243. package/dist/packages/crucible/seeds/js/seed-051.js +30 -30
  244. package/dist/packages/crucible/seeds/js/seed-052.js +30 -30
  245. package/dist/packages/crucible/seeds/js/seed-053.js +26 -26
  246. package/dist/packages/crucible/seeds/js/seed-054.js +35 -35
  247. package/dist/packages/crucible/seeds/js/seed-055.js +33 -33
  248. package/dist/packages/crucible/seeds/kotlin/seed-001.kt +24 -24
  249. package/dist/packages/crucible/seeds/kotlin/seed-002.kt +27 -27
  250. package/dist/packages/crucible/seeds/kotlin/seed-003.kt +29 -29
  251. package/dist/packages/crucible/seeds/kotlin/seed-004.kt +24 -24
  252. package/dist/packages/crucible/seeds/kotlin/seed-005.kt +29 -29
  253. package/dist/packages/crucible/seeds/kotlin/seed-006.kt +21 -21
  254. package/dist/packages/crucible/seeds/kotlin/seed-007.kt +23 -23
  255. package/dist/packages/crucible/seeds/kotlin/seed-008.kt +25 -25
  256. package/dist/packages/crucible/seeds/kotlin/seed-009.kt +21 -21
  257. package/dist/packages/crucible/seeds/kotlin/seed-010.kt +28 -28
  258. package/dist/packages/crucible/seeds/kotlin/seed-011.kt +22 -22
  259. package/dist/packages/crucible/seeds/kotlin/seed-012.kt +25 -25
  260. package/dist/packages/crucible/seeds/kotlin/seed-013.kt +30 -30
  261. package/dist/packages/crucible/seeds/kotlin/seed-014.kt +27 -27
  262. package/dist/packages/crucible/seeds/kotlin/seed-015.kt +24 -24
  263. package/dist/packages/crucible/seeds/kotlin/seed-016.kt +28 -28
  264. package/dist/packages/crucible/seeds/kotlin/seed-017.kt +33 -33
  265. package/dist/packages/crucible/seeds/kotlin/seed-018.kt +31 -31
  266. package/dist/packages/crucible/seeds/kotlin/seed-019.kt +28 -28
  267. package/dist/packages/crucible/seeds/kotlin/seed-020.kt +31 -31
  268. package/dist/packages/crucible/seeds/kotlin/seed-021.kt +34 -34
  269. package/dist/packages/crucible/seeds/kotlin/seed-022.kt +29 -29
  270. package/dist/packages/crucible/seeds/kotlin/seed-023.kt +20 -20
  271. package/dist/packages/crucible/seeds/kotlin/seed-024.kt +23 -23
  272. package/dist/packages/crucible/seeds/kotlin/seed-025.kt +23 -23
  273. package/dist/packages/crucible/seeds/kotlin/seed-026.kt +26 -26
  274. package/dist/packages/crucible/seeds/kotlin/seed-027.kt +29 -29
  275. package/dist/packages/crucible/seeds/kotlin/seed-028.kt +24 -24
  276. package/dist/packages/crucible/seeds/kotlin/seed-029.kt +27 -27
  277. package/dist/packages/crucible/seeds/kotlin/seed-030.kt +26 -26
  278. package/dist/packages/crucible/seeds/kotlin/seed-031.kt +28 -28
  279. package/dist/packages/crucible/seeds/kotlin/seed-032.kt +29 -29
  280. package/dist/packages/crucible/seeds/kotlin/seed-033.kt +30 -30
  281. package/dist/packages/crucible/seeds/kotlin/seed-034.kt +26 -26
  282. package/dist/packages/crucible/seeds/kotlin/seed-035.kt +33 -33
  283. package/dist/packages/crucible/seeds/kotlin/seed-036.kt +25 -25
  284. package/dist/packages/crucible/seeds/kotlin/seed-037.kt +26 -26
  285. package/dist/packages/crucible/seeds/kotlin/seed-038.kt +25 -25
  286. package/dist/packages/crucible/seeds/kotlin/seed-039.kt +29 -29
  287. package/dist/packages/crucible/seeds/kotlin/seed-040.kt +28 -28
  288. package/dist/packages/crucible/seeds/kotlin/seed-041.kt +31 -31
  289. package/dist/packages/crucible/seeds/kotlin/seed-042.kt +27 -27
  290. package/dist/packages/crucible/seeds/kotlin/seed-043.kt +26 -26
  291. package/dist/packages/crucible/seeds/kotlin/seed-044.kt +27 -27
  292. package/dist/packages/crucible/seeds/kotlin/seed-045.kt +27 -27
  293. package/dist/packages/crucible/seeds/kotlin/seed-046.kt +33 -33
  294. package/dist/packages/crucible/seeds/kotlin/seed-047.kt +32 -32
  295. package/dist/packages/crucible/seeds/kotlin/seed-048.kt +20 -20
  296. package/dist/packages/crucible/seeds/kotlin/seed-049.kt +23 -23
  297. package/dist/packages/crucible/seeds/kotlin/seed-050.kt +19 -19
  298. package/dist/packages/crucible/seeds/php/seed-001.php +23 -23
  299. package/dist/packages/crucible/seeds/php/seed-002.php +18 -18
  300. package/dist/packages/crucible/seeds/php/seed-003.php +25 -25
  301. package/dist/packages/crucible/seeds/php/seed-004.php +21 -21
  302. package/dist/packages/crucible/seeds/php/seed-005.php +21 -21
  303. package/dist/packages/crucible/seeds/php/seed-006.php +21 -21
  304. package/dist/packages/crucible/seeds/php/seed-007.php +18 -18
  305. package/dist/packages/crucible/seeds/php/seed-008.php +19 -19
  306. package/dist/packages/crucible/seeds/php/seed-009.php +24 -24
  307. package/dist/packages/crucible/seeds/php/seed-010.php +24 -24
  308. package/dist/packages/crucible/seeds/php/seed-011.php +18 -18
  309. package/dist/packages/crucible/seeds/php/seed-012.php +24 -24
  310. package/dist/packages/crucible/seeds/php/seed-013.php +23 -23
  311. package/dist/packages/crucible/seeds/php/seed-014.php +20 -20
  312. package/dist/packages/crucible/seeds/php/seed-015.php +18 -18
  313. package/dist/packages/crucible/seeds/php/seed-016.php +18 -18
  314. package/dist/packages/crucible/seeds/php/seed-017.php +18 -18
  315. package/dist/packages/crucible/seeds/php/seed-018.php +17 -17
  316. package/dist/packages/crucible/seeds/php/seed-019.php +24 -24
  317. package/dist/packages/crucible/seeds/php/seed-020.php +19 -19
  318. package/dist/packages/crucible/seeds/php/seed-021.php +22 -22
  319. package/dist/packages/crucible/seeds/php/seed-022.php +15 -15
  320. package/dist/packages/crucible/seeds/php/seed-023.php +24 -24
  321. package/dist/packages/crucible/seeds/php/seed-024.php +22 -22
  322. package/dist/packages/crucible/seeds/php/seed-025.php +20 -20
  323. package/dist/packages/crucible/seeds/php/seed-026.php +22 -22
  324. package/dist/packages/crucible/seeds/php/seed-027.php +15 -15
  325. package/dist/packages/crucible/seeds/php/seed-028.php +15 -15
  326. package/dist/packages/crucible/seeds/php/seed-029.php +21 -21
  327. package/dist/packages/crucible/seeds/php/seed-030.php +21 -21
  328. package/dist/packages/crucible/seeds/php/seed-031.php +23 -23
  329. package/dist/packages/crucible/seeds/php/seed-032.php +18 -18
  330. package/dist/packages/crucible/seeds/php/seed-033.php +18 -18
  331. package/dist/packages/crucible/seeds/php/seed-034.php +24 -24
  332. package/dist/packages/crucible/seeds/php/seed-035.php +22 -22
  333. package/dist/packages/crucible/seeds/php/seed-036.php +17 -17
  334. package/dist/packages/crucible/seeds/php/seed-037.php +19 -19
  335. package/dist/packages/crucible/seeds/php/seed-038.php +20 -20
  336. package/dist/packages/crucible/seeds/php/seed-039.php +15 -15
  337. package/dist/packages/crucible/seeds/php/seed-040.php +21 -21
  338. package/dist/packages/crucible/seeds/php/seed-041.php +20 -20
  339. package/dist/packages/crucible/seeds/php/seed-042.php +21 -21
  340. package/dist/packages/crucible/seeds/php/seed-043.php +21 -21
  341. package/dist/packages/crucible/seeds/php/seed-044.php +25 -25
  342. package/dist/packages/crucible/seeds/php/seed-045.php +25 -25
  343. package/dist/packages/crucible/seeds/php/seed-046.php +20 -20
  344. package/dist/packages/crucible/seeds/php/seed-047.php +21 -21
  345. package/dist/packages/crucible/seeds/php/seed-048.php +19 -19
  346. package/dist/packages/crucible/seeds/php/seed-049.php +18 -18
  347. package/dist/packages/crucible/seeds/php/seed-050.php +20 -20
  348. package/dist/packages/crucible/seeds/python/seed-001.py +33 -33
  349. package/dist/packages/crucible/seeds/python/seed-002.py +39 -39
  350. package/dist/packages/crucible/seeds/python/seed-003.py +31 -31
  351. package/dist/packages/crucible/seeds/python/seed-004.py +33 -33
  352. package/dist/packages/crucible/seeds/python/seed-005.py +33 -33
  353. package/dist/packages/crucible/seeds/python/seed-006.py +34 -34
  354. package/dist/packages/crucible/seeds/python/seed-007.py +33 -33
  355. package/dist/packages/crucible/seeds/python/seed-008.py +38 -38
  356. package/dist/packages/crucible/seeds/python/seed-009.py +38 -38
  357. package/dist/packages/crucible/seeds/python/seed-010.py +42 -42
  358. package/dist/packages/crucible/seeds/python/seed-011.py +30 -30
  359. package/dist/packages/crucible/seeds/python/seed-012.py +35 -35
  360. package/dist/packages/crucible/seeds/python/seed-013.py +33 -33
  361. package/dist/packages/crucible/seeds/python/seed-014.py +40 -40
  362. package/dist/packages/crucible/seeds/python/seed-015.py +33 -33
  363. package/dist/packages/crucible/seeds/python/seed-016.py +34 -34
  364. package/dist/packages/crucible/seeds/python/seed-017.py +34 -34
  365. package/dist/packages/crucible/seeds/python/seed-018.py +30 -30
  366. package/dist/packages/crucible/seeds/python/seed-019.py +33 -33
  367. package/dist/packages/crucible/seeds/python/seed-020.py +37 -37
  368. package/dist/packages/crucible/seeds/python/seed-021 2.py +37 -37
  369. package/dist/packages/crucible/seeds/python/seed-021.py +37 -37
  370. package/dist/packages/crucible/seeds/python/seed-022 2.py +34 -34
  371. package/dist/packages/crucible/seeds/python/seed-022.py +34 -34
  372. package/dist/packages/crucible/seeds/python/seed-023 2.py +37 -37
  373. package/dist/packages/crucible/seeds/python/seed-023.py +37 -37
  374. package/dist/packages/crucible/seeds/python/seed-024 2.py +38 -38
  375. package/dist/packages/crucible/seeds/python/seed-024.py +38 -38
  376. package/dist/packages/crucible/seeds/python/seed-025 2.py +40 -40
  377. package/dist/packages/crucible/seeds/python/seed-025.py +40 -40
  378. package/dist/packages/crucible/seeds/python/seed-026 2.py +35 -35
  379. package/dist/packages/crucible/seeds/python/seed-026.py +35 -35
  380. package/dist/packages/crucible/seeds/python/seed-027 2.py +35 -35
  381. package/dist/packages/crucible/seeds/python/seed-027.py +35 -35
  382. package/dist/packages/crucible/seeds/python/seed-028 2.py +42 -42
  383. package/dist/packages/crucible/seeds/python/seed-028.py +42 -42
  384. package/dist/packages/crucible/seeds/python/seed-029.py +42 -42
  385. package/dist/packages/crucible/seeds/python/seed-030 2.py +37 -37
  386. package/dist/packages/crucible/seeds/python/seed-030.py +37 -37
  387. package/dist/packages/crucible/seeds/python/seed-031 2.py +34 -34
  388. package/dist/packages/crucible/seeds/python/seed-031.py +34 -34
  389. package/dist/packages/crucible/seeds/python/seed-032.py +33 -33
  390. package/dist/packages/crucible/seeds/python/seed-033.py +32 -32
  391. package/dist/packages/crucible/seeds/python/seed-034.py +38 -38
  392. package/dist/packages/crucible/seeds/python/seed-035.py +35 -35
  393. package/dist/packages/crucible/seeds/python/seed-036 2.py +33 -33
  394. package/dist/packages/crucible/seeds/python/seed-036.py +33 -33
  395. package/dist/packages/crucible/seeds/python/seed-037 2.py +41 -41
  396. package/dist/packages/crucible/seeds/python/seed-037.py +41 -41
  397. package/dist/packages/crucible/seeds/python/seed-038 2.py +33 -33
  398. package/dist/packages/crucible/seeds/python/seed-038.py +33 -33
  399. package/dist/packages/crucible/seeds/python/seed-039 2.py +39 -39
  400. package/dist/packages/crucible/seeds/python/seed-039.py +39 -39
  401. package/dist/packages/crucible/seeds/python/seed-040 2.py +39 -39
  402. package/dist/packages/crucible/seeds/python/seed-040.py +39 -39
  403. package/dist/packages/crucible/seeds/python/seed-041 2.py +37 -37
  404. package/dist/packages/crucible/seeds/python/seed-041.py +37 -37
  405. package/dist/packages/crucible/seeds/python/seed-042 2.py +38 -38
  406. package/dist/packages/crucible/seeds/python/seed-042.py +38 -38
  407. package/dist/packages/crucible/seeds/python/seed-043 2.py +32 -32
  408. package/dist/packages/crucible/seeds/python/seed-043.py +32 -32
  409. package/dist/packages/crucible/seeds/python/seed-044 2.py +38 -38
  410. package/dist/packages/crucible/seeds/python/seed-044.py +38 -38
  411. package/dist/packages/crucible/seeds/python/seed-045 2.py +36 -36
  412. package/dist/packages/crucible/seeds/python/seed-045.py +36 -36
  413. package/dist/packages/crucible/seeds/python/seed-046 2.py +33 -33
  414. package/dist/packages/crucible/seeds/python/seed-046.py +33 -33
  415. package/dist/packages/crucible/seeds/python/seed-047 2.py +44 -44
  416. package/dist/packages/crucible/seeds/python/seed-047.py +44 -44
  417. package/dist/packages/crucible/seeds/python/seed-048 2.py +35 -35
  418. package/dist/packages/crucible/seeds/python/seed-048.py +35 -35
  419. package/dist/packages/crucible/seeds/python/seed-049 2.py +39 -39
  420. package/dist/packages/crucible/seeds/python/seed-049.py +39 -39
  421. package/dist/packages/crucible/seeds/python/seed-050 2.py +39 -39
  422. package/dist/packages/crucible/seeds/python/seed-050.py +39 -39
  423. package/dist/packages/crucible/seeds/python/seed-051 2.py +38 -38
  424. package/dist/packages/crucible/seeds/python/seed-051.py +38 -38
  425. package/dist/packages/crucible/seeds/python/seed-052 2.py +41 -41
  426. package/dist/packages/crucible/seeds/python/seed-052.py +41 -41
  427. package/dist/packages/crucible/seeds/ruby/seed-001 2.rb +15 -15
  428. package/dist/packages/crucible/seeds/ruby/seed-001.rb +15 -15
  429. package/dist/packages/crucible/seeds/ruby/seed-002 2.rb +22 -22
  430. package/dist/packages/crucible/seeds/ruby/seed-002.rb +22 -22
  431. package/dist/packages/crucible/seeds/ruby/seed-003 2.rb +25 -25
  432. package/dist/packages/crucible/seeds/ruby/seed-003.rb +25 -25
  433. package/dist/packages/crucible/seeds/ruby/seed-004 2.rb +17 -17
  434. package/dist/packages/crucible/seeds/ruby/seed-004.rb +17 -17
  435. package/dist/packages/crucible/seeds/ruby/seed-005 2.rb +21 -21
  436. package/dist/packages/crucible/seeds/ruby/seed-005.rb +21 -21
  437. package/dist/packages/crucible/seeds/ruby/seed-006 2.rb +17 -17
  438. package/dist/packages/crucible/seeds/ruby/seed-006.rb +17 -17
  439. package/dist/packages/crucible/seeds/ruby/seed-007 2.rb +16 -16
  440. package/dist/packages/crucible/seeds/ruby/seed-007.rb +16 -16
  441. package/dist/packages/crucible/seeds/ruby/seed-008 2.rb +18 -18
  442. package/dist/packages/crucible/seeds/ruby/seed-008.rb +18 -18
  443. package/dist/packages/crucible/seeds/ruby/seed-009 2.rb +20 -20
  444. package/dist/packages/crucible/seeds/ruby/seed-009.rb +20 -20
  445. package/dist/packages/crucible/seeds/ruby/seed-010 2.rb +24 -24
  446. package/dist/packages/crucible/seeds/ruby/seed-010.rb +24 -24
  447. package/dist/packages/crucible/seeds/ruby/seed-011 2.rb +21 -21
  448. package/dist/packages/crucible/seeds/ruby/seed-011.rb +21 -21
  449. package/dist/packages/crucible/seeds/ruby/seed-012 2.rb +22 -22
  450. package/dist/packages/crucible/seeds/ruby/seed-012.rb +22 -22
  451. package/dist/packages/crucible/seeds/ruby/seed-013 2.rb +21 -21
  452. package/dist/packages/crucible/seeds/ruby/seed-013.rb +21 -21
  453. package/dist/packages/crucible/seeds/ruby/seed-014 2.rb +16 -16
  454. package/dist/packages/crucible/seeds/ruby/seed-014.rb +16 -16
  455. package/dist/packages/crucible/seeds/ruby/seed-015 2.rb +18 -18
  456. package/dist/packages/crucible/seeds/ruby/seed-015.rb +18 -18
  457. package/dist/packages/crucible/seeds/ruby/seed-016 2.rb +17 -17
  458. package/dist/packages/crucible/seeds/ruby/seed-016.rb +17 -17
  459. package/dist/packages/crucible/seeds/ruby/seed-017 2.rb +25 -25
  460. package/dist/packages/crucible/seeds/ruby/seed-017.rb +25 -25
  461. package/dist/packages/crucible/seeds/ruby/seed-018 2.rb +23 -23
  462. package/dist/packages/crucible/seeds/ruby/seed-018.rb +23 -23
  463. package/dist/packages/crucible/seeds/ruby/seed-019 2.rb +20 -20
  464. package/dist/packages/crucible/seeds/ruby/seed-019.rb +20 -20
  465. package/dist/packages/crucible/seeds/ruby/seed-020 2.rb +17 -17
  466. package/dist/packages/crucible/seeds/ruby/seed-020.rb +17 -17
  467. package/dist/packages/crucible/seeds/ruby/seed-021 2.rb +20 -20
  468. package/dist/packages/crucible/seeds/ruby/seed-021.rb +20 -20
  469. package/dist/packages/crucible/seeds/ruby/seed-022 2.rb +21 -21
  470. package/dist/packages/crucible/seeds/ruby/seed-022.rb +21 -21
  471. package/dist/packages/crucible/seeds/ruby/seed-023 2.rb +19 -19
  472. package/dist/packages/crucible/seeds/ruby/seed-023.rb +19 -19
  473. package/dist/packages/crucible/seeds/ruby/seed-024 2.rb +17 -17
  474. package/dist/packages/crucible/seeds/ruby/seed-024.rb +17 -17
  475. package/dist/packages/crucible/seeds/ruby/seed-025 2.rb +17 -17
  476. package/dist/packages/crucible/seeds/ruby/seed-025.rb +17 -17
  477. package/dist/packages/crucible/seeds/ruby/seed-026 2.rb +18 -18
  478. package/dist/packages/crucible/seeds/ruby/seed-026.rb +18 -18
  479. package/dist/packages/crucible/seeds/ruby/seed-027 2.rb +21 -21
  480. package/dist/packages/crucible/seeds/ruby/seed-027.rb +21 -21
  481. package/dist/packages/crucible/seeds/ruby/seed-028 2.rb +22 -22
  482. package/dist/packages/crucible/seeds/ruby/seed-028.rb +22 -22
  483. package/dist/packages/crucible/seeds/ruby/seed-029 2.rb +19 -19
  484. package/dist/packages/crucible/seeds/ruby/seed-029.rb +19 -19
  485. package/dist/packages/crucible/seeds/ruby/seed-030 2.rb +20 -20
  486. package/dist/packages/crucible/seeds/ruby/seed-030.rb +20 -20
  487. package/dist/packages/crucible/seeds/ruby/seed-031 2.rb +17 -17
  488. package/dist/packages/crucible/seeds/ruby/seed-031.rb +17 -17
  489. package/dist/packages/crucible/seeds/ruby/seed-032 2.rb +22 -22
  490. package/dist/packages/crucible/seeds/ruby/seed-032.rb +22 -22
  491. package/dist/packages/crucible/seeds/ruby/seed-033 2.rb +18 -18
  492. package/dist/packages/crucible/seeds/ruby/seed-033.rb +18 -18
  493. package/dist/packages/crucible/seeds/ruby/seed-034 2.rb +19 -19
  494. package/dist/packages/crucible/seeds/ruby/seed-034.rb +19 -19
  495. package/dist/packages/crucible/seeds/ruby/seed-035 2.rb +19 -19
  496. package/dist/packages/crucible/seeds/ruby/seed-035.rb +19 -19
  497. package/dist/packages/crucible/seeds/ruby/seed-036 2.rb +18 -18
  498. package/dist/packages/crucible/seeds/ruby/seed-036.rb +18 -18
  499. package/dist/packages/crucible/seeds/ruby/seed-037 2.rb +21 -21
  500. package/dist/packages/crucible/seeds/ruby/seed-037.rb +21 -21
  501. package/dist/packages/crucible/seeds/ruby/seed-038 2.rb +24 -24
  502. package/dist/packages/crucible/seeds/ruby/seed-038.rb +24 -24
  503. package/dist/packages/crucible/seeds/ruby/seed-039 2.rb +24 -24
  504. package/dist/packages/crucible/seeds/ruby/seed-039.rb +24 -24
  505. package/dist/packages/crucible/seeds/ruby/seed-040 2.rb +22 -22
  506. package/dist/packages/crucible/seeds/ruby/seed-040.rb +22 -22
  507. package/dist/packages/crucible/seeds/ruby/seed-041 2.rb +23 -23
  508. package/dist/packages/crucible/seeds/ruby/seed-041.rb +23 -23
  509. package/dist/packages/crucible/seeds/ruby/seed-042 2.rb +25 -25
  510. package/dist/packages/crucible/seeds/ruby/seed-042.rb +25 -25
  511. package/dist/packages/crucible/seeds/ruby/seed-043 2.rb +23 -23
  512. package/dist/packages/crucible/seeds/ruby/seed-043.rb +23 -23
  513. package/dist/packages/crucible/seeds/ruby/seed-044 2.rb +16 -16
  514. package/dist/packages/crucible/seeds/ruby/seed-044.rb +16 -16
  515. package/dist/packages/crucible/seeds/ruby/seed-045 2.rb +22 -22
  516. package/dist/packages/crucible/seeds/ruby/seed-045.rb +22 -22
  517. package/dist/packages/crucible/seeds/ruby/seed-046 2.rb +27 -27
  518. package/dist/packages/crucible/seeds/ruby/seed-046.rb +27 -27
  519. package/dist/packages/crucible/seeds/ruby/seed-047 2.rb +26 -26
  520. package/dist/packages/crucible/seeds/ruby/seed-047.rb +26 -26
  521. package/dist/packages/crucible/seeds/ruby/seed-048 2.rb +24 -24
  522. package/dist/packages/crucible/seeds/ruby/seed-048.rb +24 -24
  523. package/dist/packages/crucible/seeds/ruby/seed-049 2.rb +20 -20
  524. package/dist/packages/crucible/seeds/ruby/seed-049.rb +20 -20
  525. package/dist/packages/crucible/seeds/ruby/seed-050 2.rb +27 -27
  526. package/dist/packages/crucible/seeds/ruby/seed-050.rb +27 -27
  527. package/dist/packages/crucible/seeds/rust/seed-001 2.rs +25 -25
  528. package/dist/packages/crucible/seeds/rust/seed-001.rs +25 -25
  529. package/dist/packages/crucible/seeds/rust/seed-002 2.rs +20 -20
  530. package/dist/packages/crucible/seeds/rust/seed-002.rs +20 -20
  531. package/dist/packages/crucible/seeds/rust/seed-003 2.rs +23 -23
  532. package/dist/packages/crucible/seeds/rust/seed-003.rs +23 -23
  533. package/dist/packages/crucible/seeds/rust/seed-004 2.rs +21 -21
  534. package/dist/packages/crucible/seeds/rust/seed-004.rs +21 -21
  535. package/dist/packages/crucible/seeds/rust/seed-005 2.rs +21 -21
  536. package/dist/packages/crucible/seeds/rust/seed-005.rs +21 -21
  537. package/dist/packages/crucible/seeds/rust/seed-006 2.rs +24 -24
  538. package/dist/packages/crucible/seeds/rust/seed-006.rs +24 -24
  539. package/dist/packages/crucible/seeds/rust/seed-007 2.rs +20 -20
  540. package/dist/packages/crucible/seeds/rust/seed-007.rs +20 -20
  541. package/dist/packages/crucible/seeds/rust/seed-008 2.rs +19 -19
  542. package/dist/packages/crucible/seeds/rust/seed-008.rs +19 -19
  543. package/dist/packages/crucible/seeds/rust/seed-009 2.rs +28 -28
  544. package/dist/packages/crucible/seeds/rust/seed-009.rs +28 -28
  545. package/dist/packages/crucible/seeds/rust/seed-010 2.rs +28 -28
  546. package/dist/packages/crucible/seeds/rust/seed-010.rs +28 -28
  547. package/dist/packages/crucible/seeds/rust/seed-011 2.rs +25 -25
  548. package/dist/packages/crucible/seeds/rust/seed-011.rs +25 -25
  549. package/dist/packages/crucible/seeds/rust/seed-012 2.rs +31 -31
  550. package/dist/packages/crucible/seeds/rust/seed-012.rs +31 -31
  551. package/dist/packages/crucible/seeds/rust/seed-013 2.rs +27 -27
  552. package/dist/packages/crucible/seeds/rust/seed-013.rs +27 -27
  553. package/dist/packages/crucible/seeds/rust/seed-014 2.rs +30 -30
  554. package/dist/packages/crucible/seeds/rust/seed-014.rs +30 -30
  555. package/dist/packages/crucible/seeds/rust/seed-015 2.rs +33 -33
  556. package/dist/packages/crucible/seeds/rust/seed-015.rs +33 -33
  557. package/dist/packages/crucible/seeds/rust/seed-016 2.rs +22 -22
  558. package/dist/packages/crucible/seeds/rust/seed-016.rs +22 -22
  559. package/dist/packages/crucible/seeds/rust/seed-017 2.rs +28 -28
  560. package/dist/packages/crucible/seeds/rust/seed-017.rs +28 -28
  561. package/dist/packages/crucible/seeds/rust/seed-018 2.rs +21 -21
  562. package/dist/packages/crucible/seeds/rust/seed-018.rs +21 -21
  563. package/dist/packages/crucible/seeds/rust/seed-019 2.rs +36 -36
  564. package/dist/packages/crucible/seeds/rust/seed-019.rs +36 -36
  565. package/dist/packages/crucible/seeds/rust/seed-020 2.rs +27 -27
  566. package/dist/packages/crucible/seeds/rust/seed-020.rs +27 -27
  567. package/dist/packages/crucible/seeds/rust/seed-021 2.rs +26 -26
  568. package/dist/packages/crucible/seeds/rust/seed-021.rs +26 -26
  569. package/dist/packages/crucible/seeds/rust/seed-022 2.rs +23 -23
  570. package/dist/packages/crucible/seeds/rust/seed-022.rs +23 -23
  571. package/dist/packages/crucible/seeds/rust/seed-023 2.rs +22 -22
  572. package/dist/packages/crucible/seeds/rust/seed-023.rs +22 -22
  573. package/dist/packages/crucible/seeds/rust/seed-024 2.rs +24 -24
  574. package/dist/packages/crucible/seeds/rust/seed-024.rs +24 -24
  575. package/dist/packages/crucible/seeds/rust/seed-025 2.rs +29 -29
  576. package/dist/packages/crucible/seeds/rust/seed-025.rs +29 -29
  577. package/dist/packages/crucible/seeds/rust/seed-026 2.rs +23 -23
  578. package/dist/packages/crucible/seeds/rust/seed-026.rs +23 -23
  579. package/dist/packages/crucible/seeds/rust/seed-027 2.rs +24 -24
  580. package/dist/packages/crucible/seeds/rust/seed-027.rs +24 -24
  581. package/dist/packages/crucible/seeds/rust/seed-028 2.rs +25 -25
  582. package/dist/packages/crucible/seeds/rust/seed-028.rs +25 -25
  583. package/dist/packages/crucible/seeds/rust/seed-029 2.rs +25 -25
  584. package/dist/packages/crucible/seeds/rust/seed-029.rs +25 -25
  585. package/dist/packages/crucible/seeds/rust/seed-030 2.rs +30 -30
  586. package/dist/packages/crucible/seeds/rust/seed-030.rs +30 -30
  587. package/dist/packages/crucible/seeds/rust/seed-031 2.rs +22 -22
  588. package/dist/packages/crucible/seeds/rust/seed-031.rs +22 -22
  589. package/dist/packages/crucible/seeds/rust/seed-032 2.rs +25 -25
  590. package/dist/packages/crucible/seeds/rust/seed-032.rs +25 -25
  591. package/dist/packages/crucible/seeds/rust/seed-033 2.rs +25 -25
  592. package/dist/packages/crucible/seeds/rust/seed-033.rs +25 -25
  593. package/dist/packages/crucible/seeds/rust/seed-034 2.rs +20 -20
  594. package/dist/packages/crucible/seeds/rust/seed-034.rs +20 -20
  595. package/dist/packages/crucible/seeds/rust/seed-035 2.rs +28 -28
  596. package/dist/packages/crucible/seeds/rust/seed-035.rs +28 -28
  597. package/dist/packages/crucible/seeds/rust/seed-036 2.rs +26 -26
  598. package/dist/packages/crucible/seeds/rust/seed-036.rs +26 -26
  599. package/dist/packages/crucible/seeds/rust/seed-037 2.rs +31 -31
  600. package/dist/packages/crucible/seeds/rust/seed-037.rs +31 -31
  601. package/dist/packages/crucible/seeds/rust/seed-038 2.rs +25 -25
  602. package/dist/packages/crucible/seeds/rust/seed-038.rs +25 -25
  603. package/dist/packages/crucible/seeds/rust/seed-039 2.rs +28 -28
  604. package/dist/packages/crucible/seeds/rust/seed-039.rs +28 -28
  605. package/dist/packages/crucible/seeds/rust/seed-040 2.rs +27 -27
  606. package/dist/packages/crucible/seeds/rust/seed-040.rs +27 -27
  607. package/dist/packages/crucible/seeds/rust/seed-041 2.rs +32 -32
  608. package/dist/packages/crucible/seeds/rust/seed-041.rs +32 -32
  609. package/dist/packages/crucible/seeds/rust/seed-042 2.rs +27 -27
  610. package/dist/packages/crucible/seeds/rust/seed-042.rs +27 -27
  611. package/dist/packages/crucible/seeds/rust/seed-043 2.rs +29 -29
  612. package/dist/packages/crucible/seeds/rust/seed-043.rs +29 -29
  613. package/dist/packages/crucible/seeds/rust/seed-044 2.rs +25 -25
  614. package/dist/packages/crucible/seeds/rust/seed-044.rs +25 -25
  615. package/dist/packages/crucible/seeds/rust/seed-045 2.rs +28 -28
  616. package/dist/packages/crucible/seeds/rust/seed-045.rs +28 -28
  617. package/dist/packages/crucible/seeds/rust/seed-046 2.rs +25 -25
  618. package/dist/packages/crucible/seeds/rust/seed-046.rs +25 -25
  619. package/dist/packages/crucible/seeds/rust/seed-047 2.rs +34 -34
  620. package/dist/packages/crucible/seeds/rust/seed-047.rs +34 -34
  621. package/dist/packages/crucible/seeds/rust/seed-048 2.rs +21 -21
  622. package/dist/packages/crucible/seeds/rust/seed-048.rs +21 -21
  623. package/dist/packages/crucible/seeds/rust/seed-049 2.rs +26 -26
  624. package/dist/packages/crucible/seeds/rust/seed-049.rs +26 -26
  625. package/dist/packages/crucible/seeds/rust/seed-050 2.rs +23 -23
  626. package/dist/packages/crucible/seeds/rust/seed-050.rs +23 -23
  627. package/dist/packages/crucible/seeds/ts/seed-001 2.ts +32 -32
  628. package/dist/packages/crucible/seeds/ts/seed-001.ts +32 -32
  629. package/dist/packages/crucible/seeds/ts/seed-002 2.ts +34 -34
  630. package/dist/packages/crucible/seeds/ts/seed-002.ts +34 -34
  631. package/dist/packages/crucible/seeds/ts/seed-003 2.ts +28 -28
  632. package/dist/packages/crucible/seeds/ts/seed-003.ts +28 -28
  633. package/dist/packages/crucible/seeds/ts/seed-004 2.ts +34 -34
  634. package/dist/packages/crucible/seeds/ts/seed-004.ts +34 -34
  635. package/dist/packages/crucible/seeds/ts/seed-005 2.ts +32 -32
  636. package/dist/packages/crucible/seeds/ts/seed-005.ts +32 -32
  637. package/dist/packages/crucible/seeds/ts/seed-006 2.ts +31 -31
  638. package/dist/packages/crucible/seeds/ts/seed-006.ts +31 -31
  639. package/dist/packages/crucible/seeds/ts/seed-007 2.ts +28 -28
  640. package/dist/packages/crucible/seeds/ts/seed-007.ts +28 -28
  641. package/dist/packages/crucible/seeds/ts/seed-008 2.ts +40 -40
  642. package/dist/packages/crucible/seeds/ts/seed-008.ts +40 -40
  643. package/dist/packages/crucible/seeds/ts/seed-009 2.ts +31 -31
  644. package/dist/packages/crucible/seeds/ts/seed-009.ts +31 -31
  645. package/dist/packages/crucible/seeds/ts/seed-010 2.ts +33 -33
  646. package/dist/packages/crucible/seeds/ts/seed-010.ts +33 -33
  647. package/dist/packages/crucible/seeds/ts/seed-011 2.ts +29 -29
  648. package/dist/packages/crucible/seeds/ts/seed-011.ts +29 -29
  649. package/dist/packages/crucible/seeds/ts/seed-012 2.ts +34 -34
  650. package/dist/packages/crucible/seeds/ts/seed-012.ts +34 -34
  651. package/dist/packages/crucible/seeds/ts/seed-013 2.ts +31 -31
  652. package/dist/packages/crucible/seeds/ts/seed-013.ts +31 -31
  653. package/dist/packages/crucible/seeds/ts/seed-014 2.ts +36 -36
  654. package/dist/packages/crucible/seeds/ts/seed-014.ts +36 -36
  655. package/dist/packages/crucible/seeds/ts/seed-015 2.ts +31 -31
  656. package/dist/packages/crucible/seeds/ts/seed-015.ts +31 -31
  657. package/dist/packages/crucible/seeds/ts/seed-016 2.ts +37 -37
  658. package/dist/packages/crucible/seeds/ts/seed-016.ts +37 -37
  659. package/dist/packages/crucible/seeds/ts/seed-017 2.ts +44 -44
  660. package/dist/packages/crucible/seeds/ts/seed-017.ts +44 -44
  661. package/dist/packages/crucible/seeds/ts/seed-018 2.ts +33 -33
  662. package/dist/packages/crucible/seeds/ts/seed-018.ts +33 -33
  663. package/dist/packages/crucible/seeds/ts/seed-019 2.ts +32 -32
  664. package/dist/packages/crucible/seeds/ts/seed-019.ts +32 -32
  665. package/dist/packages/crucible/seeds/ts/seed-020 2.ts +33 -33
  666. package/dist/packages/crucible/seeds/ts/seed-020.ts +33 -33
  667. package/dist/packages/crucible/seeds/ts/seed-021 2.ts +33 -33
  668. package/dist/packages/crucible/seeds/ts/seed-021.ts +33 -33
  669. package/dist/packages/crucible/seeds/ts/seed-022 2.ts +34 -34
  670. package/dist/packages/crucible/seeds/ts/seed-022.ts +34 -34
  671. package/dist/packages/crucible/seeds/ts/seed-023 2.ts +33 -33
  672. package/dist/packages/crucible/seeds/ts/seed-023.ts +33 -33
  673. package/dist/packages/crucible/seeds/ts/seed-024 2.ts +35 -35
  674. package/dist/packages/crucible/seeds/ts/seed-024.ts +35 -35
  675. package/dist/packages/crucible/seeds/ts/seed-025 2.ts +29 -29
  676. package/dist/packages/crucible/seeds/ts/seed-025.ts +29 -29
  677. package/dist/packages/crucible/seeds/ts/seed-026 2.ts +36 -36
  678. package/dist/packages/crucible/seeds/ts/seed-026.ts +36 -36
  679. package/dist/packages/crucible/seeds/ts/seed-027 2.ts +30 -30
  680. package/dist/packages/crucible/seeds/ts/seed-027.ts +30 -30
  681. package/dist/packages/crucible/seeds/ts/seed-028 2.ts +32 -32
  682. package/dist/packages/crucible/seeds/ts/seed-028.ts +32 -32
  683. package/dist/packages/crucible/seeds/ts/seed-029 2.ts +34 -34
  684. package/dist/packages/crucible/seeds/ts/seed-029.ts +34 -34
  685. package/dist/packages/crucible/seeds/ts/seed-030 2.ts +37 -37
  686. package/dist/packages/crucible/seeds/ts/seed-030.ts +37 -37
  687. package/dist/packages/crucible/seeds/ts/seed-031 2.ts +31 -31
  688. package/dist/packages/crucible/seeds/ts/seed-031.ts +31 -31
  689. package/dist/packages/crucible/seeds/ts/seed-032 2.ts +32 -32
  690. package/dist/packages/crucible/seeds/ts/seed-032.ts +32 -32
  691. package/dist/packages/crucible/seeds/ts/seed-033 2.ts +32 -32
  692. package/dist/packages/crucible/seeds/ts/seed-033.ts +32 -32
  693. package/dist/packages/crucible/seeds/ts/seed-034 2.ts +34 -34
  694. package/dist/packages/crucible/seeds/ts/seed-034.ts +34 -34
  695. package/dist/packages/crucible/seeds/ts/seed-035 2.ts +29 -29
  696. package/dist/packages/crucible/seeds/ts/seed-035.ts +29 -29
  697. package/dist/packages/crucible/seeds/ts/seed-036 2.ts +34 -34
  698. package/dist/packages/crucible/seeds/ts/seed-036.ts +34 -34
  699. package/dist/packages/crucible/seeds/ts/seed-037 2.ts +33 -33
  700. package/dist/packages/crucible/seeds/ts/seed-037.ts +33 -33
  701. package/dist/packages/crucible/seeds/ts/seed-038 2.ts +29 -29
  702. package/dist/packages/crucible/seeds/ts/seed-038.ts +29 -29
  703. package/dist/packages/crucible/seeds/ts/seed-039 2.ts +35 -35
  704. package/dist/packages/crucible/seeds/ts/seed-039.ts +35 -35
  705. package/dist/packages/crucible/seeds/ts/seed-040 2.ts +31 -31
  706. package/dist/packages/crucible/seeds/ts/seed-040.ts +31 -31
  707. package/dist/packages/crucible/seeds/ts/seed-041 2.ts +29 -29
  708. package/dist/packages/crucible/seeds/ts/seed-041.ts +29 -29
  709. package/dist/packages/crucible/seeds/ts/seed-042 2.ts +33 -33
  710. package/dist/packages/crucible/seeds/ts/seed-042.ts +33 -33
  711. package/dist/packages/crucible/seeds/ts/seed-043 2.ts +32 -32
  712. package/dist/packages/crucible/seeds/ts/seed-043.ts +32 -32
  713. package/dist/packages/crucible/seeds/ts/seed-044 2.ts +36 -36
  714. package/dist/packages/crucible/seeds/ts/seed-044.ts +36 -36
  715. package/dist/packages/crucible/seeds/ts/seed-045 2.ts +39 -39
  716. package/dist/packages/crucible/seeds/ts/seed-045.ts +39 -39
  717. package/dist/packages/crucible/seeds/ts/seed-046 2.ts +41 -41
  718. package/dist/packages/crucible/seeds/ts/seed-046.ts +41 -41
  719. package/dist/packages/crucible/seeds/ts/seed-047 2.ts +33 -33
  720. package/dist/packages/crucible/seeds/ts/seed-047.ts +33 -33
  721. package/dist/packages/crucible/seeds/ts/seed-048 2.ts +33 -33
  722. package/dist/packages/crucible/seeds/ts/seed-048.ts +33 -33
  723. package/dist/packages/crucible/seeds/ts/seed-049 2.ts +34 -34
  724. package/dist/packages/crucible/seeds/ts/seed-049.ts +34 -34
  725. package/dist/packages/crucible/seeds/ts/seed-050 2.ts +41 -41
  726. package/dist/packages/crucible/seeds/ts/seed-050.ts +41 -41
  727. package/dist/packages/crucible/seeds/ts/seed-051 2.ts +34 -34
  728. package/dist/packages/crucible/seeds/ts/seed-051.ts +34 -34
  729. package/dist/packages/crucible/seeds/ts/seed-052 2.ts +36 -36
  730. package/dist/packages/crucible/seeds/ts/seed-052.ts +36 -36
  731. package/dist/packages/scanner/ai-confidence-scorer.js +1 -1
  732. package/dist/packages/scanner/baseline-manager.js +1 -1
  733. package/dist/packages/scanner/code-scanner.js +1 -1
  734. package/dist/packages/scanner/codebase-passport.js +1 -1
  735. package/dist/packages/scanner/copy-paste-detector.js +1 -1
  736. package/dist/packages/scanner/dependency-graph.js +1 -1
  737. package/dist/packages/scanner/drift-detector.js +1 -1
  738. package/dist/packages/scanner/export-verifier.js +1 -1
  739. package/dist/packages/scanner/file-collector.js +1 -1
  740. package/dist/packages/scanner/ghost-code-detector.js +1 -1
  741. package/dist/packages/scanner/hallucination-detector.js +1 -1
  742. package/dist/packages/scanner/license-manager.js +1 -1
  743. package/dist/packages/scanner/pre-commit-gate.js +1 -1
  744. package/dist/packages/scanner/read-file.js +1 -0
  745. package/dist/packages/scanner/taint-tracker.js +1 -1
  746. package/dist/packages/scanner/tech-debt-analyzer.js +1 -1
  747. package/package.json +64 -63
@@ -1,619 +1,619 @@
1
- [
2
- {
3
- "id": "SQL001",
4
- "pattern": "(?:SELECT|INSERT|UPDATE|DELETE).*(?:['\"`]\\s*\\+|\\+\\s*['\"`]|fmt\\.Sprintf|%\\s*\\w+)",
5
- "flags": "i",
6
- "category": "sql_injection",
7
- "description": "SQL injection",
8
- "language": [
9
- "js",
10
- "ts",
11
- "python",
12
- "java",
13
- "go",
14
- "csharp",
15
- "php",
16
- "ruby",
17
- "rust",
18
- "kotlin"
19
- ],
20
- "severity": "critical"
21
- },
22
- {
23
- "id": "SQL002",
24
- "pattern": "(?:SELECT|INSERT|UPDATE|DELETE).*'%s'|'%s'.*(?:SELECT|WHERE)",
25
- "flags": "i",
26
- "category": "sql_injection",
27
- "description": "SQL injection",
28
- "language": [
29
- "js",
30
- "ts",
31
- "python",
32
- "java",
33
- "go",
34
- "csharp",
35
- "php",
36
- "ruby",
37
- "rust",
38
- "kotlin"
39
- ],
40
- "severity": "critical"
41
- },
42
- {
43
- "id": "SQL003",
44
- "pattern": "SELECT.*\\$\\{|INSERT.*\\$\\{|UPDATE.*\\$\\{|DELETE.*\\$\\{",
45
- "flags": "i",
46
- "category": "sql_injection",
47
- "description": "SQL injection",
48
- "language": [
49
- "js",
50
- "ts",
51
- "python",
52
- "java",
53
- "go",
54
- "csharp",
55
- "php",
56
- "ruby",
57
- "rust",
58
- "kotlin"
59
- ],
60
- "severity": "critical"
61
- },
62
- {
63
- "id": "SQL004",
64
- "pattern": "query\\s*=\\s*['\"`][^'\"`]*['\"`]\\s*\\+|f['\"].*(?:SELECT|WHERE)",
65
- "flags": "i",
66
- "category": "sql_injection",
67
- "description": "SQL injection",
68
- "language": [
69
- "js",
70
- "ts",
71
- "python",
72
- "java",
73
- "go",
74
- "csharp",
75
- "php",
76
- "ruby",
77
- "rust",
78
- "kotlin"
79
- ],
80
- "severity": "critical"
81
- },
82
- {
83
- "id": "SQL005",
84
- "pattern": "\\$[\"'](?:[^\"']*(?:SELECT|INSERT|UPDATE|DELETE|WHERE|FROM)[^\"']*)[\"']",
85
- "flags": "i",
86
- "category": "sql_injection",
87
- "description": "SQL injection: C# string interpolation ($\"...\") in SQL",
88
- "language": [
89
- "csharp"
90
- ],
91
- "severity": "critical"
92
- },
93
- {
94
- "id": "SQL006",
95
- "pattern": "(?:rawQuery|rawSql|raw_query|execute|db\\.query)\\s*\\(\\s*['\"`].*\\$[{a-zA-Z]",
96
- "flags": "i",
97
- "category": "sql_injection",
98
- "description": "SQL injection: rawQuery / rawSQL / execute with string interpolation",
99
- "language": [
100
- "js",
101
- "ts",
102
- "python",
103
- "java",
104
- "go",
105
- "csharp",
106
- "php",
107
- "ruby",
108
- "rust",
109
- "kotlin"
110
- ],
111
- "severity": "critical"
112
- },
113
- {
114
- "id": "SQL007",
115
- "pattern": "(?:rawQuery|execSQL|executeQuery|execute)\\s*\\(\\s*['\"`][^'\"`,]*['\"`]\\s*\\.format\\s*\\(",
116
- "flags": "i",
117
- "category": "sql_injection",
118
- "description": "SQL injection: rawQuery / rawSQL / execute with string interpolation",
119
- "language": [
120
- "js",
121
- "ts",
122
- "python",
123
- "java",
124
- "go",
125
- "csharp",
126
- "php",
127
- "ruby",
128
- "rust",
129
- "kotlin"
130
- ],
131
- "severity": "critical"
132
- },
133
- {
134
- "id": "SQL008",
135
- "pattern": "rawQuery\\s*\\(\\s*[\"'].*\\$[a-zA-Z{]",
136
- "flags": "",
137
- "category": "sql_injection",
138
- "description": "SQL injection: Kotlin rawQuery with string interpolation ($variable)",
139
- "language": [
140
- "kotlin"
141
- ],
142
- "severity": "critical"
143
- },
144
- {
145
- "id": "SQL009",
146
- "pattern": "(?:connection|ActiveRecord::Base\\.connection)\\.execute\\s*\\([^)]*#\\{",
147
- "flags": "i",
148
- "category": "sql_injection",
149
- "description": "SQL injection: Ruby connection.execute with string interpolation",
150
- "language": [
151
- "ruby"
152
- ],
153
- "severity": "critical"
154
- },
155
- {
156
- "id": "SQL010",
157
- "pattern": "cursor\\.execute\\s*\\([^)]*\\.format\\s*\\(|cursor\\.execute\\s*\\([^)]*%s",
158
- "flags": "i",
159
- "category": "sql_injection",
160
- "description": "SQL injection: Django/Python cursor.execute with .format()",
161
- "language": [
162
- "python"
163
- ],
164
- "severity": "critical"
165
- },
166
- {
167
- "id": "SQL011",
168
- "pattern": "(?:mysqli_query|pg_query|mysql_query)\\s*\\([^,]+,\\s*['\"][^'\"]*['\"]?\\s*\\.\\s*\\$",
169
- "flags": "i",
170
- "category": "sql_injection",
171
- "description": "SQL injection: PHP mysqli_query / pg_query with variable concatenation",
172
- "language": [
173
- "php"
174
- ],
175
- "severity": "critical"
176
- },
177
- {
178
- "id": "SQL012",
179
- "pattern": "(?:SELECT|INSERT|UPDATE|DELETE)\\s[^'\"]*\\.\\s*\\$[a-zA-Z_]",
180
- "flags": "i",
181
- "category": "sql_injection",
182
- "description": "SQL injection: PHP mysqli_query / pg_query with variable concatenation",
183
- "language": [
184
- "php"
185
- ],
186
- "severity": "critical"
187
- },
188
- {
189
- "id": "SQL013",
190
- "pattern": "ORDER\\s+BY\\s+\\$\\{|ORDER\\s+BY.*['\"`]\\s*\\+\\s*\\w|GROUP\\s+BY\\s+\\$\\{",
191
- "flags": "i",
192
- "category": "sql_injection",
193
- "description": "SQL injection: dynamic ORDER BY / column name from user variable",
194
- "language": [
195
- "js",
196
- "ts",
197
- "python",
198
- "java",
199
- "go",
200
- "csharp",
201
- "php",
202
- "ruby",
203
- "rust",
204
- "kotlin"
205
- ],
206
- "severity": "critical"
207
- },
208
- {
209
- "id": "SQL014",
210
- "pattern": "`[^`]*(?:FROM|WHERE|ORDER BY|GROUP BY|SET)[^`]*\\$\\{",
211
- "flags": "i",
212
- "category": "sql_injection",
213
- "description": "SQL injection: template literal with SQL keywords and column/table variable",
214
- "language": [
215
- "js",
216
- "ts",
217
- "python",
218
- "java",
219
- "go",
220
- "csharp",
221
- "php",
222
- "ruby",
223
- "rust",
224
- "kotlin"
225
- ],
226
- "severity": "critical"
227
- },
228
- {
229
- "id": "SQL015",
230
- "pattern": "[\"'][^\"']*(?:SELECT|WHERE|FROM|DELETE|UPDATE)[^\"']*[\"']\\s*\\.\\s*\\$[a-zA-Z_]",
231
- "flags": "i",
232
- "category": "sql_injection",
233
- "description": "SQL injection: PHP dot-concat with SQL string (\"SELECT...\" . $var)",
234
- "language": [
235
- "php"
236
- ],
237
- "severity": "critical"
238
- },
239
- {
240
- "id": "SQL016",
241
- "pattern": "[\"']SELECT[^\"']*\\$[a-zA-Z_]|[\"']DELETE[^\"']*\\$[a-zA-Z_]|[\"']UPDATE[^\"']*\\$[a-zA-Z_]",
242
- "flags": "i",
243
- "category": "sql_injection",
244
- "description": "SQL injection: PHP variable in double-quoted SQL string (\"SELECT * FROM $table WHERE $where\")",
245
- "language": [
246
- "php"
247
- ],
248
- "severity": "critical"
249
- },
250
- {
251
- "id": "SQL017",
252
- "pattern": "mysqli_query\\s*\\(\\s*\\$[a-zA-Z_]+\\s*,\\s*\\$[a-zA-Z_]|pg_query\\s*\\(\\s*\\$[a-zA-Z_]+\\s*,\\s*\\$[a-zA-Z_]",
253
- "flags": "i",
254
- "category": "sql_injection",
255
- "description": "SQL injection: mysqli_query / pg_query called with variable built by concat",
256
- "language": [
257
- "js",
258
- "ts",
259
- "python",
260
- "java",
261
- "go",
262
- "csharp",
263
- "php",
264
- "ruby",
265
- "rust",
266
- "kotlin"
267
- ],
268
- "severity": "critical"
269
- },
270
- {
271
- "id": "SQL018",
272
- "pattern": "\\.where\\s*\\(\\s*[\"'][^\"']*#\\{|\\.find_by_sql\\s*\\(\\s*[\"'][^\"']*#\\{",
273
- "flags": "i",
274
- "category": "sql_injection",
275
- "description": "SQL injection: Ruby .where() or .find_by_sql() with string interpolation",
276
- "language": [
277
- "ruby"
278
- ],
279
- "severity": "critical"
280
- },
281
- {
282
- "id": "SQL019",
283
- "pattern": "[\"'](?:SELECT|DELETE|UPDATE|INSERT)[^\"']*#\\{[a-zA-Z_]",
284
- "flags": "i",
285
- "category": "sql_injection",
286
- "description": "SQL injection: Ruby string with SQL keywords and #{} interpolation",
287
- "language": [
288
- "ruby"
289
- ],
290
- "severity": "critical"
291
- },
292
- {
293
- "id": "SQL020",
294
- "pattern": "string\\.Format\\s*\\(\\s*[\"'][^\"']*(?:SELECT|WHERE|FROM|DELETE)[^\"']*[\"']",
295
- "flags": "i",
296
- "category": "sql_injection",
297
- "description": "SQL injection: C# string.Format with SQL",
298
- "language": [
299
- "csharp"
300
- ],
301
- "severity": "critical"
302
- },
303
- {
304
- "id": "SQL021",
305
- "pattern": "(?:String\\s+\\w+|var\\s+\\w+)\\s*=\\s*[\"']SELECT[^\"']*[\"']\\s*\\+\\s*\\w",
306
- "flags": "i",
307
- "category": "sql_injection",
308
- "description": "SQL injection: Java/C# string variable assigned SQL with concat",
309
- "language": [
310
- "csharp",
311
- "java"
312
- ],
313
- "severity": "critical"
314
- },
315
- {
316
- "id": "SQL022",
317
- "pattern": "cursor\\.execute\\s*\\(\\s*[\"'][^\"']*[\"']\\s*%\\s*\\(",
318
- "flags": "i",
319
- "category": "sql_injection",
320
- "description": "SQL injection: Python cursor.execute with % operator format",
321
- "language": [
322
- "python"
323
- ],
324
- "severity": "critical"
325
- },
326
- {
327
- "id": "SQL023",
328
- "pattern": "\\.extra\\s*\\(\\s*where\\s*=\\[[\"'][^\"']*%s",
329
- "flags": "i",
330
- "category": "sql_injection",
331
- "description": "SQL injection: Django .extra() with user-controlled where arg",
332
- "language": [
333
- "js",
334
- "ts",
335
- "python",
336
- "java",
337
- "go",
338
- "csharp",
339
- "php",
340
- "ruby",
341
- "rust",
342
- "kotlin"
343
- ],
344
- "severity": "critical"
345
- },
346
- {
347
- "id": "SQL024",
348
- "pattern": "(?:repository|connection|dataSource|sequelize|db)\\.query\\s*\\(\\s*[\"'][^\"']*[\"']\\s*\\+\\s*\\w",
349
- "flags": "i",
350
- "category": "sql_injection",
351
- "description": "SQL injection: TypeORM/Sequelize .query() with string concat",
352
- "language": [
353
- "js",
354
- "ts",
355
- "python",
356
- "java",
357
- "go",
358
- "csharp",
359
- "php",
360
- "ruby",
361
- "rust",
362
- "kotlin"
363
- ],
364
- "severity": "critical"
365
- },
366
- {
367
- "id": "SQL025",
368
- "pattern": "val\\s+\\w*[Ss]election\\w*\\s*=\\s*[\"'][^\"']*\\$[a-zA-Z_]",
369
- "flags": "i",
370
- "category": "sql_injection",
371
- "description": "SQL injection: Kotlin rawQuery where selection string contains interpolated var",
372
- "language": [
373
- "kotlin"
374
- ],
375
- "severity": "critical"
376
- },
377
- {
378
- "id": "SQL026",
379
- "pattern": "new SqlCommand\\s*\\(\\s*(?:\"[^\"]*\"\\s*\\+|string\\.Format|\\$[\"'])",
380
- "flags": "i",
381
- "category": "sql_injection",
382
- "description": "C# SQL injection: SqlCommand with string concat / interpolation / Format",
383
- "language": [
384
- "csharp"
385
- ],
386
- "severity": "critical"
387
- },
388
- {
389
- "id": "SQL027",
390
- "pattern": "\\.CommandText\\s*=\\s*(?:\"[^\"]*\"\\s*\\+|\\$[\"'])",
391
- "flags": "i",
392
- "category": "sql_injection",
393
- "description": "C# SQL injection: SqlCommand with string concat / interpolation / Format",
394
- "language": [
395
- "csharp"
396
- ],
397
- "severity": "critical"
398
- },
399
- {
400
- "id": "SQL028",
401
- "pattern": "string\\.Format\\s*\\(\\s*[\"'][^\"']*(SELECT|INSERT|UPDATE|DELETE|WHERE)",
402
- "flags": "i",
403
- "category": "sql_injection",
404
- "description": "C# SQL injection: SqlCommand with string concat / interpolation / Format",
405
- "language": [
406
- "csharp"
407
- ],
408
- "severity": "critical"
409
- },
410
- {
411
- "id": "SQL029",
412
- "pattern": "new SqlCommand\\s*\\(\\s*[\"'][^\"']*[\"']\\s*\\+",
413
- "flags": "i",
414
- "category": "sql_injection",
415
- "description": "C# SQL injection: SqlCommand with string concat / interpolation / Format",
416
- "language": [
417
- "csharp"
418
- ],
419
- "severity": "critical"
420
- },
421
- {
422
- "id": "SQL030",
423
- "pattern": "\\.where\\s*\\(\\s*[\"'][^\"']*#\\{",
424
- "flags": "i",
425
- "category": "sql_injection",
426
- "description": "Ruby SQL injection: ActiveRecord with string interpolation",
427
- "language": [
428
- "ruby"
429
- ],
430
- "severity": "critical"
431
- },
432
- {
433
- "id": "SQL031",
434
- "pattern": "find_by_sql\\s*\\(\\s*[\"'][^\"']*#\\{",
435
- "flags": "i",
436
- "category": "sql_injection",
437
- "description": "Ruby SQL injection: ActiveRecord with string interpolation",
438
- "language": [
439
- "ruby"
440
- ],
441
- "severity": "critical"
442
- },
443
- {
444
- "id": "SQL032",
445
- "pattern": "ActiveRecord::Base\\.connection\\.execute\\s*\\(\\s*[\"'][^\"']*#\\{",
446
- "flags": "i",
447
- "category": "sql_injection",
448
- "description": "Ruby SQL injection: ActiveRecord with string interpolation",
449
- "language": [
450
- "ruby"
451
- ],
452
- "severity": "critical"
453
- },
454
- {
455
- "id": "SQL033",
456
- "pattern": "\\.order\\s*\\(\\s*[\"'][^\"']*#\\{",
457
- "flags": "i",
458
- "category": "sql_injection",
459
- "description": "Ruby SQL injection: ActiveRecord with string interpolation",
460
- "language": [
461
- "ruby"
462
- ],
463
- "severity": "critical"
464
- },
465
- {
466
- "id": "SQL034",
467
- "pattern": "mysqli_query\\s*\\(\\s*\\$\\w+\\s*,\\s*[\"'][^\"']*[\"']?\\s*\\.\\s*\\$",
468
- "flags": "i",
469
- "category": "sql_injection",
470
- "description": "PHP SQL injection: mysqli_query / mysql_query / PDO",
471
- "language": [
472
- "php"
473
- ],
474
- "severity": "critical"
475
- },
476
- {
477
- "id": "SQL035",
478
- "pattern": "mysql_query\\s*\\(\\s*[\"'][^\"']*[\"']?\\s*\\.\\s*\\$",
479
- "flags": "i",
480
- "category": "sql_injection",
481
- "description": "PHP SQL injection: mysqli_query / mysql_query / PDO",
482
- "language": [
483
- "php"
484
- ],
485
- "severity": "critical"
486
- },
487
- {
488
- "id": "SQL036",
489
- "pattern": "\\$pdo->query\\s*\\(\\s*[\"'][^\"']*[\"']?\\s*\\.\\s*\\$",
490
- "flags": "i",
491
- "category": "sql_injection",
492
- "description": "PHP SQL injection: mysqli_query / mysql_query / PDO",
493
- "language": [
494
- "php"
495
- ],
496
- "severity": "critical"
497
- },
498
- {
499
- "id": "SQL037",
500
- "pattern": "\\$(?:query|sql)\\s*=\\s*[\"'][^\"']*(?:SELECT|INSERT|UPDATE|DELETE)[^\"']*[\"']?\\s*\\.\\s*\\$",
501
- "flags": "i",
502
- "category": "sql_injection",
503
- "description": "PHP SQL injection: mysqli_query / mysql_query / PDO",
504
- "language": [
505
- "php"
506
- ],
507
- "severity": "critical"
508
- },
509
- {
510
- "id": "SQL038",
511
- "pattern": "(?:SELECT|INSERT|UPDATE|DELETE)[^\"'\\n]*\\$(?:_GET|_POST|_REQUEST|_COOKIE)\\[",
512
- "flags": "i",
513
- "category": "sql_injection",
514
- "description": "PHP SQL injection: mysqli_query / mysql_query / PDO",
515
- "language": [
516
- "php"
517
- ],
518
- "severity": "critical"
519
- },
520
- {
521
- "id": "SQL039",
522
- "pattern": "db\\.(?:Query|QueryRow|Exec)\\s*\\(\\s*fmt\\.Sprintf\\s*\\(",
523
- "flags": "i",
524
- "category": "sql_injection",
525
- "description": "Go SQL injection: db.Query/QueryRow/Exec with fmt.Sprintf",
526
- "language": [
527
- "go"
528
- ],
529
- "severity": "critical"
530
- },
531
- {
532
- "id": "SQL040",
533
- "pattern": "r\\.DB\\.(?:Query|QueryRow|Exec|ExecContext)\\s*\\(\\s*fmt\\.Sprintf\\s*\\(",
534
- "flags": "i",
535
- "category": "sql_injection",
536
- "description": "Go SQL injection: db.Query/QueryRow/Exec with fmt.Sprintf",
537
- "language": [
538
- "go"
539
- ],
540
- "severity": "critical"
541
- },
542
- {
543
- "id": "SQL041",
544
- "pattern": "h\\.DB\\.(?:Query|QueryRow|Exec)\\s*\\(\\s*fmt\\.Sprintf\\s*\\(",
545
- "flags": "i",
546
- "category": "sql_injection",
547
- "description": "Go SQL injection: db.Query/QueryRow/Exec with fmt.Sprintf",
548
- "language": [
549
- "go"
550
- ],
551
- "severity": "critical"
552
- },
553
- {
554
- "id": "SQL042",
555
- "pattern": "[\"']\\s*EXEC\\s+\\w+\\s*['\"\"]\\s*\\+|EXEC\\s+sp_\\w+\\s*['\"\"]\\s*\\+",
556
- "flags": "i",
557
- "category": "sql_injection",
558
- "description": "C# SQL injection: EXEC stored procedure via string concat",
559
- "language": [
560
- "csharp"
561
- ],
562
- "severity": "critical"
563
- },
564
- {
565
- "id": "SQL043",
566
- "pattern": "\"EXEC\\s+sp_\\w+[^\"]*\"\\s*\\+|string sql\\s*=\\s*\"EXEC",
567
- "flags": "i",
568
- "category": "sql_injection",
569
- "description": "C# SQL injection: EXEC stored procedure via string concat",
570
- "language": [
571
- "csharp"
572
- ],
573
- "severity": "critical"
574
- },
575
- {
576
- "id": "SQL044",
577
- "pattern": "\"[^\"]*(?:SELECT|INSERT|UPDATE|DELETE)[^\"]*\\$[a-zA-Z_]\\w*[^\"]*\"",
578
- "flags": "i",
579
- "category": "sql_injection",
580
- "description": "Kotlin: SQL injection via string template with embedded interpolation",
581
- "language": [
582
- "kotlin"
583
- ],
584
- "severity": "critical"
585
- },
586
- {
587
- "id": "SQL045",
588
- "pattern": "\"\"\"\\.format\\s*\\(|'''\\.format\\s*\\(",
589
- "flags": "",
590
- "category": "sql_injection",
591
- "description": "Python: SQL injection via .format() on multi-line raw SQL string",
592
- "language": [
593
- "python"
594
- ],
595
- "severity": "critical"
596
- },
597
- {
598
- "id": "SQL046",
599
- "pattern": "\\$(?:query|sql|qry)\\s*\\.=\\s*\\$(?:_GET|_POST|_REQUEST|_COOKIE|[a-zA-Z_]\\w*)",
600
- "flags": "i",
601
- "category": "sql_injection",
602
- "description": "PHP SQL injection: appending user variable to existing query with .= operator",
603
- "language": [
604
- "php"
605
- ],
606
- "severity": "critical"
607
- },
608
- {
609
- "id": "SQL047",
610
- "pattern": "\"SELECT[^\"]*WHERE[^\"]*\"\\s*\\.\\s*\\$[a-zA-Z_]|\"UPDATE[^\"]*SET[^\"]*\"\\s*\\.\\s*\\$[a-zA-Z_]|\"DELETE[^\"]*WHERE[^\"]*\"\\s*\\.\\s*\\$[a-zA-Z_]",
611
- "flags": "i",
612
- "category": "sql_injection",
613
- "description": "PHP SQL injection: SQL WHERE/SET clause with dot-concatenated variable",
614
- "language": [
615
- "php"
616
- ],
617
- "severity": "critical"
618
- }
619
- ]
1
+ [
2
+ {
3
+ "id": "SQL001",
4
+ "pattern": "(?:SELECT|INSERT|UPDATE|DELETE).*(?:['\"`]\\s*\\+|\\+\\s*['\"`]|fmt\\.Sprintf|%\\s*\\w+)",
5
+ "flags": "i",
6
+ "category": "sql_injection",
7
+ "description": "SQL injection",
8
+ "language": [
9
+ "js",
10
+ "ts",
11
+ "python",
12
+ "java",
13
+ "go",
14
+ "csharp",
15
+ "php",
16
+ "ruby",
17
+ "rust",
18
+ "kotlin"
19
+ ],
20
+ "severity": "critical"
21
+ },
22
+ {
23
+ "id": "SQL002",
24
+ "pattern": "(?:SELECT|INSERT|UPDATE|DELETE).*'%s'|'%s'.*(?:SELECT|WHERE)",
25
+ "flags": "i",
26
+ "category": "sql_injection",
27
+ "description": "SQL injection",
28
+ "language": [
29
+ "js",
30
+ "ts",
31
+ "python",
32
+ "java",
33
+ "go",
34
+ "csharp",
35
+ "php",
36
+ "ruby",
37
+ "rust",
38
+ "kotlin"
39
+ ],
40
+ "severity": "critical"
41
+ },
42
+ {
43
+ "id": "SQL003",
44
+ "pattern": "SELECT.*\\$\\{|INSERT.*\\$\\{|UPDATE.*\\$\\{|DELETE.*\\$\\{",
45
+ "flags": "i",
46
+ "category": "sql_injection",
47
+ "description": "SQL injection",
48
+ "language": [
49
+ "js",
50
+ "ts",
51
+ "python",
52
+ "java",
53
+ "go",
54
+ "csharp",
55
+ "php",
56
+ "ruby",
57
+ "rust",
58
+ "kotlin"
59
+ ],
60
+ "severity": "critical"
61
+ },
62
+ {
63
+ "id": "SQL004",
64
+ "pattern": "query\\s*=\\s*['\"`][^'\"`]*['\"`]\\s*\\+|f['\"].*(?:SELECT|WHERE)",
65
+ "flags": "i",
66
+ "category": "sql_injection",
67
+ "description": "SQL injection",
68
+ "language": [
69
+ "js",
70
+ "ts",
71
+ "python",
72
+ "java",
73
+ "go",
74
+ "csharp",
75
+ "php",
76
+ "ruby",
77
+ "rust",
78
+ "kotlin"
79
+ ],
80
+ "severity": "critical"
81
+ },
82
+ {
83
+ "id": "SQL005",
84
+ "pattern": "\\$[\"'](?:[^\"']*(?:SELECT|INSERT|UPDATE|DELETE|WHERE|FROM)[^\"']*)[\"']",
85
+ "flags": "i",
86
+ "category": "sql_injection",
87
+ "description": "SQL injection: C# string interpolation ($\"...\") in SQL",
88
+ "language": [
89
+ "csharp"
90
+ ],
91
+ "severity": "critical"
92
+ },
93
+ {
94
+ "id": "SQL006",
95
+ "pattern": "(?:rawQuery|rawSql|raw_query|execute|db\\.query)\\s*\\(\\s*['\"`].*\\$[{a-zA-Z]",
96
+ "flags": "i",
97
+ "category": "sql_injection",
98
+ "description": "SQL injection: rawQuery / rawSQL / execute with string interpolation",
99
+ "language": [
100
+ "js",
101
+ "ts",
102
+ "python",
103
+ "java",
104
+ "go",
105
+ "csharp",
106
+ "php",
107
+ "ruby",
108
+ "rust",
109
+ "kotlin"
110
+ ],
111
+ "severity": "critical"
112
+ },
113
+ {
114
+ "id": "SQL007",
115
+ "pattern": "(?:rawQuery|execSQL|executeQuery|execute)\\s*\\(\\s*['\"`][^'\"`,]*['\"`]\\s*\\.format\\s*\\(",
116
+ "flags": "i",
117
+ "category": "sql_injection",
118
+ "description": "SQL injection: rawQuery / rawSQL / execute with string interpolation",
119
+ "language": [
120
+ "js",
121
+ "ts",
122
+ "python",
123
+ "java",
124
+ "go",
125
+ "csharp",
126
+ "php",
127
+ "ruby",
128
+ "rust",
129
+ "kotlin"
130
+ ],
131
+ "severity": "critical"
132
+ },
133
+ {
134
+ "id": "SQL008",
135
+ "pattern": "rawQuery\\s*\\(\\s*[\"'].*\\$[a-zA-Z{]",
136
+ "flags": "",
137
+ "category": "sql_injection",
138
+ "description": "SQL injection: Kotlin rawQuery with string interpolation ($variable)",
139
+ "language": [
140
+ "kotlin"
141
+ ],
142
+ "severity": "critical"
143
+ },
144
+ {
145
+ "id": "SQL009",
146
+ "pattern": "(?:connection|ActiveRecord::Base\\.connection)\\.execute\\s*\\([^)]*#\\{",
147
+ "flags": "i",
148
+ "category": "sql_injection",
149
+ "description": "SQL injection: Ruby connection.execute with string interpolation",
150
+ "language": [
151
+ "ruby"
152
+ ],
153
+ "severity": "critical"
154
+ },
155
+ {
156
+ "id": "SQL010",
157
+ "pattern": "cursor\\.execute\\s*\\([^)]*\\.format\\s*\\(|cursor\\.execute\\s*\\([^)]*%s",
158
+ "flags": "i",
159
+ "category": "sql_injection",
160
+ "description": "SQL injection: Django/Python cursor.execute with .format()",
161
+ "language": [
162
+ "python"
163
+ ],
164
+ "severity": "critical"
165
+ },
166
+ {
167
+ "id": "SQL011",
168
+ "pattern": "(?:mysqli_query|pg_query|mysql_query)\\s*\\([^,]+,\\s*['\"][^'\"]*['\"]?\\s*\\.\\s*\\$",
169
+ "flags": "i",
170
+ "category": "sql_injection",
171
+ "description": "SQL injection: PHP mysqli_query / pg_query with variable concatenation",
172
+ "language": [
173
+ "php"
174
+ ],
175
+ "severity": "critical"
176
+ },
177
+ {
178
+ "id": "SQL012",
179
+ "pattern": "(?:SELECT|INSERT|UPDATE|DELETE)\\s[^'\"]*\\.\\s*\\$[a-zA-Z_]",
180
+ "flags": "i",
181
+ "category": "sql_injection",
182
+ "description": "SQL injection: PHP mysqli_query / pg_query with variable concatenation",
183
+ "language": [
184
+ "php"
185
+ ],
186
+ "severity": "critical"
187
+ },
188
+ {
189
+ "id": "SQL013",
190
+ "pattern": "ORDER\\s+BY\\s+\\$\\{|ORDER\\s+BY.*['\"`]\\s*\\+\\s*\\w|GROUP\\s+BY\\s+\\$\\{",
191
+ "flags": "i",
192
+ "category": "sql_injection",
193
+ "description": "SQL injection: dynamic ORDER BY / column name from user variable",
194
+ "language": [
195
+ "js",
196
+ "ts",
197
+ "python",
198
+ "java",
199
+ "go",
200
+ "csharp",
201
+ "php",
202
+ "ruby",
203
+ "rust",
204
+ "kotlin"
205
+ ],
206
+ "severity": "critical"
207
+ },
208
+ {
209
+ "id": "SQL014",
210
+ "pattern": "`[^`]*(?:FROM|WHERE|ORDER BY|GROUP BY|SET)[^`]*\\$\\{",
211
+ "flags": "i",
212
+ "category": "sql_injection",
213
+ "description": "SQL injection: template literal with SQL keywords and column/table variable",
214
+ "language": [
215
+ "js",
216
+ "ts",
217
+ "python",
218
+ "java",
219
+ "go",
220
+ "csharp",
221
+ "php",
222
+ "ruby",
223
+ "rust",
224
+ "kotlin"
225
+ ],
226
+ "severity": "critical"
227
+ },
228
+ {
229
+ "id": "SQL015",
230
+ "pattern": "[\"'][^\"']*(?:SELECT|WHERE|FROM|DELETE|UPDATE)[^\"']*[\"']\\s*\\.\\s*\\$[a-zA-Z_]",
231
+ "flags": "i",
232
+ "category": "sql_injection",
233
+ "description": "SQL injection: PHP dot-concat with SQL string (\"SELECT...\" . $var)",
234
+ "language": [
235
+ "php"
236
+ ],
237
+ "severity": "critical"
238
+ },
239
+ {
240
+ "id": "SQL016",
241
+ "pattern": "[\"']SELECT[^\"']*\\$[a-zA-Z_]|[\"']DELETE[^\"']*\\$[a-zA-Z_]|[\"']UPDATE[^\"']*\\$[a-zA-Z_]",
242
+ "flags": "i",
243
+ "category": "sql_injection",
244
+ "description": "SQL injection: PHP variable in double-quoted SQL string (\"SELECT * FROM $table WHERE $where\")",
245
+ "language": [
246
+ "php"
247
+ ],
248
+ "severity": "critical"
249
+ },
250
+ {
251
+ "id": "SQL017",
252
+ "pattern": "mysqli_query\\s*\\(\\s*\\$[a-zA-Z_]+\\s*,\\s*\\$[a-zA-Z_]|pg_query\\s*\\(\\s*\\$[a-zA-Z_]+\\s*,\\s*\\$[a-zA-Z_]",
253
+ "flags": "i",
254
+ "category": "sql_injection",
255
+ "description": "SQL injection: mysqli_query / pg_query called with variable built by concat",
256
+ "language": [
257
+ "js",
258
+ "ts",
259
+ "python",
260
+ "java",
261
+ "go",
262
+ "csharp",
263
+ "php",
264
+ "ruby",
265
+ "rust",
266
+ "kotlin"
267
+ ],
268
+ "severity": "critical"
269
+ },
270
+ {
271
+ "id": "SQL018",
272
+ "pattern": "\\.where\\s*\\(\\s*[\"'][^\"']*#\\{|\\.find_by_sql\\s*\\(\\s*[\"'][^\"']*#\\{",
273
+ "flags": "i",
274
+ "category": "sql_injection",
275
+ "description": "SQL injection: Ruby .where() or .find_by_sql() with string interpolation",
276
+ "language": [
277
+ "ruby"
278
+ ],
279
+ "severity": "critical"
280
+ },
281
+ {
282
+ "id": "SQL019",
283
+ "pattern": "[\"'](?:SELECT|DELETE|UPDATE|INSERT)[^\"']*#\\{[a-zA-Z_]",
284
+ "flags": "i",
285
+ "category": "sql_injection",
286
+ "description": "SQL injection: Ruby string with SQL keywords and #{} interpolation",
287
+ "language": [
288
+ "ruby"
289
+ ],
290
+ "severity": "critical"
291
+ },
292
+ {
293
+ "id": "SQL020",
294
+ "pattern": "string\\.Format\\s*\\(\\s*[\"'][^\"']*(?:SELECT|WHERE|FROM|DELETE)[^\"']*[\"']",
295
+ "flags": "i",
296
+ "category": "sql_injection",
297
+ "description": "SQL injection: C# string.Format with SQL",
298
+ "language": [
299
+ "csharp"
300
+ ],
301
+ "severity": "critical"
302
+ },
303
+ {
304
+ "id": "SQL021",
305
+ "pattern": "(?:String\\s+\\w+|var\\s+\\w+)\\s*=\\s*[\"']SELECT[^\"']*[\"']\\s*\\+\\s*\\w",
306
+ "flags": "i",
307
+ "category": "sql_injection",
308
+ "description": "SQL injection: Java/C# string variable assigned SQL with concat",
309
+ "language": [
310
+ "csharp",
311
+ "java"
312
+ ],
313
+ "severity": "critical"
314
+ },
315
+ {
316
+ "id": "SQL022",
317
+ "pattern": "cursor\\.execute\\s*\\(\\s*[\"'][^\"']*[\"']\\s*%\\s*\\(",
318
+ "flags": "i",
319
+ "category": "sql_injection",
320
+ "description": "SQL injection: Python cursor.execute with % operator format",
321
+ "language": [
322
+ "python"
323
+ ],
324
+ "severity": "critical"
325
+ },
326
+ {
327
+ "id": "SQL023",
328
+ "pattern": "\\.extra\\s*\\(\\s*where\\s*=\\[[\"'][^\"']*%s",
329
+ "flags": "i",
330
+ "category": "sql_injection",
331
+ "description": "SQL injection: Django .extra() with user-controlled where arg",
332
+ "language": [
333
+ "js",
334
+ "ts",
335
+ "python",
336
+ "java",
337
+ "go",
338
+ "csharp",
339
+ "php",
340
+ "ruby",
341
+ "rust",
342
+ "kotlin"
343
+ ],
344
+ "severity": "critical"
345
+ },
346
+ {
347
+ "id": "SQL024",
348
+ "pattern": "(?:repository|connection|dataSource|sequelize|db)\\.query\\s*\\(\\s*[\"'][^\"']*[\"']\\s*\\+\\s*\\w",
349
+ "flags": "i",
350
+ "category": "sql_injection",
351
+ "description": "SQL injection: TypeORM/Sequelize .query() with string concat",
352
+ "language": [
353
+ "js",
354
+ "ts",
355
+ "python",
356
+ "java",
357
+ "go",
358
+ "csharp",
359
+ "php",
360
+ "ruby",
361
+ "rust",
362
+ "kotlin"
363
+ ],
364
+ "severity": "critical"
365
+ },
366
+ {
367
+ "id": "SQL025",
368
+ "pattern": "val\\s+\\w*[Ss]election\\w*\\s*=\\s*[\"'][^\"']*\\$[a-zA-Z_]",
369
+ "flags": "i",
370
+ "category": "sql_injection",
371
+ "description": "SQL injection: Kotlin rawQuery where selection string contains interpolated var",
372
+ "language": [
373
+ "kotlin"
374
+ ],
375
+ "severity": "critical"
376
+ },
377
+ {
378
+ "id": "SQL026",
379
+ "pattern": "new SqlCommand\\s*\\(\\s*(?:\"[^\"]*\"\\s*\\+|string\\.Format|\\$[\"'])",
380
+ "flags": "i",
381
+ "category": "sql_injection",
382
+ "description": "C# SQL injection: SqlCommand with string concat / interpolation / Format",
383
+ "language": [
384
+ "csharp"
385
+ ],
386
+ "severity": "critical"
387
+ },
388
+ {
389
+ "id": "SQL027",
390
+ "pattern": "\\.CommandText\\s*=\\s*(?:\"[^\"]*\"\\s*\\+|\\$[\"'])",
391
+ "flags": "i",
392
+ "category": "sql_injection",
393
+ "description": "C# SQL injection: SqlCommand with string concat / interpolation / Format",
394
+ "language": [
395
+ "csharp"
396
+ ],
397
+ "severity": "critical"
398
+ },
399
+ {
400
+ "id": "SQL028",
401
+ "pattern": "string\\.Format\\s*\\(\\s*[\"'][^\"']*(SELECT|INSERT|UPDATE|DELETE|WHERE)",
402
+ "flags": "i",
403
+ "category": "sql_injection",
404
+ "description": "C# SQL injection: SqlCommand with string concat / interpolation / Format",
405
+ "language": [
406
+ "csharp"
407
+ ],
408
+ "severity": "critical"
409
+ },
410
+ {
411
+ "id": "SQL029",
412
+ "pattern": "new SqlCommand\\s*\\(\\s*[\"'][^\"']*[\"']\\s*\\+",
413
+ "flags": "i",
414
+ "category": "sql_injection",
415
+ "description": "C# SQL injection: SqlCommand with string concat / interpolation / Format",
416
+ "language": [
417
+ "csharp"
418
+ ],
419
+ "severity": "critical"
420
+ },
421
+ {
422
+ "id": "SQL030",
423
+ "pattern": "\\.where\\s*\\(\\s*[\"'][^\"']*#\\{",
424
+ "flags": "i",
425
+ "category": "sql_injection",
426
+ "description": "Ruby SQL injection: ActiveRecord with string interpolation",
427
+ "language": [
428
+ "ruby"
429
+ ],
430
+ "severity": "critical"
431
+ },
432
+ {
433
+ "id": "SQL031",
434
+ "pattern": "find_by_sql\\s*\\(\\s*[\"'][^\"']*#\\{",
435
+ "flags": "i",
436
+ "category": "sql_injection",
437
+ "description": "Ruby SQL injection: ActiveRecord with string interpolation",
438
+ "language": [
439
+ "ruby"
440
+ ],
441
+ "severity": "critical"
442
+ },
443
+ {
444
+ "id": "SQL032",
445
+ "pattern": "ActiveRecord::Base\\.connection\\.execute\\s*\\(\\s*[\"'][^\"']*#\\{",
446
+ "flags": "i",
447
+ "category": "sql_injection",
448
+ "description": "Ruby SQL injection: ActiveRecord with string interpolation",
449
+ "language": [
450
+ "ruby"
451
+ ],
452
+ "severity": "critical"
453
+ },
454
+ {
455
+ "id": "SQL033",
456
+ "pattern": "\\.order\\s*\\(\\s*[\"'][^\"']*#\\{",
457
+ "flags": "i",
458
+ "category": "sql_injection",
459
+ "description": "Ruby SQL injection: ActiveRecord with string interpolation",
460
+ "language": [
461
+ "ruby"
462
+ ],
463
+ "severity": "critical"
464
+ },
465
+ {
466
+ "id": "SQL034",
467
+ "pattern": "mysqli_query\\s*\\(\\s*\\$\\w+\\s*,\\s*[\"'][^\"']*[\"']?\\s*\\.\\s*\\$",
468
+ "flags": "i",
469
+ "category": "sql_injection",
470
+ "description": "PHP SQL injection: mysqli_query / mysql_query / PDO",
471
+ "language": [
472
+ "php"
473
+ ],
474
+ "severity": "critical"
475
+ },
476
+ {
477
+ "id": "SQL035",
478
+ "pattern": "mysql_query\\s*\\(\\s*[\"'][^\"']*[\"']?\\s*\\.\\s*\\$",
479
+ "flags": "i",
480
+ "category": "sql_injection",
481
+ "description": "PHP SQL injection: mysqli_query / mysql_query / PDO",
482
+ "language": [
483
+ "php"
484
+ ],
485
+ "severity": "critical"
486
+ },
487
+ {
488
+ "id": "SQL036",
489
+ "pattern": "\\$pdo->query\\s*\\(\\s*[\"'][^\"']*[\"']?\\s*\\.\\s*\\$",
490
+ "flags": "i",
491
+ "category": "sql_injection",
492
+ "description": "PHP SQL injection: mysqli_query / mysql_query / PDO",
493
+ "language": [
494
+ "php"
495
+ ],
496
+ "severity": "critical"
497
+ },
498
+ {
499
+ "id": "SQL037",
500
+ "pattern": "\\$(?:query|sql)\\s*=\\s*[\"'][^\"']*(?:SELECT|INSERT|UPDATE|DELETE)[^\"']*[\"']?\\s*\\.\\s*\\$",
501
+ "flags": "i",
502
+ "category": "sql_injection",
503
+ "description": "PHP SQL injection: mysqli_query / mysql_query / PDO",
504
+ "language": [
505
+ "php"
506
+ ],
507
+ "severity": "critical"
508
+ },
509
+ {
510
+ "id": "SQL038",
511
+ "pattern": "(?:SELECT|INSERT|UPDATE|DELETE)[^\"'\\n]*\\$(?:_GET|_POST|_REQUEST|_COOKIE)\\[",
512
+ "flags": "i",
513
+ "category": "sql_injection",
514
+ "description": "PHP SQL injection: mysqli_query / mysql_query / PDO",
515
+ "language": [
516
+ "php"
517
+ ],
518
+ "severity": "critical"
519
+ },
520
+ {
521
+ "id": "SQL039",
522
+ "pattern": "db\\.(?:Query|QueryRow|Exec)\\s*\\(\\s*fmt\\.Sprintf\\s*\\(",
523
+ "flags": "i",
524
+ "category": "sql_injection",
525
+ "description": "Go SQL injection: db.Query/QueryRow/Exec with fmt.Sprintf",
526
+ "language": [
527
+ "go"
528
+ ],
529
+ "severity": "critical"
530
+ },
531
+ {
532
+ "id": "SQL040",
533
+ "pattern": "r\\.DB\\.(?:Query|QueryRow|Exec|ExecContext)\\s*\\(\\s*fmt\\.Sprintf\\s*\\(",
534
+ "flags": "i",
535
+ "category": "sql_injection",
536
+ "description": "Go SQL injection: db.Query/QueryRow/Exec with fmt.Sprintf",
537
+ "language": [
538
+ "go"
539
+ ],
540
+ "severity": "critical"
541
+ },
542
+ {
543
+ "id": "SQL041",
544
+ "pattern": "h\\.DB\\.(?:Query|QueryRow|Exec)\\s*\\(\\s*fmt\\.Sprintf\\s*\\(",
545
+ "flags": "i",
546
+ "category": "sql_injection",
547
+ "description": "Go SQL injection: db.Query/QueryRow/Exec with fmt.Sprintf",
548
+ "language": [
549
+ "go"
550
+ ],
551
+ "severity": "critical"
552
+ },
553
+ {
554
+ "id": "SQL042",
555
+ "pattern": "[\"']\\s*EXEC\\s+\\w+\\s*['\"\"]\\s*\\+|EXEC\\s+sp_\\w+\\s*['\"\"]\\s*\\+",
556
+ "flags": "i",
557
+ "category": "sql_injection",
558
+ "description": "C# SQL injection: EXEC stored procedure via string concat",
559
+ "language": [
560
+ "csharp"
561
+ ],
562
+ "severity": "critical"
563
+ },
564
+ {
565
+ "id": "SQL043",
566
+ "pattern": "\"EXEC\\s+sp_\\w+[^\"]*\"\\s*\\+|string sql\\s*=\\s*\"EXEC",
567
+ "flags": "i",
568
+ "category": "sql_injection",
569
+ "description": "C# SQL injection: EXEC stored procedure via string concat",
570
+ "language": [
571
+ "csharp"
572
+ ],
573
+ "severity": "critical"
574
+ },
575
+ {
576
+ "id": "SQL044",
577
+ "pattern": "\"[^\"]*(?:SELECT|INSERT|UPDATE|DELETE)[^\"]*\\$[a-zA-Z_]\\w*[^\"]*\"",
578
+ "flags": "i",
579
+ "category": "sql_injection",
580
+ "description": "Kotlin: SQL injection via string template with embedded interpolation",
581
+ "language": [
582
+ "kotlin"
583
+ ],
584
+ "severity": "critical"
585
+ },
586
+ {
587
+ "id": "SQL045",
588
+ "pattern": "\"\"\"\\.format\\s*\\(|'''\\.format\\s*\\(",
589
+ "flags": "",
590
+ "category": "sql_injection",
591
+ "description": "Python: SQL injection via .format() on multi-line raw SQL string",
592
+ "language": [
593
+ "python"
594
+ ],
595
+ "severity": "critical"
596
+ },
597
+ {
598
+ "id": "SQL046",
599
+ "pattern": "\\$(?:query|sql|qry)\\s*\\.=\\s*\\$(?:_GET|_POST|_REQUEST|_COOKIE|[a-zA-Z_]\\w*)",
600
+ "flags": "i",
601
+ "category": "sql_injection",
602
+ "description": "PHP SQL injection: appending user variable to existing query with .= operator",
603
+ "language": [
604
+ "php"
605
+ ],
606
+ "severity": "critical"
607
+ },
608
+ {
609
+ "id": "SQL047",
610
+ "pattern": "\"SELECT[^\"]*WHERE[^\"]*\"\\s*\\.\\s*\\$[a-zA-Z_]|\"UPDATE[^\"]*SET[^\"]*\"\\s*\\.\\s*\\$[a-zA-Z_]|\"DELETE[^\"]*WHERE[^\"]*\"\\s*\\.\\s*\\$[a-zA-Z_]",
611
+ "flags": "i",
612
+ "category": "sql_injection",
613
+ "description": "PHP SQL injection: SQL WHERE/SET clause with dot-concatenated variable",
614
+ "language": [
615
+ "php"
616
+ ],
617
+ "severity": "critical"
618
+ }
619
+ ]