websec-validator 0.22.3__tar.gz → 0.23.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 (250) hide show
  1. {websec_validator-0.22.3/src/websec_validator.egg-info → websec_validator-0.23.0}/PKG-INFO +45 -44
  2. {websec_validator-0.22.3 → websec_validator-0.23.0}/README.md +44 -43
  3. {websec_validator-0.22.3 → websec_validator-0.23.0}/pyproject.toml +1 -1
  4. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/baseline.py +3 -0
  5. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/cli.py +5 -0
  6. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/clusters.py +10 -0
  7. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/dast_predict.py +1 -0
  8. websec_validator-0.23.0/src/websec_validator/dependency_fix.py +319 -0
  9. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/explain.py +2 -0
  10. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/findings.py +12 -0
  11. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/fixprompt.py +2 -0
  12. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/hooks.py +38 -2
  13. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/scanners.py +199 -13
  14. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/schemas/ledger.schema.json +3 -2
  15. {websec_validator-0.22.3 → websec_validator-0.23.0/src/websec_validator.egg-info}/PKG-INFO +45 -44
  16. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator.egg-info/SOURCES.txt +2 -0
  17. websec_validator-0.23.0/tests/test_dependency_fix.py +387 -0
  18. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_hooks_contracts.py +29 -0
  19. {websec_validator-0.22.3 → websec_validator-0.23.0}/LICENSE +0 -0
  20. {websec_validator-0.22.3 → websec_validator-0.23.0}/setup.cfg +0 -0
  21. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/__init__.py +0 -0
  22. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/__main__.py +0 -0
  23. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/agenthook.py +0 -0
  24. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/attest.py +0 -0
  25. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/attribution.py +0 -0
  26. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/briefing.py +0 -0
  27. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/calibration.json +0 -0
  28. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/calibration.py +0 -0
  29. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/constitution.py +0 -0
  30. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/corpus.json +0 -0
  31. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/coverage.py +0 -0
  32. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/dast_ingest.py +0 -0
  33. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/demo.py +0 -0
  34. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/diffscope.py +0 -0
  35. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/dynamic.py +0 -0
  36. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/enrichment.py +0 -0
  37. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/__init__.py +0 -0
  38. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/agent_config.py +0 -0
  39. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/assigned_flow.py +0 -0
  40. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/auth.py +0 -0
  41. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/authz.py +0 -0
  42. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/authz_dataflow.py +0 -0
  43. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/base.py +0 -0
  44. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/client_exposure.py +0 -0
  45. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/client_integrity.py +0 -0
  46. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/connexion_routes.py +0 -0
  47. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/crypto_usage.py +0 -0
  48. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/dependencies.py +0 -0
  49. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/django_responses.py +0 -0
  50. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/django_urls.py +0 -0
  51. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/framework_auth.py +0 -0
  52. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/graphql.py +0 -0
  53. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/iac_ci.py +0 -0
  54. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/integrations.py +0 -0
  55. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/llm_security.py +0 -0
  56. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/pii_exposure.py +0 -0
  57. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/policy_consistency.py +0 -0
  58. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/profiles.py +0 -0
  59. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/python_uploads.py +0 -0
  60. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/routes.py +0 -0
  61. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/schemas.py +0 -0
  62. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/sql_flow.py +0 -0
  63. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/stack.py +0 -0
  64. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/surface.py +0 -0
  65. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/syntax.py +0 -0
  66. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/tenant.py +0 -0
  67. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/transport_security.py +0 -0
  68. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/trpc_routes.py +0 -0
  69. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/upload_security.py +0 -0
  70. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/extractors/webext.py +0 -0
  71. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/feedback.py +0 -0
  72. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/formats.py +0 -0
  73. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/fpfilter.py +0 -0
  74. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/gate.py +0 -0
  75. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/git_read.py +0 -0
  76. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/graph_enrich.py +0 -0
  77. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/init_scope.py +0 -0
  78. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/install.py +0 -0
  79. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/intel.py +0 -0
  80. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/inventory.py +0 -0
  81. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/literal_yaml.py +0 -0
  82. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/mcp_server.py +0 -0
  83. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/openapi.py +0 -0
  84. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/output.py +0 -0
  85. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/pairs.json +0 -0
  86. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/probes.py +0 -0
  87. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/proof.py +0 -0
  88. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/provenance.py +0 -0
  89. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/recon.py +0 -0
  90. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/registry.py +0 -0
  91. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/repairs.py +0 -0
  92. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/report.py +0 -0
  93. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/research/control-scope-cases.json +0 -0
  94. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/research/example.json +0 -0
  95. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/research/profile-cases.json +0 -0
  96. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/research.py +0 -0
  97. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/rules/error-stack-disclosure.yml +0 -0
  98. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/rules/insecure-default-secret.yml +0 -0
  99. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/sarif_ingest.py +0 -0
  100. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/schemas/coverage.schema.json +0 -0
  101. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/schemas/facts.schema.json +0 -0
  102. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/synthetic.py +0 -0
  103. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/demo/app.py.txt +0 -0
  104. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/demo/requirements.txt.txt +0 -0
  105. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/_lib.bash +0 -0
  106. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/_lib.py +0 -0
  107. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/appsync-cswsh.sh +0 -0
  108. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/appsync-introspection.sh +0 -0
  109. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/appsync-subscription-bola.sh +0 -0
  110. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/bola-cross-tenant.sh +0 -0
  111. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/bola-write-verbs.py +0 -0
  112. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/client-integrity-checklist.sh +0 -0
  113. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/compare-roles.sh +0 -0
  114. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/dlp-bypass-offline.py +0 -0
  115. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/entitlement-abuse.sh +0 -0
  116. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/error-disclosure-probe.sh +0 -0
  117. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/forged-token.sh +0 -0
  118. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/hs256-brute-force.py +0 -0
  119. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/jwt-attacks.sh +0 -0
  120. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/mass-assignment.py +0 -0
  121. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/password-reuse.sh +0 -0
  122. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/pii-output-diff.sh +0 -0
  123. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/race-conditions.py +0 -0
  124. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/rate-limit-burst.sh +0 -0
  125. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/s3-assess.sh +0 -0
  126. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/ssrf-probes.sh +0 -0
  127. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/unauth-baseline.sh +0 -0
  128. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/upload-matrix.sh +0 -0
  129. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/probes/webhook-forgery.py +0 -0
  130. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/reports/FINDINGS-SUMMARY.md.template +0 -0
  131. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/reports/access-control-matrix.md.template +0 -0
  132. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/reports/findings-triage.md.template +0 -0
  133. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/reports/pentest-handover-brief.md.template +0 -0
  134. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/templates/reports/per-tool-FINDINGS.md.template +0 -0
  135. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/testplan.py +0 -0
  136. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator/updates.py +0 -0
  137. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator.egg-info/dependency_links.txt +0 -0
  138. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator.egg-info/entry_points.txt +0 -0
  139. {websec_validator-0.22.3 → websec_validator-0.23.0}/src/websec_validator.egg-info/top_level.txt +0 -0
  140. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_action_contracts.py +0 -0
  141. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_adoption_checkout.py +0 -0
  142. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_adoption_contracts.py +0 -0
  143. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_agent_hook.py +0 -0
  144. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_agent_hosts.py +0 -0
  145. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_agent_launch_specs.py +0 -0
  146. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_analysis_scope.py +0 -0
  147. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_assurance_regressions.py +0 -0
  148. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_attest.py +0 -0
  149. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_attribution.py +0 -0
  150. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_auth_control_scope.py +0 -0
  151. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_brief_artifacts.py +0 -0
  152. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_calibration_claimspec.py +0 -0
  153. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_calibration_review.py +0 -0
  154. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_calibration_scoring.py +0 -0
  155. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_cli_contract_fixes.py +0 -0
  156. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_compare_reports.py +0 -0
  157. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_connexion_yaml.py +0 -0
  158. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_constitution.py +0 -0
  159. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_container_contracts.py +0 -0
  160. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_control_scope_research.py +0 -0
  161. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_coverage.py +0 -0
  162. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_crypto_comparisons.py +0 -0
  163. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_dast_ingest.py +0 -0
  164. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_dast_predict.py +0 -0
  165. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_demo.py +0 -0
  166. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_detector_fp_followups.py +0 -0
  167. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_detector_precision.py +0 -0
  168. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_diffscope.py +0 -0
  169. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_django_responses.py +0 -0
  170. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_django_routes.py +0 -0
  171. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_docs_reference.py +0 -0
  172. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_dynamic_login_shape.py +0 -0
  173. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_enrichment.py +0 -0
  174. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_entitlement_webext.py +0 -0
  175. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_evidence_verdicts.py +0 -0
  176. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_explain.py +0 -0
  177. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_explained_brief.py +0 -0
  178. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_extension_controls.py +0 -0
  179. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_feedback.py +0 -0
  180. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_feedback_calibration_loop.py +0 -0
  181. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_field_report_195_197.py +0 -0
  182. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_field_report_2026_09.py +0 -0
  183. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_fixprompt_fpfilter.py +0 -0
  184. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_flow_budget_fixes.py +0 -0
  185. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_formats.py +0 -0
  186. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_fp_sources.py +0 -0
  187. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_gate_and_bypass_record.py +0 -0
  188. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_gate_command.py +0 -0
  189. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_gate_policy_and_scope.py +0 -0
  190. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_gitleaks_worktree.py +0 -0
  191. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_graph_enrich.py +0 -0
  192. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_grounding_integration.py +0 -0
  193. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_hardening.py +0 -0
  194. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_hooks.py +0 -0
  195. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_ignore_claimspec.py +0 -0
  196. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_install.py +0 -0
  197. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_install_contracts.py +0 -0
  198. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_intel.py +0 -0
  199. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_inventory.py +0 -0
  200. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_issue_147_sarif_locations.py +0 -0
  201. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_jules_201_202_hardened.py +0 -0
  202. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_jules_pr_hardening.py +0 -0
  203. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_language_fixtures.py +0 -0
  204. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_lifecycle.py +0 -0
  205. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_mcp.py +0 -0
  206. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_mcp_security.py +0 -0
  207. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_module_entrypoint.py +0 -0
  208. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_openapi.py +0 -0
  209. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_output_boundaries.py +0 -0
  210. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_pentest_regressions.py +0 -0
  211. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_pii_projection_fp.py +0 -0
  212. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_precommit_lifecycle.py +0 -0
  213. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_probe_transport_boundaries.py +0 -0
  214. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_profiles.py +0 -0
  215. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_proof_revisions.py +0 -0
  216. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_provenance.py +0 -0
  217. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_public_precision.py +0 -0
  218. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_python_uploads.py +0 -0
  219. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_read_boundary.py +0 -0
  220. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_read_performance.py +0 -0
  221. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_recon.py +0 -0
  222. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_registry_existence.py +0 -0
  223. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_remaining_control_scope.py +0 -0
  224. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_research.py +0 -0
  225. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_research_cli.py +0 -0
  226. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_retained_calibration.py +0 -0
  227. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_retained_flows.py +0 -0
  228. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_retained_frameworks.py +0 -0
  229. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_retained_precision.py +0 -0
  230. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_sarif_ingest.py +0 -0
  231. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_sarif_workbench.py +0 -0
  232. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_scanner_completeness_fixes.py +0 -0
  233. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_scanner_contracts.py +0 -0
  234. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_scope_paths_fixes.py +0 -0
  235. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_security_fix_boundaries.py +0 -0
  236. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_source_budget.py +0 -0
  237. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_sql_flow.py +0 -0
  238. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_stack_metadata.py +0 -0
  239. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_subprocess_stdin.py +0 -0
  240. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_suppression_and_misc_fixes.py +0 -0
  241. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_synthetic_pairs.py +0 -0
  242. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_testplan.py +0 -0
  243. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_transport_pii_scope.py +0 -0
  244. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_transport_stack_scope.py +0 -0
  245. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_triage.py +0 -0
  246. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_trpc_routes.py +0 -0
  247. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_unanalyzed_cli.py +0 -0
  248. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_unanalyzed_coverage.py +0 -0
  249. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_updates.py +0 -0
  250. {websec_validator-0.22.3 → websec_validator-0.23.0}/tests/test_workbench_cli.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: websec-validator
3
- Version: 0.22.3
3
+ Version: 0.23.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
@@ -39,37 +39,38 @@ Dynamic: license-file
39
39
 
40
40
  **English** · [Português (Brasil)](https://github.com/raccioly/websec-validator/blob/main/docs/i18n/pt-BR/README.md) · [Español](https://github.com/raccioly/websec-validator/blob/main/docs/i18n/es/README.md) · [简体中文](https://github.com/raccioly/websec-validator/blob/main/docs/i18n/zh-CN/README.md)
41
41
 
42
- A senior pentester's "here's what to test and how" handoff — auto-generated from your repo, for your AI agent to execute.
42
+ A handoff from a senior pentester that says what to test and how. The tool generates it from your repo, and your AI agent carries it out.
43
43
 
44
44
  <!-- docguard:quality negation-load off — "no LLM / no server / no running app / not a SaaS / never touches prod" is this tool's core positioning; defining it by contrast with the scanners-and-SaaS it deliberately is NOT is intentional, not a phrasing defect. -->
45
45
 
46
46
  > Local-first security recon that **briefs your AI coding agent**. It does the deterministic
47
- > half — read supported source, map the visible attack surface, and stage a probe library tailored to what it
48
- > found — then hands your agent (Claude Code, Codex, Gemini, Cursor) a marching-orders briefing.
49
- > `websec run` needs nothing but the code; add `--scan` to also run and de-duplicate whichever
50
- > static scanners you have installed. **Code in, artifacts out. No LLM in the tool; no server or
47
+ > half of the work. It reads supported source, maps the visible attack surface, and stages a probe
48
+ > library for what it found. Then it gives your agent (Claude Code, Codex, Gemini, Cursor) a briefing
49
+ > with its orders.
50
+ > `websec run` needs only the code. Add `--scan` to also run the static scanners you have installed
51
+ > and remove duplicate findings. **Code in, artifacts out. No LLM in the tool; no server or
51
52
  > running app required for the core pass.**
52
53
 
53
54
  [![websec-validator demo](https://raw.githubusercontent.com/raccioly/websec-validator/main/assets/demo.gif)](https://github.com/raccioly/websec-validator/blob/main/assets/demo.gif)
54
55
 
55
- **New here?** Read the eight-page technical brief — what it reads, how a finding earns its severity,
56
+ **New here?** Read the eight-page technical brief. It covers what the tool reads, how a finding earns its severity,
56
57
  what it refuses to say, and the field evidence:
57
58
  **[raccioly.github.io/websec-validator](https://raccioly.github.io/websec-validator/websec-explained.html)**
58
59
  · [PDF](https://raccioly.github.io/websec-validator/websec-explained.pdf). The reviewed v0.21.0 snapshot
59
60
  has selected fact assertions in `tests/test_explained_brief.py` and an HTML/PDF/renderer hash binding
60
- in `tests/test_brief_artifacts.py`. Prose accuracy and rendered layout still require review;
61
- see [rebuilding the brief](https://github.com/raccioly/websec-validator/blob/main/CONTRIBUTING.md#publishing-the-technical-brief).
61
+ in `tests/test_brief_artifacts.py`. A person must still review the prose accuracy and the rendered layout.
62
+ See [rebuilding the brief](https://github.com/raccioly/websec-validator/blob/main/CONTRIBUTING.md#publishing-the-technical-brief).
62
63
 
63
- It is *not* an autonomous scanner and *not* a SaaS. It's the missing front-half: the thing that
64
- turns a repo into a precise, fact-grounded security brief an AI agent (with a human in the loop)
65
- can act on. How it works and the reasoning behind every check:
64
+ It is *not* an autonomous scanner and *not* a SaaS. It is the front half that was missing. It
65
+ turns a repo into a precise security brief, based on facts, that an AI agent can act on with a human in the loop.
66
+ How it works and the reasoning behind every check:
66
67
  [concepts](https://github.com/raccioly/websec-validator/blob/main/docs/concepts/how-it-works.md) ·
67
68
  [methodology](https://github.com/raccioly/websec-validator/blob/main/docs/METHODOLOGY.md).
68
69
 
69
- **Part of the Guard family**, three tools that each keep one kind of claim honest:
70
+ **Part of the Guard family.** Three tools each keep one kind of claim honest:
70
71
  [**DocGuard**](https://github.com/raccioly/docguard) validates documentation against the code it
71
- describes, [**TestGuard**](https://github.com/raccioly/testguard) checks that tests actually
72
- establish what they assert, and websec-validator does the same for security findings — every
72
+ describes. [**TestGuard**](https://github.com/raccioly/testguard) checks that tests actually
73
+ establish what they assert. websec-validator does the same for security findings. Every
73
74
  finding carries its evidence, its standard, and a calibrated probability that it is real.
74
75
 
75
76
  ## Getting Started — just point it at your repo
@@ -80,9 +81,9 @@ finding carries its evidence, its standard, and a calibrated probability that it
80
81
  > websec-validator`, or github.com/raccioly/websec-validator). It's local and read-only — read the
81
82
  > repo and follow its briefing. I own this code and authorize the review."*
82
83
 
83
- It installs, runs, and walks the findings with you. Phrasing it as a *defensive review of your own
84
- code* matters: it's the difference between an agent that just gets to work and one that stops to
85
- confirm you're authorized. Every path ends in the same `AGENT-BRIEFING.md` your agent acts on:
84
+ The agent installs the tool, runs it, and walks through the findings with you. Say *defensive review of your own
85
+ code*. With that phrase, an agent starts work. Without it, an agent can stop to
86
+ ask if you are authorized. Every path ends in the same `AGENT-BRIEFING.md` that your agent acts on:
86
87
 
87
88
  | Path | One-time setup | Then |
88
89
  |---|---|---|
@@ -94,7 +95,7 @@ confirm you're authorized. Every path ends in the same `AGENT-BRIEFING.md` your
94
95
 
95
96
  Already have a codebase with history, tests and fixtures? Follow
96
97
  **[Adopting websec in an existing project](https://github.com/raccioly/websec-validator/blob/main/docs/guides/existing-projects.md)**:
97
- scope out non-product code, run, triage, record a baseline, then turn on gating in phases.
98
+ scope out non-product code, run, triage, record a baseline, then turn on the gate in phases.
98
99
 
99
100
  ## Install
100
101
 
@@ -105,10 +106,10 @@ websec --version
105
106
  websec doctor # which optional scanners are installed, and are they compatible?
106
107
  ```
107
108
 
108
- Zero Python runtime dependencies. External scanners (Trivy, OSV-Scanner, Gitleaks, Semgrep,
109
- Checkov, and per-language Bandit/gosec/Brakeman) are used **when present** and run only with
110
- `--scan`; Prowler is detected and reported, not executed. Every channel — pip, uv, Docker, source, offline/air-gapped — and per-OS scanner
111
- setup: **[Installation](https://github.com/raccioly/websec-validator/blob/main/docs/installation.md)**.
109
+ The tool has zero Python runtime dependencies. It uses external scanners (Trivy, OSV-Scanner, Gitleaks, Semgrep,
110
+ Checkov, and per-language Bandit/gosec/Brakeman) **when present**, and they run only with
111
+ `--scan`. It detects and reports Prowler but does not execute it. For every install channel (pip, uv, Docker, source, offline/air-gapped) and per-OS scanner
112
+ setup, see **[Installation](https://github.com/raccioly/websec-validator/blob/main/docs/installation.md)**.
112
113
 
113
114
  ## Usage
114
115
 
@@ -124,21 +125,21 @@ websec mcp # typed recon tools for any MCP client, o
124
125
  ```
125
126
 
126
127
  Then point your agent at the output: **"Read `websec-out/latest/AGENT-BRIEFING.md` and follow it."**
127
- Each attempt gets its own `websec-out/runs/<id>/` directory; `latest` moves only after a completed run.
128
+ Each attempt gets its own `websec-out/runs/<id>/` directory. `latest` moves only after a completed run.
128
129
  Every subcommand and option: [CLI reference](https://github.com/raccioly/websec-validator/blob/main/docs/reference/cli.md).
129
130
 
130
131
  ## What you get (`websec-out/`)
131
132
 
132
133
  | Artifact | What it is |
133
134
  |---|---|
134
- | `AGENT-BRIEFING.md` | **The product.** Marching orders: detected surface, the access-control map, targeting, findings, the method, and the staged probe list. |
135
+ | `AGENT-BRIEFING.md` | **The product.** The orders for your agent: detected surface, the access-control map, targeting, findings, the method, and the staged probe list. |
135
136
  | `FACTS.json` | The full structured recon. |
136
- | `findings-ledger.json` / `REPORT.md` | The traceable ledger: each finding with an evidence chain, CWE/ASVS/OWASP-API citation, remediation, and a **calibrated `P(real)`** (measured real-vuln rate + 95% CI + sample size). |
137
- | `results.sarif` | **SARIF 2.1.0** — always written. Drop it into GitHub Code Scanning, GitLab, Azure DevOps, VS Code's SARIF viewer, DefectDojo. |
138
- | `coverage.json` | What ran, what was skipped and why — a clean result is only as good as its coverage. |
139
- | `probes/` | The probe scripts selected and staged for *this* app (BOLA, JWT, SSRF, mass-assignment…). |
137
+ | `findings-ledger.json` / `REPORT.md` | The traceable ledger. Each finding has an evidence chain, a CWE/ASVS/OWASP-API citation, remediation, and a **calibrated `P(real)`** (measured real-vuln rate + 95% CI + sample size). |
138
+ | `results.sarif` | **SARIF 2.1.0**, always written. Load it into GitHub Code Scanning, GitLab, Azure DevOps, VS Code's SARIF viewer, DefectDojo. |
139
+ | `coverage.json` | What ran, what was skipped, and why. A clean result is only as good as its coverage. |
140
+ | `probes/` | The probe scripts that the run selected and staged for *this* app (BOLA, JWT, SSRF, mass-assignment…). |
140
141
 
141
- Plus SBOMs, an attack-surface table, diff scope and a versioned envelope:
142
+ The run also writes SBOMs, an attack-surface table, the diff scope and a versioned envelope:
142
143
  [all outputs](https://github.com/raccioly/websec-validator/blob/main/docs/reference/outputs.md).
143
144
 
144
145
  ## Languages
@@ -150,8 +151,8 @@ Plus SBOMs, an attack-surface table, diff scope and a versioned envelope:
150
151
  | **Configuration or manual checks only** — reported as a `thin_language_coverage` gap | Kotlin/Android, Swift and Objective-C/iOS, Rust, C/C++ |
151
152
  | **Recognized, not analyzed** — reported as a coverage gap, never as clean | Elixir, Scala, Clojure, Erlang, Perl, Lua, Dart, shell, server-side templates and more |
152
153
 
153
- Route discovery across many more frameworks comes from OWASP Noir when it is installed, and the
154
- scanners are language-agnostic. A completed no-match check is not proof that a service is secure:
154
+ OWASP Noir discovers routes in many more frameworks when it is installed. The
155
+ scanners are language-agnostic. A completed check with no match is not proof that a service is secure:
155
156
  **[the full support matrix and what a clean run means for your stack](https://github.com/raccioly/websec-validator/blob/main/docs/reference/languages.md)**.
156
157
 
157
158
  ## Documentation
@@ -173,24 +174,24 @@ indexes the migration notes — 0.14.0 (schema 2.0), the 0.17.0 exit-code split
173
174
  `--diff`/`gate` scoping, `.websec-ignore` path matching). Unresolved gaps and their acceptance tests live in the
174
175
  [remaining-work specification](https://github.com/raccioly/websec-validator/blob/main/specs/001-continuous-security-improvement/spec.md).
175
176
 
176
- These are scoped review tools: manual profiles, unknown routes, dynamic behavior and unsupported
177
- syntax remain limitations. The in-loop gate is developer ergonomics, not a control, and `attest`
178
- reports evidence without rendering a compliance verdict. Snapshot-bound evidence lives with the
179
- artifacts it describes — the [validation record](https://github.com/raccioly/websec-validator/blob/main/docs/security-review/validation.md),
177
+ These are scoped review tools. Manual profiles, unknown routes, dynamic behavior and unsupported
178
+ syntax remain limitations. The in-loop gate helps developers and is not a control. `attest`
179
+ reports evidence and gives no compliance verdict. Evidence tied to a snapshot lives with the
180
+ artifacts it describes: the [validation record](https://github.com/raccioly/websec-validator/blob/main/docs/security-review/validation.md),
180
181
  the [benchmarks](https://github.com/raccioly/websec-validator/blob/main/BENCHMARKS.md) and the
181
- [proof protocol](https://github.com/raccioly/websec-validator/blob/main/corpus/PROOF-PROTOCOL.md) —
182
- so the numbers cannot drift out of date here.
182
+ [proof protocol](https://github.com/raccioly/websec-validator/blob/main/corpus/PROOF-PROTOCOL.md).
183
+ So the numbers cannot become out of date here.
183
184
 
184
185
  **Validated on** a production Next.js app, a large Express/AWS monorepo, and the VAmPI / NodeGoat /
185
- DVGA vuln-app corpus — independently reproducing a hand-done pentest's findings (tenant boundary,
186
+ DVGA vuln-app corpus. It independently reproduced the findings of a hand-done pentest (tenant boundary,
186
187
  SSRF, file upload, cross-tenant BOLA, role/authz gaps). Route discovery reports what it can parse
187
- *without importing settings or executing your code*, so unknown mounts stay route **candidates**
188
- carrying their uncertainty; that is human review evidence, not measured vulnerability recall.
188
+ *without importing settings or executing your code*. Unknown mounts stay route **candidates**
189
+ and carry their uncertainty. That is human review evidence, not measured vulnerability recall.
189
190
 
190
191
  ## Contributing
191
192
 
192
193
  Bug reports, false-positive reports and detector proposals are the most valuable input this project
193
- gets — see [CONTRIBUTING.md](https://github.com/raccioly/websec-validator/blob/main/CONTRIBUTING.md)
194
+ gets. See [CONTRIBUTING.md](https://github.com/raccioly/websec-validator/blob/main/CONTRIBUTING.md)
194
195
  (including the maintainer release process) and the
195
196
  [issue templates](https://github.com/raccioly/websec-validator/issues/new/choose). Report
196
197
  vulnerabilities in websec itself privately: [SECURITY.md](https://github.com/raccioly/websec-validator/blob/main/SECURITY.md).
@@ -201,8 +202,8 @@ python3 -m unittest discover -s tests # stdlib only; synthetic/local-loopback
201
202
 
202
203
  ## Credits
203
204
 
204
- Methodology + probe library are distilled from a real authenticated penetration-testing pass.
205
- This tool productizes that hand-written methodology into something an AI agent can run on any repo.
205
+ The methodology and the probe library come from a real authenticated penetration-testing pass.
206
+ This tool turns that hand-written methodology into something an AI agent can run on any repo.
206
207
 
207
208
  ## License
208
209
 
@@ -10,37 +10,38 @@
10
10
 
11
11
  **English** · [Português (Brasil)](https://github.com/raccioly/websec-validator/blob/main/docs/i18n/pt-BR/README.md) · [Español](https://github.com/raccioly/websec-validator/blob/main/docs/i18n/es/README.md) · [简体中文](https://github.com/raccioly/websec-validator/blob/main/docs/i18n/zh-CN/README.md)
12
12
 
13
- A senior pentester's "here's what to test and how" handoff — auto-generated from your repo, for your AI agent to execute.
13
+ A handoff from a senior pentester that says what to test and how. The tool generates it from your repo, and your AI agent carries it out.
14
14
 
15
15
  <!-- docguard:quality negation-load off — "no LLM / no server / no running app / not a SaaS / never touches prod" is this tool's core positioning; defining it by contrast with the scanners-and-SaaS it deliberately is NOT is intentional, not a phrasing defect. -->
16
16
 
17
17
  > Local-first security recon that **briefs your AI coding agent**. It does the deterministic
18
- > half — read supported source, map the visible attack surface, and stage a probe library tailored to what it
19
- > found — then hands your agent (Claude Code, Codex, Gemini, Cursor) a marching-orders briefing.
20
- > `websec run` needs nothing but the code; add `--scan` to also run and de-duplicate whichever
21
- > static scanners you have installed. **Code in, artifacts out. No LLM in the tool; no server or
18
+ > half of the work. It reads supported source, maps the visible attack surface, and stages a probe
19
+ > library for what it found. Then it gives your agent (Claude Code, Codex, Gemini, Cursor) a briefing
20
+ > with its orders.
21
+ > `websec run` needs only the code. Add `--scan` to also run the static scanners you have installed
22
+ > and remove duplicate findings. **Code in, artifacts out. No LLM in the tool; no server or
22
23
  > running app required for the core pass.**
23
24
 
24
25
  [![websec-validator demo](https://raw.githubusercontent.com/raccioly/websec-validator/main/assets/demo.gif)](https://github.com/raccioly/websec-validator/blob/main/assets/demo.gif)
25
26
 
26
- **New here?** Read the eight-page technical brief — what it reads, how a finding earns its severity,
27
+ **New here?** Read the eight-page technical brief. It covers what the tool reads, how a finding earns its severity,
27
28
  what it refuses to say, and the field evidence:
28
29
  **[raccioly.github.io/websec-validator](https://raccioly.github.io/websec-validator/websec-explained.html)**
29
30
  · [PDF](https://raccioly.github.io/websec-validator/websec-explained.pdf). The reviewed v0.21.0 snapshot
30
31
  has selected fact assertions in `tests/test_explained_brief.py` and an HTML/PDF/renderer hash binding
31
- in `tests/test_brief_artifacts.py`. Prose accuracy and rendered layout still require review;
32
- see [rebuilding the brief](https://github.com/raccioly/websec-validator/blob/main/CONTRIBUTING.md#publishing-the-technical-brief).
32
+ in `tests/test_brief_artifacts.py`. A person must still review the prose accuracy and the rendered layout.
33
+ See [rebuilding the brief](https://github.com/raccioly/websec-validator/blob/main/CONTRIBUTING.md#publishing-the-technical-brief).
33
34
 
34
- It is *not* an autonomous scanner and *not* a SaaS. It's the missing front-half: the thing that
35
- turns a repo into a precise, fact-grounded security brief an AI agent (with a human in the loop)
36
- can act on. How it works and the reasoning behind every check:
35
+ It is *not* an autonomous scanner and *not* a SaaS. It is the front half that was missing. It
36
+ turns a repo into a precise security brief, based on facts, that an AI agent can act on with a human in the loop.
37
+ How it works and the reasoning behind every check:
37
38
  [concepts](https://github.com/raccioly/websec-validator/blob/main/docs/concepts/how-it-works.md) ·
38
39
  [methodology](https://github.com/raccioly/websec-validator/blob/main/docs/METHODOLOGY.md).
39
40
 
40
- **Part of the Guard family**, three tools that each keep one kind of claim honest:
41
+ **Part of the Guard family.** Three tools each keep one kind of claim honest:
41
42
  [**DocGuard**](https://github.com/raccioly/docguard) validates documentation against the code it
42
- describes, [**TestGuard**](https://github.com/raccioly/testguard) checks that tests actually
43
- establish what they assert, and websec-validator does the same for security findings — every
43
+ describes. [**TestGuard**](https://github.com/raccioly/testguard) checks that tests actually
44
+ establish what they assert. websec-validator does the same for security findings. Every
44
45
  finding carries its evidence, its standard, and a calibrated probability that it is real.
45
46
 
46
47
  ## Getting Started — just point it at your repo
@@ -51,9 +52,9 @@ finding carries its evidence, its standard, and a calibrated probability that it
51
52
  > websec-validator`, or github.com/raccioly/websec-validator). It's local and read-only — read the
52
53
  > repo and follow its briefing. I own this code and authorize the review."*
53
54
 
54
- It installs, runs, and walks the findings with you. Phrasing it as a *defensive review of your own
55
- code* matters: it's the difference between an agent that just gets to work and one that stops to
56
- confirm you're authorized. Every path ends in the same `AGENT-BRIEFING.md` your agent acts on:
55
+ The agent installs the tool, runs it, and walks through the findings with you. Say *defensive review of your own
56
+ code*. With that phrase, an agent starts work. Without it, an agent can stop to
57
+ ask if you are authorized. Every path ends in the same `AGENT-BRIEFING.md` that your agent acts on:
57
58
 
58
59
  | Path | One-time setup | Then |
59
60
  |---|---|---|
@@ -65,7 +66,7 @@ confirm you're authorized. Every path ends in the same `AGENT-BRIEFING.md` your
65
66
 
66
67
  Already have a codebase with history, tests and fixtures? Follow
67
68
  **[Adopting websec in an existing project](https://github.com/raccioly/websec-validator/blob/main/docs/guides/existing-projects.md)**:
68
- scope out non-product code, run, triage, record a baseline, then turn on gating in phases.
69
+ scope out non-product code, run, triage, record a baseline, then turn on the gate in phases.
69
70
 
70
71
  ## Install
71
72
 
@@ -76,10 +77,10 @@ websec --version
76
77
  websec doctor # which optional scanners are installed, and are they compatible?
77
78
  ```
78
79
 
79
- Zero Python runtime dependencies. External scanners (Trivy, OSV-Scanner, Gitleaks, Semgrep,
80
- Checkov, and per-language Bandit/gosec/Brakeman) are used **when present** and run only with
81
- `--scan`; Prowler is detected and reported, not executed. Every channel — pip, uv, Docker, source, offline/air-gapped — and per-OS scanner
82
- setup: **[Installation](https://github.com/raccioly/websec-validator/blob/main/docs/installation.md)**.
80
+ The tool has zero Python runtime dependencies. It uses external scanners (Trivy, OSV-Scanner, Gitleaks, Semgrep,
81
+ Checkov, and per-language Bandit/gosec/Brakeman) **when present**, and they run only with
82
+ `--scan`. It detects and reports Prowler but does not execute it. For every install channel (pip, uv, Docker, source, offline/air-gapped) and per-OS scanner
83
+ setup, see **[Installation](https://github.com/raccioly/websec-validator/blob/main/docs/installation.md)**.
83
84
 
84
85
  ## Usage
85
86
 
@@ -95,21 +96,21 @@ websec mcp # typed recon tools for any MCP client, o
95
96
  ```
96
97
 
97
98
  Then point your agent at the output: **"Read `websec-out/latest/AGENT-BRIEFING.md` and follow it."**
98
- Each attempt gets its own `websec-out/runs/<id>/` directory; `latest` moves only after a completed run.
99
+ Each attempt gets its own `websec-out/runs/<id>/` directory. `latest` moves only after a completed run.
99
100
  Every subcommand and option: [CLI reference](https://github.com/raccioly/websec-validator/blob/main/docs/reference/cli.md).
100
101
 
101
102
  ## What you get (`websec-out/`)
102
103
 
103
104
  | Artifact | What it is |
104
105
  |---|---|
105
- | `AGENT-BRIEFING.md` | **The product.** Marching orders: detected surface, the access-control map, targeting, findings, the method, and the staged probe list. |
106
+ | `AGENT-BRIEFING.md` | **The product.** The orders for your agent: detected surface, the access-control map, targeting, findings, the method, and the staged probe list. |
106
107
  | `FACTS.json` | The full structured recon. |
107
- | `findings-ledger.json` / `REPORT.md` | The traceable ledger: each finding with an evidence chain, CWE/ASVS/OWASP-API citation, remediation, and a **calibrated `P(real)`** (measured real-vuln rate + 95% CI + sample size). |
108
- | `results.sarif` | **SARIF 2.1.0** — always written. Drop it into GitHub Code Scanning, GitLab, Azure DevOps, VS Code's SARIF viewer, DefectDojo. |
109
- | `coverage.json` | What ran, what was skipped and why — a clean result is only as good as its coverage. |
110
- | `probes/` | The probe scripts selected and staged for *this* app (BOLA, JWT, SSRF, mass-assignment…). |
108
+ | `findings-ledger.json` / `REPORT.md` | The traceable ledger. Each finding has an evidence chain, a CWE/ASVS/OWASP-API citation, remediation, and a **calibrated `P(real)`** (measured real-vuln rate + 95% CI + sample size). |
109
+ | `results.sarif` | **SARIF 2.1.0**, always written. Load it into GitHub Code Scanning, GitLab, Azure DevOps, VS Code's SARIF viewer, DefectDojo. |
110
+ | `coverage.json` | What ran, what was skipped, and why. A clean result is only as good as its coverage. |
111
+ | `probes/` | The probe scripts that the run selected and staged for *this* app (BOLA, JWT, SSRF, mass-assignment…). |
111
112
 
112
- Plus SBOMs, an attack-surface table, diff scope and a versioned envelope:
113
+ The run also writes SBOMs, an attack-surface table, the diff scope and a versioned envelope:
113
114
  [all outputs](https://github.com/raccioly/websec-validator/blob/main/docs/reference/outputs.md).
114
115
 
115
116
  ## Languages
@@ -121,8 +122,8 @@ Plus SBOMs, an attack-surface table, diff scope and a versioned envelope:
121
122
  | **Configuration or manual checks only** — reported as a `thin_language_coverage` gap | Kotlin/Android, Swift and Objective-C/iOS, Rust, C/C++ |
122
123
  | **Recognized, not analyzed** — reported as a coverage gap, never as clean | Elixir, Scala, Clojure, Erlang, Perl, Lua, Dart, shell, server-side templates and more |
123
124
 
124
- Route discovery across many more frameworks comes from OWASP Noir when it is installed, and the
125
- scanners are language-agnostic. A completed no-match check is not proof that a service is secure:
125
+ OWASP Noir discovers routes in many more frameworks when it is installed. The
126
+ scanners are language-agnostic. A completed check with no match is not proof that a service is secure:
126
127
  **[the full support matrix and what a clean run means for your stack](https://github.com/raccioly/websec-validator/blob/main/docs/reference/languages.md)**.
127
128
 
128
129
  ## Documentation
@@ -144,24 +145,24 @@ indexes the migration notes — 0.14.0 (schema 2.0), the 0.17.0 exit-code split
144
145
  `--diff`/`gate` scoping, `.websec-ignore` path matching). Unresolved gaps and their acceptance tests live in the
145
146
  [remaining-work specification](https://github.com/raccioly/websec-validator/blob/main/specs/001-continuous-security-improvement/spec.md).
146
147
 
147
- These are scoped review tools: manual profiles, unknown routes, dynamic behavior and unsupported
148
- syntax remain limitations. The in-loop gate is developer ergonomics, not a control, and `attest`
149
- reports evidence without rendering a compliance verdict. Snapshot-bound evidence lives with the
150
- artifacts it describes — the [validation record](https://github.com/raccioly/websec-validator/blob/main/docs/security-review/validation.md),
148
+ These are scoped review tools. Manual profiles, unknown routes, dynamic behavior and unsupported
149
+ syntax remain limitations. The in-loop gate helps developers and is not a control. `attest`
150
+ reports evidence and gives no compliance verdict. Evidence tied to a snapshot lives with the
151
+ artifacts it describes: the [validation record](https://github.com/raccioly/websec-validator/blob/main/docs/security-review/validation.md),
151
152
  the [benchmarks](https://github.com/raccioly/websec-validator/blob/main/BENCHMARKS.md) and the
152
- [proof protocol](https://github.com/raccioly/websec-validator/blob/main/corpus/PROOF-PROTOCOL.md) —
153
- so the numbers cannot drift out of date here.
153
+ [proof protocol](https://github.com/raccioly/websec-validator/blob/main/corpus/PROOF-PROTOCOL.md).
154
+ So the numbers cannot become out of date here.
154
155
 
155
156
  **Validated on** a production Next.js app, a large Express/AWS monorepo, and the VAmPI / NodeGoat /
156
- DVGA vuln-app corpus — independently reproducing a hand-done pentest's findings (tenant boundary,
157
+ DVGA vuln-app corpus. It independently reproduced the findings of a hand-done pentest (tenant boundary,
157
158
  SSRF, file upload, cross-tenant BOLA, role/authz gaps). Route discovery reports what it can parse
158
- *without importing settings or executing your code*, so unknown mounts stay route **candidates**
159
- carrying their uncertainty; that is human review evidence, not measured vulnerability recall.
159
+ *without importing settings or executing your code*. Unknown mounts stay route **candidates**
160
+ and carry their uncertainty. That is human review evidence, not measured vulnerability recall.
160
161
 
161
162
  ## Contributing
162
163
 
163
164
  Bug reports, false-positive reports and detector proposals are the most valuable input this project
164
- gets — see [CONTRIBUTING.md](https://github.com/raccioly/websec-validator/blob/main/CONTRIBUTING.md)
165
+ gets. See [CONTRIBUTING.md](https://github.com/raccioly/websec-validator/blob/main/CONTRIBUTING.md)
165
166
  (including the maintainer release process) and the
166
167
  [issue templates](https://github.com/raccioly/websec-validator/issues/new/choose). Report
167
168
  vulnerabilities in websec itself privately: [SECURITY.md](https://github.com/raccioly/websec-validator/blob/main/SECURITY.md).
@@ -172,8 +173,8 @@ python3 -m unittest discover -s tests # stdlib only; synthetic/local-loopback
172
173
 
173
174
  ## Credits
174
175
 
175
- Methodology + probe library are distilled from a real authenticated penetration-testing pass.
176
- This tool productizes that hand-written methodology into something an AI agent can run on any repo.
176
+ The methodology and the probe library come from a real authenticated penetration-testing pass.
177
+ This tool turns that hand-written methodology into something an AI agent can run on any repo.
177
178
 
178
179
  ## License
179
180
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "websec-validator"
7
- version = "0.22.3"
7
+ version = "0.23.0"
8
8
  description = "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."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -55,6 +55,9 @@ def annotate(ledger: dict) -> dict:
55
55
  for f in (ledger.get("findings", []) or []) + (ledger.get("acknowledged", []) or []):
56
56
  aliases = set(f.get("fingerprint_aliases", []))
57
57
  aliases.add(legacy_fingerprint(f))
58
+ if f.get("title_previous") and f["title_previous"] != f.get("title"):
59
+ # A reworded title (dependency rows, see dependency_fix) must not orphan a v1 baseline entry.
60
+ aliases.add(legacy_fingerprint({**f, "title": f["title_previous"]}))
58
61
  if f.get("fingerprint") and f.get("fingerprint_version") != FINGERPRINT_VERSION:
59
62
  aliases.add(f["fingerprint"])
60
63
  f["fingerprint"] = fingerprint(f)
@@ -601,6 +601,11 @@ def cmd_run(args) -> int:
601
601
  only = [key.strip() for key in args.scanners.split(",") if key.strip()] if args.scanners else None
602
602
  coverage.add_scanners(facts, det, scan_results, unified, scan=args.scan, only=only,
603
603
  verify_secrets=getattr(args, "verify_secrets", False))
604
+ if args.scan:
605
+ # A compiled binary in the tree carries its own dependency list; say when nothing read it.
606
+ binary_gap = scanners.binary_sca_gap(target, scan_results, args.exclude or ())
607
+ if binary_gap:
608
+ coverage.add_gap(facts, "compiled_binary_sca", binary_gap, execution=False)
604
609
  imported = []
605
610
  if getattr(args, "sarif", None):
606
611
  imported = _sarif_imports(args.sarif, target, excludes=args.exclude or (),
@@ -53,6 +53,11 @@ def _group_key(f: dict) -> tuple:
53
53
  commit = f.get("commit") or f.get("commit_short")
54
54
  if f.get("history_only") and isinstance(commit, str) and commit:
55
55
  return ("incident", f"deleted-in:{commit[:12]}")
56
+ # Every CVE in ONE compiled binary has ONE fix: upgrade, rebuild or remove that file. A Go CLI
57
+ # can carry 70+ advisories (most in the Go standard library), so without this the report reads
58
+ # as 70 problems instead of one stale tool.
59
+ if f.get("artifact") == "binary" and _location_of(f):
60
+ return ("artifact", f"binary:{_location_of(f)}")
56
61
  return ("rule", f"{f.get('category') or ''}:{_rule_of(f)}")
57
62
 
58
63
 
@@ -68,6 +73,11 @@ def _title(kind: str, disc: str, members: list) -> str:
68
73
  return (f"{n} secret(s) removed from the working tree in commit {commit} — the files are "
69
74
  f"gone but every blob is still fetchable from the repo. ONE incident: rotating the "
70
75
  f"{n} credential(s) is the fix; deleting the files was not.")
76
+ if kind == "artifact":
77
+ path = disc.split(":", 1)[1]
78
+ modules = len({m.get("pkg") for m in members if m.get("pkg")})
79
+ return (f"compiled binary {path} embeds {n} known-vulnerable advisories across {modules} "
80
+ f"module(s) — ONE fix: upgrade or rebuild this tool, or keep it out of the checkout.")
71
81
  # Reuse the longest shared prefix of the member titles so the cluster reads like the findings.
72
82
  base = min((str(m.get("title") or "") for m in members), key=len, default="")
73
83
  base = base.split(" — ")[0][:110] or _rule_of(members[0])
@@ -93,6 +93,7 @@ _BLIND_SPOTS: dict = {
93
93
  "webhook-forgery": "needs a crafted unsigned callback delivered to your endpoint.",
94
94
  "secret": "committed credentials live in the repo/git history — a black-box scan cannot see them.",
95
95
  "cve": "dependency CVEs are inventory-derived; a scanner only sees them if a version banner leaks.",
96
+ "deprecated-dependency": "an unmaintained dependency is inventory-derived, never visible in a response.",
96
97
  "malicious-install-script": "build/install-time RCE never appears in a request.",
97
98
  "lockfile-drift": "supply-chain drift is a build artifact, not a runtime response.",
98
99
  "excessive-agency": "AI-agent tool permissions are config, not an HTTP surface.",