Skip to content

v3.1.1 - Small Fixes & Test Hardening

Latest

Choose a tag to compare

@Zierax Zierax released this 11 Sep 15:28

[3.1.1] - 2026-09-11

Fixed

  • Test suite hardening: Fixed 6 brittle tests — test_load_io_error_resets now mocks open instead of relying on chmod 000 (fails under root), test_generic_exception_returns_none now correctly expects RuntimeError to propagate through _safe_request, test_check_security_headers_request_exception uses RequestException to match narrow exception handling, CVE check exception tests now catch broad Exception so one failing check cannot crash the whole scan, and banner test updated for new Security Audit Suite wording.
  • Scanner robustness: _host_of corrected from @staticmethod to instance method (was referencing self.verbose without self). check_security_headers and check_cors_misconfiguration now catch Exception so unexpected errors return safe empty results. CVE orchestration now catches Exception broadly for resilience while _safe_request keeps narrow handling.
  • Banner: Updated to Security Audit Suite - 15 CVE checks... with version 3.1.1.
  • WSL/CI infra: Fixed ownership (chown -R zierax) so pytest cache and ruff cache can write on drvfs mounts.

Changed

  • Bumped package version 3.1.0 → 3.1.1.

Tests: 366 passed, 85% coverage
Commits: 3 detailed fixes + tagged release