websec-validator 0.13.0__tar.gz → 0.14.0__tar.gz

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 (175) hide show
  1. {websec_validator-0.13.0/src/websec_validator.egg-info → websec_validator-0.14.0}/PKG-INFO +219 -98
  2. {websec_validator-0.13.0 → websec_validator-0.14.0}/README.md +218 -97
  3. {websec_validator-0.13.0 → websec_validator-0.14.0}/pyproject.toml +2 -2
  4. websec_validator-0.14.0/src/websec_validator/baseline.py +214 -0
  5. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/briefing.py +23 -14
  6. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/calibration.json +3 -1
  7. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/calibration.py +91 -58
  8. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/cli.py +373 -68
  9. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/constitution.py +14 -5
  10. websec_validator-0.14.0/src/websec_validator/corpus.json +115 -0
  11. websec_validator-0.14.0/src/websec_validator/coverage.py +395 -0
  12. websec_validator-0.14.0/src/websec_validator/dast_ingest.py +173 -0
  13. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/dynamic.py +150 -84
  14. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/enrichment.py +25 -14
  15. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/__init__.py +18 -3
  16. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/agent_config.py +96 -27
  17. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/auth.py +95 -8
  18. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/authz.py +158 -20
  19. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/authz_dataflow.py +35 -7
  20. websec_validator-0.14.0/src/websec_validator/extractors/base.py +458 -0
  21. websec_validator-0.14.0/src/websec_validator/extractors/crypto_usage.py +285 -0
  22. websec_validator-0.14.0/src/websec_validator/extractors/django_urls.py +345 -0
  23. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/iac_ci.py +9 -6
  24. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/integrations.py +82 -4
  25. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/llm_security.py +91 -9
  26. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/pii_exposure.py +42 -9
  27. websec_validator-0.14.0/src/websec_validator/extractors/profiles.py +442 -0
  28. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/routes.py +67 -10
  29. websec_validator-0.14.0/src/websec_validator/extractors/sql_flow.py +383 -0
  30. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/stack.py +35 -21
  31. websec_validator-0.14.0/src/websec_validator/extractors/surface.py +459 -0
  32. websec_validator-0.14.0/src/websec_validator/extractors/syntax.py +351 -0
  33. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/transport_security.py +186 -43
  34. websec_validator-0.14.0/src/websec_validator/extractors/upload_security.py +245 -0
  35. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/webext.py +80 -9
  36. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/findings.py +316 -107
  37. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/fixprompt.py +30 -16
  38. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/formats.py +89 -11
  39. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/graph_enrich.py +19 -5
  40. websec_validator-0.14.0/src/websec_validator/hooks.py +284 -0
  41. websec_validator-0.14.0/src/websec_validator/install.py +328 -0
  42. websec_validator-0.14.0/src/websec_validator/intel.py +436 -0
  43. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/inventory.py +35 -9
  44. websec_validator-0.14.0/src/websec_validator/mcp_server.py +464 -0
  45. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/openapi.py +18 -19
  46. websec_validator-0.14.0/src/websec_validator/proof.py +244 -0
  47. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/recon.py +4 -2
  48. websec_validator-0.14.0/src/websec_validator/repairs.py +212 -0
  49. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/report.py +12 -9
  50. websec_validator-0.14.0/src/websec_validator/research/control-scope-cases.json +304 -0
  51. websec_validator-0.14.0/src/websec_validator/research/example.json +50 -0
  52. websec_validator-0.14.0/src/websec_validator/research/profile-cases.json +24 -0
  53. websec_validator-0.14.0/src/websec_validator/research.py +218 -0
  54. websec_validator-0.14.0/src/websec_validator/sarif_ingest.py +607 -0
  55. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/scanners.py +204 -21
  56. websec_validator-0.14.0/src/websec_validator/schemas/coverage.schema.json +224 -0
  57. websec_validator-0.14.0/src/websec_validator/schemas/facts.schema.json +87 -0
  58. websec_validator-0.14.0/src/websec_validator/schemas/ledger.schema.json +199 -0
  59. {websec_validator-0.13.0 → websec_validator-0.14.0/src/websec_validator.egg-info}/PKG-INFO +219 -98
  60. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator.egg-info/SOURCES.txt +50 -1
  61. websec_validator-0.14.0/tests/test_action_contracts.py +97 -0
  62. websec_validator-0.14.0/tests/test_adoption_contracts.py +208 -0
  63. websec_validator-0.14.0/tests/test_agent_launch_specs.py +79 -0
  64. websec_validator-0.14.0/tests/test_assurance_regressions.py +244 -0
  65. websec_validator-0.14.0/tests/test_auth_control_scope.py +79 -0
  66. websec_validator-0.14.0/tests/test_constitution.py +68 -0
  67. websec_validator-0.14.0/tests/test_control_scope_research.py +71 -0
  68. websec_validator-0.14.0/tests/test_coverage.py +374 -0
  69. websec_validator-0.14.0/tests/test_crypto_comparisons.py +143 -0
  70. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_dast_ingest.py +89 -11
  71. websec_validator-0.14.0/tests/test_detector_precision.py +219 -0
  72. websec_validator-0.14.0/tests/test_django_routes.py +234 -0
  73. websec_validator-0.14.0/tests/test_evidence_verdicts.py +223 -0
  74. websec_validator-0.14.0/tests/test_extension_controls.py +79 -0
  75. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_formats.py +40 -0
  76. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_graph_enrich.py +4 -2
  77. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_hardening.py +23 -15
  78. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_hooks.py +3 -1
  79. websec_validator-0.14.0/tests/test_hooks_contracts.py +115 -0
  80. websec_validator-0.14.0/tests/test_install_contracts.py +203 -0
  81. websec_validator-0.14.0/tests/test_intel.py +132 -0
  82. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_inventory.py +70 -0
  83. websec_validator-0.14.0/tests/test_lifecycle.py +410 -0
  84. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_mcp.py +21 -23
  85. websec_validator-0.14.0/tests/test_mcp_security.py +271 -0
  86. websec_validator-0.14.0/tests/test_output_boundaries.py +108 -0
  87. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_pentest_regressions.py +3 -1
  88. websec_validator-0.14.0/tests/test_profiles.py +266 -0
  89. websec_validator-0.14.0/tests/test_proof_revisions.py +90 -0
  90. websec_validator-0.14.0/tests/test_public_precision.py +127 -0
  91. websec_validator-0.14.0/tests/test_read_boundary.py +311 -0
  92. websec_validator-0.14.0/tests/test_read_performance.py +70 -0
  93. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_recon.py +43 -42
  94. websec_validator-0.14.0/tests/test_remaining_control_scope.py +121 -0
  95. websec_validator-0.14.0/tests/test_research.py +55 -0
  96. websec_validator-0.14.0/tests/test_research_cli.py +120 -0
  97. websec_validator-0.14.0/tests/test_sarif_ingest.py +364 -0
  98. websec_validator-0.14.0/tests/test_sarif_workbench.py +215 -0
  99. websec_validator-0.14.0/tests/test_scanner_contracts.py +302 -0
  100. websec_validator-0.14.0/tests/test_source_budget.py +166 -0
  101. websec_validator-0.14.0/tests/test_sql_flow.py +207 -0
  102. websec_validator-0.14.0/tests/test_stack_metadata.py +161 -0
  103. websec_validator-0.14.0/tests/test_transport_pii_scope.py +167 -0
  104. websec_validator-0.14.0/tests/test_transport_stack_scope.py +106 -0
  105. websec_validator-0.14.0/tests/test_workbench_cli.py +140 -0
  106. websec_validator-0.13.0/src/websec_validator/baseline.py +0 -82
  107. websec_validator-0.13.0/src/websec_validator/corpus.json +0 -49
  108. websec_validator-0.13.0/src/websec_validator/dast_ingest.py +0 -138
  109. websec_validator-0.13.0/src/websec_validator/extractors/base.py +0 -201
  110. websec_validator-0.13.0/src/websec_validator/extractors/crypto_usage.py +0 -112
  111. websec_validator-0.13.0/src/websec_validator/extractors/surface.py +0 -287
  112. websec_validator-0.13.0/src/websec_validator/extractors/upload_security.py +0 -101
  113. websec_validator-0.13.0/src/websec_validator/hooks.py +0 -206
  114. websec_validator-0.13.0/src/websec_validator/install.py +0 -228
  115. websec_validator-0.13.0/src/websec_validator/mcp_server.py +0 -251
  116. websec_validator-0.13.0/src/websec_validator/proof.py +0 -96
  117. websec_validator-0.13.0/src/websec_validator/schemas/facts.schema.json +0 -25
  118. websec_validator-0.13.0/src/websec_validator/schemas/ledger.schema.json +0 -39
  119. {websec_validator-0.13.0 → websec_validator-0.14.0}/LICENSE +0 -0
  120. {websec_validator-0.13.0 → websec_validator-0.14.0}/setup.cfg +0 -0
  121. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/__init__.py +0 -0
  122. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/dast_predict.py +0 -0
  123. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/diffscope.py +0 -0
  124. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/client_exposure.py +0 -0
  125. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/client_integrity.py +0 -0
  126. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/dependencies.py +0 -0
  127. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/graphql.py +0 -0
  128. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/policy_consistency.py +0 -0
  129. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/schemas.py +0 -0
  130. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/extractors/tenant.py +0 -0
  131. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/fpfilter.py +0 -0
  132. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/probes.py +0 -0
  133. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/rules/error-stack-disclosure.yml +0 -0
  134. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/rules/insecure-default-secret.yml +0 -0
  135. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/_lib.py +0 -0
  136. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/appsync-cswsh.sh +0 -0
  137. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/appsync-introspection.sh +0 -0
  138. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/appsync-subscription-bola.sh +0 -0
  139. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/bola-cross-tenant.sh +0 -0
  140. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/bola-write-verbs.py +0 -0
  141. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/client-integrity-checklist.sh +0 -0
  142. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/compare-roles.sh +0 -0
  143. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/dlp-bypass-offline.py +0 -0
  144. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/entitlement-abuse.sh +0 -0
  145. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/error-disclosure-probe.sh +0 -0
  146. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/forged-token.sh +0 -0
  147. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/hs256-brute-force.py +0 -0
  148. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/jwt-attacks.sh +0 -0
  149. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/mass-assignment.py +0 -0
  150. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/password-reuse.sh +0 -0
  151. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/pii-output-diff.sh +0 -0
  152. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/race-conditions.py +0 -0
  153. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/rate-limit-burst.sh +0 -0
  154. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/s3-assess.sh +0 -0
  155. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/ssrf-probes.sh +0 -0
  156. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/unauth-baseline.sh +0 -0
  157. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/upload-matrix.sh +0 -0
  158. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/probes/webhook-forgery.py +0 -0
  159. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/reports/FINDINGS-SUMMARY.md.template +0 -0
  160. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/reports/access-control-matrix.md.template +0 -0
  161. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/reports/findings-triage.md.template +0 -0
  162. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/reports/pentest-handover-brief.md.template +0 -0
  163. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/templates/reports/per-tool-FINDINGS.md.template +0 -0
  164. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator/testplan.py +0 -0
  165. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator.egg-info/dependency_links.txt +0 -0
  166. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator.egg-info/entry_points.txt +0 -0
  167. {websec_validator-0.13.0 → websec_validator-0.14.0}/src/websec_validator.egg-info/top_level.txt +0 -0
  168. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_dast_predict.py +0 -0
  169. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_diffscope.py +0 -0
  170. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_enrichment.py +0 -0
  171. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_entitlement_webext.py +0 -0
  172. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_fixprompt_fpfilter.py +0 -0
  173. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_install.py +0 -0
  174. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_openapi.py +0 -0
  175. {websec_validator-0.13.0 → websec_validator-0.14.0}/tests/test_testplan.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: websec-validator
3
- Version: 0.13.0
3
+ Version: 0.14.0
4
4
  Summary: Defensive, local-first security recon that briefs your AI coding agent on your own codebase — read-only by default (code in, artifacts out): facts + tailored probe scripts, no LLM, no server, no running app.
5
5
  Author: Ricardo Accioly
6
6
  License: MIT
@@ -87,7 +87,11 @@ websec install status # show what's installed
87
87
  websec install codex --uninstall
88
88
  ```
89
89
 
90
- It only ever touches its own marked region, so your existing `AGENTS.md` content is preserved.
90
+ Shared instructions preserve text outside a complete managed block. Install/uninstall refuses
91
+ ambiguous markers and foreign dedicated skill files; resolve ownership manually before retrying.
92
+ The generated instructions select `websec-out/runs/<generated>/` from the current JSON envelope,
93
+ keep incomplete results visible, and reject stale `latest` or symlink aliases. The engine and plugin
94
+ are separate trusted inputs; neither is silently upgraded by the skill.
91
95
 
92
96
  ➡️ **Want the reasoning behind every check?** Read **[docs/METHODOLOGY.md](docs/METHODOLOGY.md)** — what each test does and why.
93
97
 
@@ -155,7 +159,7 @@ Other AI security tools make the LLM do the review from scratch (nondeterministi
155
159
 
156
160
  Now the agent knows your routes, auth model, tenant boundary, unguarded write endpoints, and dangerous sinks *before its first turn* — no LLM, same output every run. (`--markdown` prints the raw block for other harnesses.)
157
161
 
158
- > That's the whole user surface: **`run`** (plus the optional, advanced **`dynamic`** live-probing step below). `recon`/`proof`/`calibrate` exist for developing the tool itself and are hidden from `--help` — you never need them.
162
+ > Start with **`run`**. The optional workbench commands below expose capabilities, explicit threat-feed refresh, offline reassessment and research evaluation; **`dynamic`** performs authorized live testing. `recon`/`proof`/`calibrate` remain development commands.
159
163
 
160
164
  ## Scoping & suppression — keep the signal about *your* code
161
165
 
@@ -196,9 +200,9 @@ signal commercial tools sell, minus the cloud:
196
200
  of model; unparsed ecosystems (Go, Rust…) are tagged `n/a` rather than guessed.
197
201
  - **Exploitability** — each CVE is joined against a **local cache** of [FIRST.org EPSS](https://www.first.org/epss/)
198
202
  (exploit-probability) + [CISA KEV](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)
199
- (known-exploited-in-the-wild). A `⚠ CISA KEV` or `EPSS 90%` beats a raw CVSS score every time.
200
- Refresh the cache with `bash scripts/refresh-epss-kev.sh` (the *only* network step — the scan itself
201
- stays offline; no cache → the feature skips cleanly with a one-line hint).
203
+ (known exploitation reports). These are prioritization inputs alongside application context.
204
+ `websec intel refresh` explicitly downloads public feeds without sending project data. Snapshots
205
+ record source hashes/dates and freshness; consumers remain offline. Legacy flat caches are unverified.
202
206
 
203
207
  Both are **strictly additive**: they annotate and re-rank, but never change a finding's severity, drop
204
208
  one, or add one — so they can only sharpen triage, never reintroduce a false positive.
@@ -226,7 +230,7 @@ websec knows it statically, so it aims them:
226
230
 
227
231
  | | Dimension | Notable output |
228
232
  |---|---|---|
229
- | stack | languages, frameworks, datastores | monorepo-aware (aggregates every manifest) |
233
+ | stack | languages, frameworks, datastores | manifest-aware service inventory, including Rust workspaces; declared hints do not prove deployment |
230
234
  | routes | every endpoint via **OWASP Noir** (+ Supabase-edge, **AWS SAM / Function-URL**, **raw `http.createServer`/`Bun.serve`/py `http.server`**) | method · path · typed params · code path · **AuthType:NONE public endpoints**; **fixture/example routes split out of the attack surface** |
231
235
  | auth | scheme + login surface + **insecure-default signing secrets** + **broken-auth backdoors** | multi-scheme; flags a hard-coded `JWT_SECRET \|\| 'dev-secret'` fallback (forgeable JWT), a **`dev-`token / accept-any-password backdoor** (total bypass, CRITICAL), and a **fail-open** `if(env.SECRET)` signature check |
232
236
  | **authz** | access-control map | guard coverage (incl. **router-mount auth**) + **write endpoints with no visible guard** + roles |
@@ -289,48 +293,84 @@ non-Claude agents. All stdlib, no new dependency.
289
293
  finding lands **inline on the PR diff** and in the **Security tab**, ranked by a security-severity band,
290
294
  with its CWE/ASVS/OWASP citation and remediation.
291
295
 
292
- **Gate the build.** `--fail-on {critical,high,medium,low}` exits non-zero when a finding at or above that
293
- severity remains — a real CI gate, report-only by default.
294
-
295
- **Only fail on what the PR introduced.** `--baseline <prior findings-ledger.json>` marks every finding
296
- `new` / `unchanged` / `fixed` (a stable per-finding fingerprint, surfaced as SARIF `baselineState`), and
297
- `--fail-on` then counts **only the new ones** — so a legacy backlog doesn't block every PR, but a newly
298
- introduced SSRF does.
299
-
300
- **Drop-in GitHub Action** ([`action.yml`](action.yml)):
301
-
302
- ```yaml
303
- # .github/workflows/security.yml
304
- name: security
305
- on: [pull_request]
306
- permissions:
307
- contents: read
308
- security-events: write # required to upload SARIF to Code Scanning
309
- jobs:
310
- websec:
311
- runs-on: ubuntu-latest
312
- steps:
313
- - uses: actions/checkout@v4
314
- - uses: raccioly/websec-validator@v0.10.0 # pin to a release tag
315
- with:
316
- path: .
317
- fail-on: high # block the PR on a new HIGH+ (omit for report-only)
318
- # baseline: .websec/baseline-ledger.json # optional: gate only on NEW findings
296
+ **Gate the build.** `--fail-on {critical,high,medium,low}` exits 1 for matching findings and 2 when
297
+ requested execution is incomplete. `--require-complete` gates execution without a severity threshold.
298
+ Extractor failures, source read loss/caps, invalid scanner reports, timeouts, and explicitly selected
299
+ missing scanners remain visible in `coverage.json`; partial artifacts are preserved. Optional missing
300
+ unselected scanners are reported as unavailable. `--scanners` requires `--scan`.
301
+
302
+ Every attempt receives a unique directory under `websec-out/runs/`. The atomic `latest` pointer
303
+ advances only after a completed execution has written its artifacts; a partial attempt retains its
304
+ own directory and leaves the previous completed scan selected. Completed execution describes the
305
+ requested checks, not complete protection against vulnerabilities.
306
+
307
+ **Reuse specialist analysis (0.14.0).** Import existing SARIF without executing
308
+ the analyzer or loading any source path/URL referenced by its report:
309
+
310
+ ```bash
311
+ websec run ./my-app --sarif ./codeql.sarif --sarif ./other-analysis.sarif --require-complete
312
+ websec run ./my-python-app --scan --scanners bandit --fail-on high
319
313
  ```
320
314
 
321
- **Local guardrail — `websec hooks`.** Same baseline-diff, run from git instead of CI, so a new lead is
322
- caught before it ever reaches a PR:
315
+ SARIF 2.1.0 import preserves native tool/rule identities, traces and report hashes in
316
+ `sarif-imports.json` and the unified ledger. Safe relative paths are supported; unknown analyzer
317
+ execution, malformed references and caps are visible incomplete checks. Native suppressions remain
318
+ metadata until locally acknowledged. Source freshness stays unverified, and imported absence cannot
319
+ verify a repair. Unique producer fingerprints remain stable; collisions are deliberately report-bound.
320
+
321
+ Bandit is an optional preinstalled executable. The adapter uses built-in defaults, bypasses target
322
+ configuration and ignores `nosec`; its native confidence and CWE remain separate from severity.
323
+ Source-cache payloads have a 64 MiB per-context budget, with read loss visible in coverage. These
324
+ budgets constrain input retention, not the entire Python process's memory usage.
325
+
326
+ **Review changes against a baseline.** `--baseline <prior findings-ledger.json>` tracks new,
327
+ unchanged, changed, reopened, and no-longer-observed findings using versioned semantic identities.
328
+ New, changed, and reopened findings participate in the severity gate. Disappearance means only
329
+ “no longer observed”; it does not prove a repair. Expired or malformed dated acknowledgements reopen
330
+ for review. Legacy fingerprints remain migration aliases; ambiguous aliases cannot hide distinct
331
+ occurrences. A malformed or unreadable supplied baseline makes requested execution incomplete.
332
+
333
+ `repair-plans.json` binds each remediation plan to its original application, source digest, finding,
334
+ and detector scope. This command validates operator-supplied positive and negative reports:
323
335
 
324
336
  ```bash
325
- websec hooks install # advisory post-commit: prints "baseline: N new" after each commit (~1s, never blocks)
326
- websec hooks install --pre-push # blocking gate: fails `git push` on a NEW finding at/above $WEBSEC_HOOK_FAIL_ON (default high)
327
- websec hooks status # show what's installed
337
+ websec repair-verify --plan plan.json --record record.json --rerun findings-ledger.json --evidence-root ./evidence
338
+ ```
339
+
340
+ Verification requires a
341
+ hashed failing negative report for the original build. Reports must identify the same plan, finding,
342
+ test and intended build; the rerun must be complete with unchanged review scope. The command validates
343
+ artifacts offline and never executes their commands. Acceptance is evidence validation, not independent
344
+ execution of tests by websec. See the [validated evidence examples](docs/security-review/examples/README.md)
345
+ for exact dynamic, DAST and repair artifact fields.
346
+
347
+ **GitHub Action** ([`action.yml`](action.yml), 0.14.0): the action installs
348
+ its own trusted checkout, passes inputs as data and uploads the exact current attempt's SARIF,
349
+ including incomplete attempts. `require-complete` defaults to true; `scanners` names explicitly
350
+ required tools when `scan: true`. Outputs expose `run-directory`, `sarif-file` and `execution-complete`.
351
+ Keep the reviewed action checkout separate from untrusted target source. Pin a reviewed 0.14.0-or-later commit when adopting these changes; the historical v0.13.0 tag
352
+ does not include them.
353
+
354
+ **Local guardrail — `websec hooks`.** Advisory and gating runs have separate responsibilities:
355
+
356
+ ```bash
357
+ websec hooks install # advisory post-commit; prints outcome and current artifact path
358
+ websec hooks install --pre-push # severity gate (default high) plus complete-execution check
359
+ websec hooks status
328
360
  websec hooks uninstall
329
361
  ```
330
362
 
331
- The hook appends to (and cleanly removes from) any existing hook, pins its interpreter so it works
332
- under pipx/uv isolation, and honors `WEBSEC_SKIP_HOOK=1` for a one-off override. `WEBSEC_HOOK_SCAN=1`
333
- runs the full static scanners in the hook (slower); the default is fast recon-only.
363
+ A successful pre-push gate accepts a ledger under its severity/scanner policy. Advisory runs and
364
+ failed gates never advance that accepted baseline. The first gate, or a changed policy, checks all
365
+ current findings; later gates compare against the accepted ledger. Retrying an unchanged failed gate
366
+ continues to fail. `WEBSEC_HOOK_FAIL_ON` changes the threshold; `WEBSEC_HOOK_SCAN=1` executes scanners,
367
+ and `WEBSEC_HOOK_SCANNERS` selects required adapters. The default is recon-only.
368
+
369
+ Hooks launch isolated Python bound to the trusted installed package path, including editable source
370
+ installs. They preserve existing shell hooks and refuse automatic insertion into non-shell hooks.
371
+ `WEBSEC_SKIP_HOOK=1` is an explicit one-off override. Native hooks inspect the current working tree,
372
+ not immutable snapshots of every pushed Git object. A missing runtime or concurrent incomplete gate
373
+ blocks pre-push; post-commit remains advisory.
334
374
 
335
375
  **MCP server (any agent, not just Claude Code).** `websec mcp` speaks the Model Context Protocol over
336
376
  stdio, exposing typed tools — `websec_recon`, `websec_findings`, `websec_sarif`, `websec_briefing` — so
@@ -341,10 +381,18 @@ Register it in your MCP client:
341
381
  { "mcpServers": { "websec": { "command": "websec", "args": ["mcp"] } } }
342
382
  ```
343
383
 
344
- Or serve it over **HTTP** so a whole team points one URL at the recon tools (stdlib only — no extra
345
- dependency): `websec mcp --http` (binds `127.0.0.1:8733`; `GET /health` for a load balancer, `POST`
346
- JSON-RPC for calls). It reads local paths and runs recon on them, so it binds to localhost by
347
- default — only expose it (`--host 0.0.0.0`) on a trusted network.
384
+ The optional HTTP transport is loopback-only and requires `WEBSEC_MCP_TOKEN` at startup:
385
+
386
+ ```bash
387
+ # Supply WEBSEC_MCP_TOKEN through your local secret environment.
388
+ websec mcp --http --allow-root /absolute/path/to/project
389
+ ```
390
+
391
+ Repeat `--allow-root` for additional projects; otherwise the startup directory is the allowed root.
392
+ JSON-RPC requests require the bearer token. Host/Origin validation, framing and body limits, bounded
393
+ workers, and an absolute receive deadline constrain the HTTP boundary. `GET /health` remains a
394
+ minimal liveness endpoint. Non-loopback binding is refused. Stdio uses the launching process's trust
395
+ and filesystem permissions.
348
396
 
349
397
  **Blast-radius from a knowledge graph (opt-in, zero-dep).** If your repo has a
350
398
  [`graphify`](https://github.com/Graphify-Labs/graphify) graph at `graphify-out/graph.json` (or you
@@ -359,16 +407,66 @@ websec run . --scan # auto-detects graphify-out/graph.json if present
359
407
  Each mapped finding gains a `graph` block (`blast_radius`, a `dependents` sample, `community`) in
360
408
  `findings-ledger.json`, and the ledger a `graph_enrichment` summary. It reads the graph as plain
361
409
  JSON — it never imports tree-sitter, so websec stays **stdlib-only, zero runtime deps** — and a
362
- missing, malformed, or oversized graph is silently skipped, never failing the run.
410
+ missing implicit graph is optional. Invalid implicit graphs produce a visible diagnostic; an explicitly
411
+ requested malformed, unreadable, excluded, or oversized graph makes requested execution incomplete.
363
412
 
364
413
  **Versioned contract.** `FACTS.json`, `findings-ledger.json`, and `findings.envelope.json` all carry a
365
- `schema_version`; the JSON Schemas ship in the package (`schemas/facts.schema.json`,
366
- `schemas/ledger.schema.json`) so downstream tooling can validate against a stable shape.
414
+ `schema_version: "2.0"`; JSON Schemas ship in the package (`schemas/facts.schema.json`,
415
+ `schemas/ledger.schema.json`, `schemas/coverage.schema.json`). Coverage is embedded in facts, ledger,
416
+ and envelope, with SARIF execution status reflecting partial checks. Fingerprint V2 preserves V1
417
+ migration aliases. SARIF lifecycle states use its legal enum and retain richer lifecycle metadata in
418
+ properties. `.websec-ignore` is read from the selected target by default, through the same contained
419
+ read policy; an unrelated working directory no longer contributes implicit suppressions.
420
+
421
+ ## Named profiles and the research workbench
422
+
423
+ ```bash
424
+ websec capabilities # offline profile/check/limitation matrix
425
+ websec intel status # offline freshness and provenance
426
+ websec intel refresh # explicit public FIRST/CISA downloads
427
+ websec intel reassess --ledger prior-ledger.json --out reassessment.json
428
+ websec research catalog # discover shipped suites without evaluating
429
+ websec research evaluate --suite control-scope --out suite-evaluation.json
430
+ websec research example --out proposal.json # current detector-bound synthetic example
431
+ websec research evaluate --proposal proposal.json --out evaluation.json
432
+ ```
433
+
434
+ `--out` writes a new JSON file and refuses existing files. Intel commands accept `--cache-dir`;
435
+ status and reassessment never fetch automatically. Reassessment updates known CVEs while preserving
436
+ source evidence and finding identities. Newly exploited or materially higher-risk acknowledged CVEs
437
+ can reopen for review. A detector change requests a source rescan; stale/unavailable intelligence
438
+ remains explicit and reassessment exits 2. Discovering new dependency CVEs requires a fresh inventory
439
+ and advisory scan; unchanged-source reassessment is not such a scan.
440
+
441
+ The capability matrix exposes nine bounded profiles:
442
+
443
+ | Profile | Named checks | Main limits |
444
+ |---|---|---|
445
+ | Java/Spring | Direct request-to-command/query syntax; literal Spring routes | No binding resolution, aliases or cross-function flow |
446
+ | .NET | Direct command/raw-query syntax; literal ASP.NET routes | No framework convention or route-group resolution |
447
+ | Go | Direct command/query arguments, including context variants | No indirect request aliases or full data flow |
448
+ | Ruby | Direct command/raw-query syntax with parameterized forms distinguished | No whole-Rails authorization or dynamic metaprogramming analysis |
449
+ | PHP | Direct command/query request reads | No whole-application flow analysis |
450
+ | Android | Explicit manifest cleartext setting | Network-security configuration, manifest merges and API levels need review |
451
+ | iOS | Explicit ATS exception keys | Scope and OS precedence need review; not proof of an insecure connection |
452
+ | Rust | Explicit reqwest invalid-certificate acceptance | Receiver/binding and runtime reachability remain unverified |
453
+ | C/C++ | Source inventory and manual memory-safety review | No automated memory-safety analysis |
454
+
455
+ Nearest manifest boundaries identify services and keep their route/datastore evidence separate.
456
+ Coverage records each selected check as completed, unknown or manual, with examined counts and
457
+ limitations. Invalid analyzed configuration is an execution error. A language label or a completed
458
+ no-match check does not mean comprehensive support or a secure service.
459
+
460
+ Research proposals are data-only, provenance-described candidates evaluated against an allowlist of
461
+ shipped detectors. Source snippets become disposable text fixtures and are never executed. Results
462
+ separate development/holdout TP/FN/TN/FP/unknown counts. Passing means **eligible for human review**,
463
+ not automatic detector promotion. The authored synthetic holdout is regression evidence, not a
464
+ statistically independent production benchmark or proof of competitor superiority.
367
465
 
368
466
  ## Proof harness
369
467
 
370
468
  `websec proof` clones a vuln-app corpus (VAmPI, NodeGoat, DVGA) and scores whether recon surfaces
371
- each app's documented attack surface — a deterministic, CI-trackable proxy (currently **10/10**).
469
+ each app's documented attack surface — a deterministic, CI-trackable proxy (historical **10/10**, not rerun for this detector revision).
372
470
  The real kill-criterion (does the briefing lift an agent's bug-finding vs a generic prompt?) is the
373
471
  manual A/B in [`corpus/PROOF-PROTOCOL.md`](corpus/PROOF-PROTOCOL.md). Full methodology, calibrated
374
472
  precision numbers, and the competitor-comparison protocol: [`BENCHMARKS.md`](BENCHMARKS.md).
@@ -379,20 +477,20 @@ precision numbers, and the competitor-comparison protocol: [`BENCHMARKS.md`](BEN
379
477
  *(attack-class, confidence)* bucket is a **real** documented vuln, and writes `calibration.json`
380
478
  (shipped + applied at runtime). Each finding then carries `P(real)` with a **95% Wilson confidence
381
479
  interval** and the sample size `n` — so "MEDIUM" stops being a vibe and becomes "real ~57% of the
382
- time on the corpus (CI 43–70%, n=51)". A finding that matches no documented vuln counts as a false
383
- positive (the corpus is well-documented). **Honest caveats:** the corpus is *deliberately
480
+ time on the historical corpus (CI 43–70%, n=51)". Unmatched findings now remain **unknown**,
481
+ unless explicit negative evidence labels them false. Historical measurements using unmatched-as-false
482
+ labels are not a fresh measurement of this detector revision. **Honest caveats:** the corpus is *deliberately
384
483
  vulnerable*, so the rates skew **optimistic** for clean production code, and small samples mean
385
484
  **wide intervals** — the CI is the headline, not the point estimate, and both tighten as the corpus
386
485
  grows. With thin data a bucket falls back to the per-label aggregate, then to a clearly-flagged
387
486
  uncalibrated prior. No ML, no deps — binomial proportion + Wilson interval; the structure upgrades to
388
487
  isotonic regression if a large labeled set ever exists.
389
488
 
390
- **It self-improves.** `websec dynamic` is an *oracle*: a write that executes unauthenticated is a
391
- confirmed real vuln, and a recon-flagged endpoint that turns out auth-enforced is a confirmed false
392
- positive. Every dynamic run folds those confirmed labels into a **local overlay** (`~/.cache/websec-validator/`,
393
- gitignored, never shipped) that's merged on top of the public table — so the numbers **personalize to
394
- your apps** the more you run it, with no extra step and nothing leaving your machine. To label by hand
395
- instead, feed a `{attack_class, confidence, is_real}` file to `websec calibrate --ingest`.
489
+ **Evidence controls learning.** Dynamic status codes and scanner silence are observations, not
490
+ truth labels. Only evidence-backed labels are admitted to the local calibration overlay; legacy
491
+ unproven samples are quarantined. Unknown-only input reports no successful measurement and leaves
492
+ existing fitted calibration unchanged. A DAST hit may confirm a scoped lead; absence from a report
493
+ cannot refute it. Manual labels should include reviewer/evidence provenance, not only a boolean.
396
494
 
397
495
  ## Dynamic phase (v2 — read-only so far)
398
496
 
@@ -402,7 +500,7 @@ GET endpoints recon discovered.
402
500
 
403
501
  ```bash
404
502
  cp dynamic-config.example.json dynamic-config.json # TEST target + role creds (gitignored)
405
- websec run ./my-app # static recon → websec-out/FACTS.json
503
+ websec run ./my-app # static recon → websec-out/latest/FACTS.json
406
504
  websec dynamic --config dynamic-config.json --facts websec-out/FACTS.json
407
505
  # → "14/14 cross-tenant GET reads blocked — all isolated" (or 🚨 LEAK with the exact endpoint)
408
506
  ```
@@ -419,54 +517,41 @@ upload, cross-tenant BOLA, role/authz gaps).
419
517
  ## Tests
420
518
 
421
519
  ```bash
422
- python3 -m unittest discover -s tests # stdlib only, no Noir/network — 324 tests
520
+ python3 -m unittest discover -s tests # stdlib only; synthetic/local-loopback tests, no public network
423
521
  ```
424
522
 
425
523
  ## Releasing (maintainer)
426
524
 
427
- Published to PyPI via **Trusted Publishing** (OIDC — no API token in the repo). To cut a release:
525
+ The release train is PR-driven. Keep the version in `pyproject.toml` as the single source of truth,
526
+ add the matching dated changelog and migration guidance, and validate the combined release branch.
527
+ In the 0.x series, feature additions or incompatible contracts increment the minor version.
428
528
 
429
- ```bash
430
- # 1. bump the version in pyproject.toml (e.g. 0.2.1 → 0.2.2)
431
- # 2. tag it and push — the tag must match pyproject's version (CI verifies):
432
- git tag v0.2.2 && git push origin v0.2.2
433
- # → publish.yml builds, INSTALLS + smoke-tests the wheel (version match,
434
- # calibration ships, a real `websec run`), then publishes. A bad build fails
435
- # CI instead of reaching PyPI — so you never have to yank after the fact.
436
- ```
529
+ After reviewing current main and overlapping PRs, merge the approved release PR only after its
530
+ required CI checks pass. The resulting main commit subject must be `release: v0.14.0` for this
531
+ release. [release-tag.yml](.github/workflows/release-tag.yml) validates that subject against the
532
+ package version, creates the matching tag/GitHub Release, and explicitly dispatches
533
+ [publish.yml](.github/workflows/publish.yml) at that tag. A version edit alone does not publish.
437
534
 
438
- One-time PyPI setup (before the first release): on pypi.org → **Account → Publishing → Add a pending
439
- publisher** with project `websec-validator`, owner `raccioly`, repo `websec-validator`, workflow
440
- `publish.yml`, environment `pypi`. The project is created on the first successful publish.
535
+ The publish workflow builds and installs the wheel, verifies its version and smoke test, then uses
536
+ PyPI Trusted Publishing through the `pypi` environment. Verify the completed workflow, tag,
537
+ GitHub Release and PyPI artifact before reporting publication success. Do not bypass failed checks
538
+ with manual tags, and do not describe a locally built wheel as published.
441
539
 
442
- > Two independent channels, two update mechanisms: the **CLI** ships to **PyPI** (semver releases,
443
- > `pip install --upgrade`); the **Claude Code plugin** ships from **git** (tracks latest commit,
444
- > refreshed via `/plugin marketplace update`).
540
+ The CLI and Claude plugin have separate delivery paths: the CLI uses PyPI semver releases; the
541
+ plugin uses reviewed Git content and explicit marketplace refresh. Plugin manifests deliberately
542
+ omit an independent version field. Check both sources when diagnosing stale instructions.
445
543
 
446
544
  ## Status / roadmap
447
545
 
448
- **Done:** 20-extractor recon (incl. a **WebExtension client-trust extractor** — client-side entitlement
449
- gate / over-broad host permissions / `world:"MAIN"` / unvalidated external messages — a
450
- **license/entitlement verification-trust** pass — revocation-bypass + no per-license usage cap, provider-
451
- agnostic — **Deno/Supabase-edge + Chrome-extension** stack & route modeling, an **authz-correctness data-flow extractor** — unsigned-cookie /
452
- claim-keyed authz / transaction-local RLS — plus **CORS-misconfig**, **SRI**, **host-header
453
- open-redirect** and **SSRF-redirect-hardening** classes, schema/entity → mass-assignment targeting, the **AWS-CDK /
454
- managed-AppSync / VTL boundary**, **upload-security** + **PII-output-boundary** + **redirect-SSRF**
455
- + **password-reuse** classes, a **man-in-the-browser / tamperable-display** class, an **LLM / AI-agent
456
- extractor** (OWASP LLM Top 10 — prompt injection / insecure output / excessive agency / unbounded
457
- generation / guardrail fail-open), a **crypto-usage extractor** (weak password hash / jwtVerify-without-
458
- algorithms / predictable principal), **docker-compose host-takeover** + **`.gitleaksignore`
459
- secret-suppression** audits, and a **reverse-proxy prefix-escape** detector), cross-tool de-dup +
460
- **bundled Semgrep rules**, **router-mount-auth modeling** (cuts the dominant Express-monorepo
461
- missing-auth false positive), tailored probe staging, agent briefing, traceable findings ledger with
462
- **calibrated confidence (CJE — Wilson CIs)**, proof harness, test suite (285), **Docker bundle** (all
463
- scanners + Noir, arch-aware), **dynamic phase v1** (authenticated read-only cross-tenant BOLA —
464
- validated live, reproduced a hand-pentest's 14/14). Validated against the **REF-PENTEST pen test +
465
- retest** and re-validated on a large real-world LLM-agent monorepo (HIGH-finding noise 178 → 15, AI +
466
- crypto surfaces newly covered).
467
- **Next:** dynamic write-verb BOLA + JWT/auth probes + ZAP/Nuclei two-role diff (gated, they mutate),
468
- calibration on hand-labeled real repos (more representative base rate), ASVS index lookup, optional
469
- model-SDK adapters for no-agent fallback.
546
+ Version 0.14.0 provides 22 recon extractors, ten optional scanner entries, nine named profiles,
547
+ SARIF import/export, bounded source/query analysis, explicit coverage and lifecycle evidence,
548
+ intelligence/research commands, and opt-in agent/hook/CI adoption. These are scoped review tools;
549
+ manual profiles, unknown routes, dynamic behavior and unsupported syntax remain limitations.
550
+
551
+ The [migration guide](docs/MIGRATING-0.14.0.md) explains schema 2.0 and gate/artifact changes.
552
+ The [remaining-work specification](specs/001-continuous-security-improvement/spec.md) consolidates
553
+ unresolved gaps and acceptance tests so overlapping old-base PRs do not become competing roadmaps.
554
+ Existing runtime probes are opt-in; their earlier isolated results are not current deployment proofs.
470
555
 
471
556
  ## Using it as a Claude Code skill / plugin
472
557
 
@@ -487,7 +572,8 @@ works the findings with you. For other agents the universal interface is unchang
487
572
  - The install id is `plugin@marketplace` — `websec-validator@websec-plugins` (the marketplace name
488
573
  from `.claude-plugin/marketplace.json`), **not** `@websec-validator` (the repo).
489
574
  - The plugin only delivers the *instructions*; the actual scanning is a **separate Python CLI**
490
- (`websec`). The skill's Step 0 installs it (`pipx install websec-validator`) if it's missing.
575
+ (`websec`). The skill checks the selected engine's version/source and reports a missing engine;
576
+ installation or upgrades require an operator-selected trusted source.
491
577
  - **`/plugin …` only works in the terminal CLI.** In the Claude **app / Agent SDK** (no `/plugin`),
492
578
  configure it in `.claude/settings.json` instead:
493
579
  ```json
@@ -510,3 +596,38 @@ This tool productizes that hand-written methodology into something an AI agent c
510
596
  ## License
511
597
 
512
598
  [MIT](LICENSE) © Ricardo Accioly
599
+
600
+ ## Latest source review and adoption
601
+
602
+ The [upstream overlap review](docs/security-review/upstream-overlap-review.md) compares selected
603
+ open PRs at exact heads with the working implementation. Recompare both target and PR heads before
604
+ future integration, then rerun combined checks; overlapping old-base PRs are not automatically safe
605
+ to apply. No PR was merged as part of that review.
606
+
607
+ Django URL discovery parses supported declarations and local include bindings without importing
608
+ settings or executing target code. Unknown mounts remain route candidates with explicit uncertainty.
609
+ A scoped read of pinned Linkding produced 53 candidates and one dynamic mount gap, not 53 confirmed
610
+ HTTP paths. Framework metadata, native React views and browser renderers are distinguished; actual
611
+ browser/HTTP hints remain review scope rather than proof of deployment. See the dated
612
+ [validation record](docs/security-review/validation.md) for snapshot-bound results.
613
+
614
+
615
+ Opt-in [pre-commit and PR/weekly workflow examples](docs/integrations/README.md) reuse the existing
616
+ CLI, native post-commit/pre-push hooks and composite Action. The local example requires an explicit
617
+ trusted Python environment; the hosted example requires a reviewed engine commit and keeps target
618
+ code separate. The examples do not install hooks or activate a hosted schedule. Validation covers
619
+ actual isolated CLI arguments and limited configuration structure, not a full pre-commit/YAML or
620
+ hosted workflow lifecycle.
621
+
622
+ `research catalog` discovers the shipped `control-scope` suite; `research evaluate --suite
623
+ control-scope` evaluates all three proposals and 24 authored cases. Aggregate and per-proposal
624
+ results retain exact detector revision, partition metrics and uncertainty. An empty, regressed or
625
+ revision-inconsistent suite exits 2. Eligibility means human review, not installation, independent
626
+ real-project validation or measured vulnerability recall.
627
+
628
+
629
+ Assigned Python SQL query review now follows supported local assignments and branch joins to the
630
+ query sink, preserving source traces and separate bound-value controls. Loops and cross-function
631
+ behavior remain limited and disclosed. The [final fourth-phase validation](docs/security-review/validation.md)
632
+ records 1082 tests across two Python versions and 15 isolated-wheel checks; historical corpus
633
+ scores remain separate and do not establish full protection.