-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Hardening: input validation and bounds tightening across 36 subsystems (round 4) #31339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 86 commits
Commits
Show all changes
96 commits
Select commit
Hold shift + click to select a range
1df973a
install: tighten package name validation
Jarred-Sumner 7009b08
bunx: tighten cache directory validation
Jarred-Sumner 6ab45f2
upgrade: tighten staging directory handling
Jarred-Sumner cd59a05
install: tighten default trusted dependency matching
Jarred-Sumner cc2870f
yaml: bound merge key handling
Jarred-Sumner a642d0c
install: tighten trusted dependency matching
Jarred-Sumner 234753e
install: tighten symlink target validation
Jarred-Sumner 3fed196
install: tighten manifest URL validation
Jarred-Sumner ba9a59d
untar: bound entry path handling
Jarred-Sumner 6de1701
semver: bound range list traversal
Jarred-Sumner fd6769b
valkey: bound protocol line handling
Jarred-Sumner 9e8af4d
bake: tighten console log forwarding
Jarred-Sumner b3e2ebd
transpiler cache: tighten cache directory fallback
Jarred-Sumner fc00c9e
url: tighten origin length handling
Jarred-Sumner c7ffc9e
bake: tighten dev server host validation
Jarred-Sumner 9f6ad15
install: tighten bin link permission handling
Jarred-Sumner bf8f387
undici: tighten redirect limit handling
Jarred-Sumner 8b49ba4
install: tighten legacy lockfile trust entries
Jarred-Sumner 8616141
node:url: tighten search formatting
Jarred-Sumner bdd9ff7
test: add regression coverage for input validation changes
Jarred-Sumner 67ddf8c
sql/postgres: tighten result field handling
Jarred-Sumner cfe5805
sql/postgres: tighten startup message handling
Jarred-Sumner 7410db9
socket: tighten peer identity validation
Jarred-Sumner 29b81ac
cookie: tighten name parsing
Jarred-Sumner f36d9b2
sqlite: tighten statement lifecycle handling
Jarred-Sumner 15f84d2
node:cluster: tighten ipc message validation
Jarred-Sumner c5082ab
sql: tighten tls option handling
Jarred-Sumner a72b1f1
node:crypto: tighten digest length validation
Jarred-Sumner 960c79a
tls: tighten trust store handling
Jarred-Sumner 37a5323
tls: bound socket state handling
Jarred-Sumner fe91ea0
sqlite: tighten array binding handling
Jarred-Sumner 14a83ba
sqlite: bound file control argument handling
Jarred-Sumner 03cb3bd
sql: tighten request queue handling
Jarred-Sumner 12d70fb
webcrypto: bound input length handling
Jarred-Sumner 07e1df6
node:crypto: tighten cipher output handling
Jarred-Sumner 21977ef
socket: tighten hostname validation
Jarred-Sumner eee777d
sql: tighten connection option validation
Jarred-Sumner 507faac
dns: tighten lookup coalescing
Jarred-Sumner 0978baa
test: add regression coverage for input validation changes
Jarred-Sumner 091cbae
markdown: tighten raw HTML text escaping
Jarred-Sumner 4627248
http2: reorder frame queue callback handling
Jarred-Sumner 175d6e1
server: tighten transfer-encoding header validation
Jarred-Sumner eb28c00
node:http: normalize request path handling
Jarred-Sumner 9de3ccc
s3: tighten upload id and signing input validation
Jarred-Sumner f305d37
http2: tighten outgoing header value validation
Jarred-Sumner 85dcde2
http2: tighten inbound header field validation
Jarred-Sumner 64bed55
http2: bound session stream accounting
Jarred-Sumner 0b213cc
server: bound file response stream ref handling
Jarred-Sumner 05ab941
markdown: tighten tag name delimiter handling
Jarred-Sumner 99d3698
http2: tighten client session reuse keying
Jarred-Sumner 37d977a
node:http: bound parser input buffer lifetime during execute
Jarred-Sumner da2e4b1
http3: tighten response header field validation
Jarred-Sumner 7838b7c
md: bound autolink suffix trimming
Jarred-Sumner b0bee8b
md: tighten block header discriminant handling
Jarred-Sumner dec7402
http2: tighten response header name validation
Jarred-Sumner 307f85c
markdown: tighten terminal text output filtering
Jarred-Sumner 30b0785
test: add regression coverage for input validation changes
Jarred-Sumner 012b792
fs: tighten async write buffer handling
Jarred-Sumner c790cba
spawn: bound stdin buffer handling
Jarred-Sumner 68f5152
streams: tighten file reader destination handling
Jarred-Sumner cf54239
transpiler: tighten async transform input handling
Jarred-Sumner 13cd1af
shell: tighten builtin redirect buffer handling
Jarred-Sumner b4f4d97
util: tighten parseArgs default value handling
Jarred-Sumner 74934f8
streams: tighten byte stream chunk allocation
Jarred-Sumner e25a192
vm: tighten module link argument validation
Jarred-Sumner c1c3c60
stream: tighten buffer list join handling
Jarred-Sumner d3a705d
markdown: tighten render input handling
Jarred-Sumner 60c32be
errors: tighten stack trace formatting
Jarred-Sumner 761acff
string_decoder: tighten write offset validation
Jarred-Sumner e9208bb
fs: tighten owner id handling
Jarred-Sumner d77980f
shell: bound brace expansion handling
Jarred-Sumner a95ab87
path: tighten absolute path detection
Jarred-Sumner f27f887
strings: bound transcoding buffer handling
Jarred-Sumner 8806c9f
zlib: tighten dictionary handling
Jarred-Sumner f5c9a29
fs: bound realpath path handling
Jarred-Sumner 04ea887
shell: tighten escape handling
Jarred-Sumner b5dda7f
test: add regression coverage for input validation changes
Jarred-Sumner cedfea7
[autofix.ci] apply automated fixes
autofix-ci[bot] 741f1c7
Address review feedback: tighten validation paths and improve test re…
Jarred-Sumner 773932d
fetch: add a maxRedirects option; markdown: pin buffer inputs during …
Jarred-Sumner 9b25c41
remove redundant comments
Jarred-Sumner 0047778
install: require the configured registry origin for default script trust
Jarred-Sumner c06490a
http2: validate inbound header names as lowercase tokens
Jarred-Sumner 622c9df
http2: restrict inbound pseudo-header names to the defined set; which…
Jarred-Sumner e80a532
test: make the pollable file backpressure fixture independent of the …
Jarred-Sumner 8ec6890
which: only reserve extension space when probing extensions
Jarred-Sumner 9362901
Merge remote-tracking branch 'origin/main' into claude/hardening-sweep-4
Jarred-Sumner 8829d7f
install: use lchmod when setting bin target permissions
Jarred-Sumner 802304e
install: open the package tag file directly during extraction
Jarred-Sumner 0d8dc03
remove explanatory comments
Jarred-Sumner abae510
install: set bin target permissions with a single fchmodat call
Jarred-Sumner d34dbd2
test: assert empty stderr in transpiler detach subprocess test
Jarred-Sumner 378b48f
sys: invoke fchmodat2 directly when changing modes without following …
Jarred-Sumner 33f6764
install: write the streaming-extraction github tag through an open fd
Jarred-Sumner 82e916d
test: assert empty stderr in tls and archive subprocess tests
Jarred-Sumner 05f502a
install: only pass O_NOFOLLOW to the tag-file open on POSIX
Jarred-Sumner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.