-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Hardening: input validation and bounds tightening across 27 subsystems (round 6) #31417
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 all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
ad9aa4e
install: tighten package folder name validation
Jarred-Sumner 6947c6a
install: tighten lockfile migration resolution validation
Jarred-Sumner 71370b2
install: tighten folder dependency path validation
Jarred-Sumner 8ee9f79
install: tighten lockfile string serialization
Jarred-Sumner 6100d16
install: tighten manifest string handling
Jarred-Sumner 9a2b0cd
run: tighten script interpreter resolution
Jarred-Sumner d2bb24b
install: bound cache folder name formatting
Jarred-Sumner 89ac8b1
install: tighten trusted dependency matching
Jarred-Sumner 2b7e860
install: tighten bin link target validation
Jarred-Sumner a901b4e
bunx: tighten cache directory ownership checks
Jarred-Sumner 1783f06
install: tighten migrated git reference validation
Jarred-Sumner 78b727f
install: tighten yarn lockfile output quoting
Jarred-Sumner 1ca1d9c
install: bound tarball decompression output
Jarred-Sumner 77a37a7
test: add regression coverage for input validation changes
Jarred-Sumner 82c2b1b
fetch: tighten body content type handling
Jarred-Sumner d7beff4
node:fs: tighten async write buffer handling
Jarred-Sumner e800a24
webcrypto: tighten key serialization validation
Jarred-Sumner 5daaf74
s3: tighten content type validation
Jarred-Sumner e03ceae
FormData: tighten indexed key handling
Jarred-Sumner 990dcbf
sql: bound column name lookup
Jarred-Sumner 2c447b2
node:crypto: tighten ecdh secret handling
Jarred-Sumner feadb6e
blob: tighten utf-16 text decoding
Jarred-Sumner f667dc3
node:crypto: tighten rsa decrypt error handling
Jarred-Sumner 4d48c32
blob: bound deserialization length handling
Jarred-Sumner 716cfda
blob: tighten serialization of partial views
Jarred-Sumner e4fc15b
node:fs: bound recursive directory path handling
Jarred-Sumner 93959fe
test: add regression coverage for input validation changes
Jarred-Sumner b0ccb2d
server: tighten response handler state handling
Jarred-Sumner d434a77
fetch: tighten request header handling
Jarred-Sumner 3d86750
tls: tighten handshake state handling
Jarred-Sumner 17ee952
node:http2: bound frame payload handling
Jarred-Sumner c2f48ed
node:http: tighten request option validation
Jarred-Sumner 97e95a5
node:dns: tighten hostname validation
Jarred-Sumner 572a530
bun-vscode: tighten diagnostics socket setup
Jarred-Sumner 2f3b661
fetch: tighten protocol selection handling
Jarred-Sumner 5aa47d7
bake: bound path handling
Jarred-Sumner c1f2f7b
valkey: bound protocol scan handling
Jarred-Sumner 0ed4038
server: tighten debug route handling
Jarred-Sumner 355d330
test: add regression coverage for input validation changes
Jarred-Sumner 02a61cb
escapeHTML: tighten codepoint validation
Jarred-Sumner c54abbc
markdown: tighten link metadata validation
Jarred-Sumner acaa519
markdown: bound delimiter handling
Jarred-Sumner 45fdb90
json5: bound nested value handling
Jarred-Sumner af25de9
shell: tighten redirect target validation
Jarred-Sumner 5883e37
shell: tighten redirect buffer handling
Jarred-Sumner 3d2ecc8
resolver: tighten exports target validation
Jarred-Sumner f9cc26c
yaml: bound merge key handling
Jarred-Sumner 87ead14
shell: tighten cd argument validation
Jarred-Sumner ff4093a
css: tighten tokenizer bounds validation
Jarred-Sumner 48d72e6
glob: tighten entry offset validation
Jarred-Sumner bad20fb
test: add regression coverage for input validation changes
Jarred-Sumner 56972d1
test: add dns hostname validation coverage
Jarred-Sumner 8712266
[autofix.ci] apply automated fixes
autofix-ci[bot] cd0592b
blob: keep zero-copy utf-16 decoding for aligned views
Jarred-Sumner b5dce42
install: keep local tarball paths exempt from package name validation
Jarred-Sumner cb1467c
install: reject overlong folder dependency paths and tighten install …
Jarred-Sumner ac98c11
md: keep prefetched image keys consistent with the render path
Jarred-Sumner 438ea30
server: keep /bun:info available on unix socket listeners in development
Jarred-Sumner 5e45673
test: tighten json5 depth probe and fetch test assertions
Jarred-Sumner e055bf5
test: move valkey incremental reply scanning into its own file
Jarred-Sumner 76b7ed5
blob: use fixed-size chunks in the utf-16 fallback decode
Jarred-Sumner e48e1e7
test: use tempDir helper for unix socket path in serve test
Jarred-Sumner bfd2adf
install: limit bin target resolution to suspicious paths
Jarred-Sumner f36830a
install: raise tarball decompression limit
Jarred-Sumner 5fd031a
test: add migration coverage for remote tarball dependencies
Jarred-Sumner d81cd2e
node:fs: move async buffer pinning into the conversion layer
Jarred-Sumner 2d20c50
server: move the loopback check onto the socket address
Jarred-Sumner d3bcb9e
shell: use an owned copy for stdin buffer redirects
Jarred-Sumner bd8d651
fetch: avoid cloning interned content types
Jarred-Sumner 5871e6d
install: scope the bin target containment probe to the parent directory
Jarred-Sumner 999d103
Revert "bunx: tighten cache directory ownership checks"
Jarred-Sumner 05f0e92
test: tolerate restricted symlink creation in glob scan test
Jarred-Sumner bb9c7cf
install: report the package name when streaming extraction rejects it
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
Oops, something went wrong.
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.