Skip to content

fix: audit findings (2026-11-12, round 6) - #37

Merged
franciscbalint merged 1 commit into
masterfrom
fix/audit6-2026-11-12
Nov 12, 2026
Merged

franciscbalint merged 1 commit into
masterfrom
fix/audit6-2026-11-12

Conversation

@franciscbalint

Copy link
Copy Markdown
Collaborator

Fixes from the sixth audit (Medium).

  • The key in errors built from a body (Security). validate_batch's "all" error and list_s3files raised without redaction. Both are redacted now, and raise … from None no longer leaves the JSON parser's error (which quotes the body) on __context__ on either client. KeyEchoSweepTest covers every method of both clients and every download, streamed too; it failed before the fix.
  • JSON error served as text/csv — a test over every download (streamed and not) now covers the {/[ sniff; removing it fails.
  • Strict booleans on every parameter — a signature-based sweep (bool/Optional[bool]) plus a source scan; mutating verify_plus, domain_info, has_header_row or allow_phase_2 now fails.

Tests 161 → 167; ruff, pytest with coverage, and the wheel flow on 3.10.

@franciscbalint
franciscbalint merged commit a12c147 into master Nov 12, 2026
9 checks passed
@franciscbalint
franciscbalint deleted the fix/audit6-2026-11-12 branch November 12, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant