Repository navigation
fix: audit findings (2026-11-12, round 6) - #51
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes from the sixth audit (Medium).
deleteInboxPlacementTestand an empty 2xx. A 204 or empty 200 was rejected with "Empty response from ZeroBounce (HTTP 204)"; Go, Rust, Python, PHP, Ruby and iOS treat it as success. It now resolvesnull(d.ts:Promise<InboxPlacementTestDeleted | null>— TypeScript callers under strictNullChecks need a null check). An empty 2xx on any other Inbox Placement call, and an empty non-2xx on DELETE, still reject with their status.downloadSeeds/downloadStatisticsreturned an HTML page served on a 200 (astext/htmlortext/csv) as the CSV text. They now reject with status 200, like the main client's getfile and Python's Warmup.{"Message": …}and 400 JSON/text bodies; the two redactions no test covered now fail the suite when removed.Tests 186 → 189. Mutations killed: every Warmup and main-client redaction, both Warmup HTML checks, and the IPT empty-success rule (off, on every call, or without the 2xx check). Checked on Node 24 and the packed tarball on Node 18.