Repository navigation
fix: audit findings (2026-11-11, round 4) - #35
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.
Fourth audit (2026-11-11) fixes.
ignore_eofdefaults to true. It now raisesApiResponseErrorwith status 0 and no key.validate_file_send_streamandscoring_file_send_streamalways raisedArgumentError: File path must be under the current directory: they wrote a Tempfile in the system temp dir and the safe-path check (added in 2.0.1) rejected it. The content is now uploaded from memory under the caller'sfile_namevia an internalBaseRequest::Upload; paths passed by callers are checked exactly as before (/etc/passwd,../outside.csvstill rejected). Affected 2.0.1–3.0.1; 2.0.0 was not.Location, real loopback server), timeouts (Ruby had none), and getfile HTML bodies; Inbox Placement delete with an empty 2xx returnsnil(spec).rspec 549 examples (was 302) pass on Ruby 3.0, 3.4 and 4.0; RuboCop clean.