websec-validator 0.15.0__tar.gz → 0.15.1__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.
- {websec_validator-0.15.0/src/websec_validator.egg-info → websec_validator-0.15.1}/PKG-INFO +4 -4
- {websec_validator-0.15.0 → websec_validator-0.15.1}/README.md +3 -3
- {websec_validator-0.15.0 → websec_validator-0.15.1}/pyproject.toml +1 -1
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/calibration.py +10 -2
- {websec_validator-0.15.0 → websec_validator-0.15.1/src/websec_validator.egg-info}/PKG-INFO +4 -4
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_evidence_verdicts.py +31 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_gate_and_bypass_record.py +48 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/LICENSE +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/setup.cfg +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/__init__.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/agenthook.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/attest.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/attribution.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/baseline.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/briefing.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/calibration.json +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/cli.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/constitution.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/corpus.json +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/coverage.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/dast_ingest.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/dast_predict.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/diffscope.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/dynamic.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/enrichment.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/__init__.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/agent_config.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/auth.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/authz.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/authz_dataflow.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/base.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/client_exposure.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/client_integrity.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/crypto_usage.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/dependencies.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/django_urls.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/graphql.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/iac_ci.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/integrations.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/llm_security.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/pii_exposure.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/policy_consistency.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/profiles.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/routes.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/schemas.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/sql_flow.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/stack.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/surface.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/syntax.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/tenant.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/transport_security.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/upload_security.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/webext.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/feedback.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/findings.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/fixprompt.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/formats.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/fpfilter.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/gate.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/graph_enrich.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/hooks.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/install.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/intel.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/inventory.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/mcp_server.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/openapi.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/probes.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/proof.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/recon.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/registry.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/repairs.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/report.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/research/control-scope-cases.json +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/research/example.json +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/research/profile-cases.json +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/research.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/rules/error-stack-disclosure.yml +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/rules/insecure-default-secret.yml +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/sarif_ingest.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/scanners.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/schemas/coverage.schema.json +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/schemas/facts.schema.json +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/schemas/ledger.schema.json +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/_lib.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/appsync-cswsh.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/appsync-introspection.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/appsync-subscription-bola.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/bola-cross-tenant.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/bola-write-verbs.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/client-integrity-checklist.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/compare-roles.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/dlp-bypass-offline.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/entitlement-abuse.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/error-disclosure-probe.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/forged-token.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/hs256-brute-force.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/jwt-attacks.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/mass-assignment.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/password-reuse.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/pii-output-diff.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/race-conditions.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/rate-limit-burst.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/s3-assess.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/ssrf-probes.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/unauth-baseline.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/upload-matrix.sh +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/webhook-forgery.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/reports/FINDINGS-SUMMARY.md.template +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/reports/access-control-matrix.md.template +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/reports/findings-triage.md.template +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/reports/pentest-handover-brief.md.template +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/reports/per-tool-FINDINGS.md.template +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/testplan.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator.egg-info/SOURCES.txt +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator.egg-info/dependency_links.txt +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator.egg-info/entry_points.txt +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator.egg-info/top_level.txt +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_action_contracts.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_adoption_contracts.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_agent_hook.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_agent_hosts.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_agent_launch_specs.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_analysis_scope.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_assurance_regressions.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_attest.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_attribution.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_auth_control_scope.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_constitution.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_control_scope_research.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_coverage.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_crypto_comparisons.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_dast_ingest.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_dast_predict.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_detector_precision.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_diffscope.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_django_routes.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_enrichment.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_entitlement_webext.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_extension_controls.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_feedback.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_fixprompt_fpfilter.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_formats.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_gate_command.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_gitleaks_worktree.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_graph_enrich.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_hardening.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_hooks.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_hooks_contracts.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_install.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_install_contracts.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_intel.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_inventory.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_lifecycle.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_mcp.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_mcp_security.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_openapi.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_output_boundaries.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_pentest_regressions.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_profiles.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_proof_revisions.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_public_precision.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_read_boundary.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_read_performance.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_recon.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_registry_existence.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_remaining_control_scope.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_research.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_research_cli.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_sarif_ingest.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_sarif_workbench.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_scanner_contracts.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_source_budget.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_sql_flow.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_stack_metadata.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_testplan.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_transport_pii_scope.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/tests/test_transport_stack_scope.py +0 -0
- {websec_validator-0.15.0 → websec_validator-0.15.1}/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.15.
|
|
3
|
+
Version: 0.15.1
|
|
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
|
|
@@ -623,7 +623,7 @@ add the matching dated changelog and migration guidance, and validate the combin
|
|
|
623
623
|
In the 0.x series, feature additions or incompatible contracts increment the minor version.
|
|
624
624
|
|
|
625
625
|
After reviewing current main and overlapping PRs, merge the approved release PR only after its
|
|
626
|
-
required CI checks pass. The resulting main commit subject must be `release: v0.15.
|
|
626
|
+
required CI checks pass. The resulting main commit subject must be `release: v0.15.1` for this
|
|
627
627
|
release. [release-tag.yml](.github/workflows/release-tag.yml) validates that subject against the
|
|
628
628
|
package version, creates the matching tag/GitHub Release, and explicitly dispatches
|
|
629
629
|
[publish.yml](.github/workflows/publish.yml) at that tag. A version edit alone does not publish.
|
|
@@ -639,7 +639,7 @@ omit an independent version field. Check both sources when diagnosing stale inst
|
|
|
639
639
|
|
|
640
640
|
## Status / roadmap
|
|
641
641
|
|
|
642
|
-
Version 0.15.
|
|
642
|
+
Version 0.15.1 provides 22 recon extractors, eleven optional scanner entries, nine named profiles,
|
|
643
643
|
SARIF import/export, bounded source/query analysis, explicit coverage and lifecycle evidence,
|
|
644
644
|
intelligence/research commands, and opt-in agent/hook/CI adoption. It adds an in-loop security gate
|
|
645
645
|
(`websec gate` and a `PostToolUse` hook), analysis scoping with `--only`, an opt-in dependency
|
|
@@ -650,7 +650,7 @@ in-loop gate is developer ergonomics, not a control, and `attest` reports eviden
|
|
|
650
650
|
rendering a compliance verdict.
|
|
651
651
|
|
|
652
652
|
The [0.14.0 migration guide](docs/MIGRATING-0.14.0.md) explains schema 2.0 and gate/artifact
|
|
653
|
-
changes. 0.15.
|
|
653
|
+
changes. 0.15.1 is a patch over 0.15.0 and needs no migration.
|
|
654
654
|
The [remaining-work specification](specs/001-continuous-security-improvement/spec.md) consolidates
|
|
655
655
|
unresolved gaps and acceptance tests so overlapping old-base PRs do not become competing roadmaps.
|
|
656
656
|
Existing runtime probes are opt-in; their earlier isolated results are not current deployment proofs.
|
|
@@ -594,7 +594,7 @@ add the matching dated changelog and migration guidance, and validate the combin
|
|
|
594
594
|
In the 0.x series, feature additions or incompatible contracts increment the minor version.
|
|
595
595
|
|
|
596
596
|
After reviewing current main and overlapping PRs, merge the approved release PR only after its
|
|
597
|
-
required CI checks pass. The resulting main commit subject must be `release: v0.15.
|
|
597
|
+
required CI checks pass. The resulting main commit subject must be `release: v0.15.1` for this
|
|
598
598
|
release. [release-tag.yml](.github/workflows/release-tag.yml) validates that subject against the
|
|
599
599
|
package version, creates the matching tag/GitHub Release, and explicitly dispatches
|
|
600
600
|
[publish.yml](.github/workflows/publish.yml) at that tag. A version edit alone does not publish.
|
|
@@ -610,7 +610,7 @@ omit an independent version field. Check both sources when diagnosing stale inst
|
|
|
610
610
|
|
|
611
611
|
## Status / roadmap
|
|
612
612
|
|
|
613
|
-
Version 0.15.
|
|
613
|
+
Version 0.15.1 provides 22 recon extractors, eleven optional scanner entries, nine named profiles,
|
|
614
614
|
SARIF import/export, bounded source/query analysis, explicit coverage and lifecycle evidence,
|
|
615
615
|
intelligence/research commands, and opt-in agent/hook/CI adoption. It adds an in-loop security gate
|
|
616
616
|
(`websec gate` and a `PostToolUse` hook), analysis scoping with `--only`, an opt-in dependency
|
|
@@ -621,7 +621,7 @@ in-loop gate is developer ergonomics, not a control, and `attest` reports eviden
|
|
|
621
621
|
rendering a compliance verdict.
|
|
622
622
|
|
|
623
623
|
The [0.14.0 migration guide](docs/MIGRATING-0.14.0.md) explains schema 2.0 and gate/artifact
|
|
624
|
-
changes. 0.15.
|
|
624
|
+
changes. 0.15.1 is a patch over 0.15.0 and needs no migration.
|
|
625
625
|
The [remaining-work specification](specs/001-continuous-security-improvement/spec.md) consolidates
|
|
626
626
|
unresolved gaps and acceptance tests so overlapping old-base PRs do not become competing roadmaps.
|
|
627
627
|
Existing runtime probes are opt-in; their earlier isolated results are not current deployment proofs.
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "websec-validator"
|
|
7
|
-
version = "0.15.
|
|
7
|
+
version = "0.15.1"
|
|
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"
|
|
@@ -31,6 +31,13 @@ MIN_N = 5 # a cell needs ≥ this many samples to be used (else
|
|
|
31
31
|
PRIOR = {"HIGH": 0.85, "MEDIUM": 0.5, "LOW": 0.25}
|
|
32
32
|
CAVEAT = ("indicative — calibrated on a deliberately-vulnerable app corpus; "
|
|
33
33
|
"skews optimistic on clean production code")
|
|
34
|
+
# Used when NO shipped corpus table is present and the numbers come only from the operator's own
|
|
35
|
+
# confirmed runs. CAVEAT must not be reused here: it asserts corpus provenance this data does not
|
|
36
|
+
# have, and its specific bias direction ("optimistic on clean production code") describes the
|
|
37
|
+
# vulnerable-app corpus, not local samples. Claiming the wrong provenance is worse than claiming
|
|
38
|
+
# none, so the local-only path gets its own honest label.
|
|
39
|
+
LOCAL_ONLY_CAVEAT = ("indicative — no shipped corpus table was available; these numbers come only "
|
|
40
|
+
"from your own confirmed local samples and carry no corpus baseline")
|
|
34
41
|
|
|
35
42
|
# Self-improving LOCAL overlay: user-global, gitignored (lives outside any repo), never
|
|
36
43
|
# shipped. It accrues *confirmed* labels from your own dynamic runs (and optional hand-labels)
|
|
@@ -144,8 +151,9 @@ def _merge(shipped: dict | None, local: dict | None) -> dict | None:
|
|
|
144
151
|
recomputing Wilson. Local samples are confirmed (oracle), so they're not filtered."""
|
|
145
152
|
if not shipped and not local:
|
|
146
153
|
return None
|
|
147
|
-
base = json.loads(json.dumps(shipped)) if shipped
|
|
148
|
-
|
|
154
|
+
base = (json.loads(json.dumps(shipped)) if shipped
|
|
155
|
+
else {"meta": {"caveat": LOCAL_ONLY_CAVEAT, "corpus": [], "shipped_table": False},
|
|
156
|
+
"by_class_label": {}, "by_label": {}})
|
|
149
157
|
base.setdefault("prior", PRIOR)
|
|
150
158
|
base.setdefault("meta", {})
|
|
151
159
|
if local:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: websec-validator
|
|
3
|
-
Version: 0.15.
|
|
3
|
+
Version: 0.15.1
|
|
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
|
|
@@ -623,7 +623,7 @@ add the matching dated changelog and migration guidance, and validate the combin
|
|
|
623
623
|
In the 0.x series, feature additions or incompatible contracts increment the minor version.
|
|
624
624
|
|
|
625
625
|
After reviewing current main and overlapping PRs, merge the approved release PR only after its
|
|
626
|
-
required CI checks pass. The resulting main commit subject must be `release: v0.15.
|
|
626
|
+
required CI checks pass. The resulting main commit subject must be `release: v0.15.1` for this
|
|
627
627
|
release. [release-tag.yml](.github/workflows/release-tag.yml) validates that subject against the
|
|
628
628
|
package version, creates the matching tag/GitHub Release, and explicitly dispatches
|
|
629
629
|
[publish.yml](.github/workflows/publish.yml) at that tag. A version edit alone does not publish.
|
|
@@ -639,7 +639,7 @@ omit an independent version field. Check both sources when diagnosing stale inst
|
|
|
639
639
|
|
|
640
640
|
## Status / roadmap
|
|
641
641
|
|
|
642
|
-
Version 0.15.
|
|
642
|
+
Version 0.15.1 provides 22 recon extractors, eleven optional scanner entries, nine named profiles,
|
|
643
643
|
SARIF import/export, bounded source/query analysis, explicit coverage and lifecycle evidence,
|
|
644
644
|
intelligence/research commands, and opt-in agent/hook/CI adoption. It adds an in-loop security gate
|
|
645
645
|
(`websec gate` and a `PostToolUse` hook), analysis scoping with `--only`, an opt-in dependency
|
|
@@ -650,7 +650,7 @@ in-loop gate is developer ergonomics, not a control, and `attest` reports eviden
|
|
|
650
650
|
rendering a compliance verdict.
|
|
651
651
|
|
|
652
652
|
The [0.14.0 migration guide](docs/MIGRATING-0.14.0.md) explains schema 2.0 and gate/artifact
|
|
653
|
-
changes. 0.15.
|
|
653
|
+
changes. 0.15.1 is a patch over 0.15.0 and needs no migration.
|
|
654
654
|
The [remaining-work specification](specs/001-continuous-security-improvement/spec.md) consolidates
|
|
655
655
|
unresolved gaps and acceptance tests so overlapping old-base PRs do not become competing roadmaps.
|
|
656
656
|
Existing runtime probes are opt-in; their earlier isolated results are not current deployment proofs.
|
|
@@ -198,6 +198,37 @@ class CalibrationProvenanceTests(unittest.TestCase):
|
|
|
198
198
|
self.assertEqual(calibration._upgrade_local(local)["legacy_uncertain"], local)
|
|
199
199
|
self.assertEqual(local["by_label"]["HIGH"]["n"], 8)
|
|
200
200
|
|
|
201
|
+
def test_local_only_table_does_not_claim_corpus_provenance(self):
|
|
202
|
+
# A table built with no shipped corpus previously inherited CAVEAT, which asserts
|
|
203
|
+
# "calibrated on a deliberately-vulnerable app corpus" and warns the numbers skew
|
|
204
|
+
# optimistic on clean production code. Both describe the shipped corpus, not the
|
|
205
|
+
# operator's own confirmed samples, so every finding carried a provenance and a bias
|
|
206
|
+
# direction its data did not have. load_shipped() swallows every exception and returns
|
|
207
|
+
# None, so an unpackaged calibration.json reaches this path.
|
|
208
|
+
local = {"schema_version": 2, "meta": {"samples": 7},
|
|
209
|
+
"by_class_label": {"sql-injection|HIGH": {"k": 6, "n": 7, "p": 0.86, "ci": [0.49, 0.97]}},
|
|
210
|
+
"by_label": {"HIGH": {"k": 6, "n": 7, "p": 0.86, "ci": [0.49, 0.97]}}, "observations": {}}
|
|
211
|
+
merged = calibration._merge(None, local)
|
|
212
|
+
caveat = merged["meta"]["caveat"]
|
|
213
|
+
self.assertNotIn("corpus;", caveat)
|
|
214
|
+
self.assertNotIn("skews optimistic", caveat)
|
|
215
|
+
self.assertIn("no shipped corpus table", caveat)
|
|
216
|
+
self.assertIs(merged["meta"]["shipped_table"], False)
|
|
217
|
+
self.assertEqual(merged["meta"]["corpus"], [])
|
|
218
|
+
# The disclosure has to reach the finding, not just the table.
|
|
219
|
+
self.assertEqual(calibration.apply("sql-injection", "HIGH", merged)["note"], caveat)
|
|
220
|
+
|
|
221
|
+
def test_shipped_table_keeps_its_corpus_caveat(self):
|
|
222
|
+
# Guard the other direction: the fix must not strip provenance when a corpus IS present.
|
|
223
|
+
shipped = {"meta": {"caveat": calibration.CAVEAT, "corpus": ["vampi"], "n_total": 40},
|
|
224
|
+
"by_class_label": {}, "by_label": {}}
|
|
225
|
+
self.assertEqual(calibration._merge(shipped, None)["meta"]["caveat"], calibration.CAVEAT)
|
|
226
|
+
personalized = calibration._merge(shipped, {"schema_version": 2, "meta": {"samples": 3},
|
|
227
|
+
"by_class_label": {}, "by_label": {},
|
|
228
|
+
"observations": {}})["meta"]
|
|
229
|
+
self.assertTrue(personalized["caveat"].startswith(calibration.CAVEAT))
|
|
230
|
+
self.assertEqual(personalized["corpus"], ["vampi"])
|
|
231
|
+
|
|
201
232
|
def test_reimport_deduplicates_verified_observation(self):
|
|
202
233
|
context = {"application_id": "fixture", "build_id": "rev", "identity": "anonymous", "endpoint": "/", "method": "GET", "parameter": ""}
|
|
203
234
|
samples = dast_ingest.derive_labels(
|
|
@@ -139,6 +139,54 @@ class GateRecordTests(unittest.TestCase):
|
|
|
139
139
|
self.assertEqual(gate["exit_code"], code)
|
|
140
140
|
self.assertIn(gate["verdict"], {"pass", "fail", "incomplete"})
|
|
141
141
|
|
|
142
|
+
# ---- the FAIL path, with a finding that actually blocks ----
|
|
143
|
+
#
|
|
144
|
+
# Found by mutation testing: making the recorded verdict unconditionally "pass" survived the
|
|
145
|
+
# whole suite. The consistency test below compares the recorded exit_code against the process
|
|
146
|
+
# exit code, and that mutation changes BOTH together, so they still agreed — wrongly. The
|
|
147
|
+
# severity fixture also produced no findings at all, so the fail path was never exercised.
|
|
148
|
+
# Asserting a relationship between two values a fault moves in lockstep proves nothing; these
|
|
149
|
+
# cases pin the ABSOLUTE outcome against a repository that really does contain a blocking
|
|
150
|
+
# finding.
|
|
151
|
+
def _vuln_repo(self):
|
|
152
|
+
repo = _repo(self.base / "v")
|
|
153
|
+
(repo / "src").mkdir()
|
|
154
|
+
(repo / "src" / "app.py").write_text(
|
|
155
|
+
"from flask import Flask, request\n"
|
|
156
|
+
"import subprocess\n"
|
|
157
|
+
"app = Flask(__name__)\n\n"
|
|
158
|
+
"@app.route('/ping')\n"
|
|
159
|
+
"def ping():\n"
|
|
160
|
+
" return subprocess.check_output('ping -c1 ' + request.args.get('host'), shell=True)\n")
|
|
161
|
+
(repo / "requirements.txt").write_text("flask==3.0.0\n")
|
|
162
|
+
return repo
|
|
163
|
+
|
|
164
|
+
def _run_on(self, repo, *extra):
|
|
165
|
+
out = self.base / f"out-{repo.name}"
|
|
166
|
+
code = cli.main(["run", str(repo), "--out", str(out), *extra])
|
|
167
|
+
led = sorted(out.glob("runs/*/findings-ledger.json"))[-1]
|
|
168
|
+
return code, json.loads(led.read_text())
|
|
169
|
+
|
|
170
|
+
def test_blocking_findings_record_verdict_fail_not_pass(self):
|
|
171
|
+
repo = self._vuln_repo()
|
|
172
|
+
code, ledger = self._run_on(repo, "--fail-on", "medium")
|
|
173
|
+
gate = ledger["gate"]
|
|
174
|
+
self.assertGreater(ledger["total"], 0, "fixture must actually produce findings")
|
|
175
|
+
self.assertEqual(gate["verdict"], "fail",
|
|
176
|
+
"a blocking finding must be recorded as a FAILED gate, not a pass")
|
|
177
|
+
self.assertGreater(gate["count_at_or_above"], 0)
|
|
178
|
+
self.assertEqual(gate["exit_code"], 1)
|
|
179
|
+
self.assertEqual(code, 1)
|
|
180
|
+
|
|
181
|
+
def test_clean_repo_records_verdict_pass_with_zero_count(self):
|
|
182
|
+
"""The paired case: `pass` must mean zero blocking findings, not merely 'not fail'."""
|
|
183
|
+
code, ledger = self._run_on(self.repo, "--fail-on", "critical")
|
|
184
|
+
gate = ledger["gate"]
|
|
185
|
+
self.assertEqual(gate["verdict"], "pass")
|
|
186
|
+
self.assertEqual(gate["count_at_or_above"], 0)
|
|
187
|
+
self.assertEqual(gate["exit_code"], 0)
|
|
188
|
+
self.assertEqual(code, 0)
|
|
189
|
+
|
|
142
190
|
def test_recorded_exit_code_matches_the_process_exit_code(self):
|
|
143
191
|
for extra in ((), ("--fail-on", "critical"), ("--fail-on", "low")):
|
|
144
192
|
with self.subTest(extra=extra):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/__init__.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/agent_config.py
RENAMED
|
File without changes
|
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/authz.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/crypto_usage.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/dependencies.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/django_urls.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/graphql.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/iac_ci.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/integrations.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/llm_security.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/pii_exposure.py
RENAMED
|
File without changes
|
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/profiles.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/routes.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/schemas.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/sql_flow.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/stack.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/surface.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/syntax.py
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/tenant.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/extractors/webext.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/research/example.json
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/research/profile-cases.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/schemas/facts.schema.json
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/schemas/ledger.schema.json
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator/templates/probes/_lib.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{websec_validator-0.15.0 → websec_validator-0.15.1}/src/websec_validator.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|