-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Hardening: input validation and bounds tightening across 28 subsystems (round 2) #31175
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
75 commits
Select commit
Hold shift + click to select a range
dc88940
install: tighten dependency name validation before install
Jarred-Sumner b8dbf3f
install: tighten trusted dependency resolution checks
Jarred-Sumner a450aab
http3: guard stream header callback state
Jarred-Sumner d17368a
install: tighten lockfile field validation on load
Jarred-Sumner 5a01667
install: track created symlinks during streaming extraction
Jarred-Sumner 6c02ed5
libarchive: tighten file open flags during extraction
Jarred-Sumner 696ce1a
install: validate bin entry targets before linking
Jarred-Sumner 0edb723
spawn: tighten argument handling for script interpreters
Jarred-Sumner 5bafdf8
mysql: align ssl mode fallback behavior with postgres driver
Jarred-Sumner 23afa36
bunx: tighten bin name extraction from package manifests
Jarred-Sumner 41d69dc
bake: normalize error report strings before terminal output
Jarred-Sumner cacf731
valkey: scan for complete replies before parsing buffered data
Jarred-Sumner 703b3b6
http: bound decompressed response body growth
Jarred-Sumner e805175
http2: account for stream table size in session memory usage
Jarred-Sumner 089d047
mysql: bound result set column count
Jarred-Sumner aae8a44
bundler: escape source path comments in css output
Jarred-Sumner f2f2179
valkey: bound aggregate preallocation while parsing replies
Jarred-Sumner 1c0bbfb
blob: tighten content type validation
Jarred-Sumner ff45183
node:http: refine link header value pattern
Jarred-Sumner e017fce
node:http: tighten link header value validation
Jarred-Sumner 1d80d2c
yaml: bound merge key expansion work
Jarred-Sumner ef2fb4f
shell: track literal brace metacharacters during expansion
Jarred-Sumner c9076cd
bake: validate websocket upgrade origin on dev server
Jarred-Sumner e98cb62
node:wasi: resolve guest paths against the preopen directory
Jarred-Sumner cc3ef59
postgres: tighten authentication state transitions
Jarred-Sumner 95068a0
mysql: harden reader capacity check
Jarred-Sumner 9553f61
crypto: normalize password hash comparison
Jarred-Sumner ae403f7
formdata: anchor boundary parameter parsing
Jarred-Sumner b33f506
shell: treat interpolated values as literal text
Jarred-Sumner 91c2433
server: apply host allowlist to devtools metadata route
Jarred-Sumner 5dfb809
create: align postinstall task gating with preinstall
Jarred-Sumner 5185d97
libarchive: normalize extracted file permissions
Jarred-Sumner 4ad9a29
structured-clone: validate regexp flags during deserialization
Jarred-Sumner a4945ad
node:http: propagate parser callback errors when header buffer flushes
Jarred-Sumner 383e5ed
node:tls: validate checkServerIdentity option type
Jarred-Sumner 5be79a3
sourcemap: fix vlq decode table size
Jarred-Sumner 0125b78
http: tighten request line separator handling
Jarred-Sumner ef74590
semver: drop range chains iteratively
Jarred-Sumner 238ef0f
sqlite: fix buffer ownership on deserialize failure
Jarred-Sumner 30728af
inspector: check upgrade request origin
Jarred-Sumner deb169a
ini: bound section header segment depth
Jarred-Sumner e32ce67
webcore: bound rsa prime count during key deserialization
Jarred-Sumner dd8e4f2
structured-clone: validate bigint length against remaining input
Jarred-Sumner 6f2dbf1
structured-clone: manage bio lifetime with raii during key deserializ…
Jarred-Sumner fbc1243
bundler: escape source path comments in js output
Jarred-Sumner 305ca88
websocket: bound buffered handshake response size
Jarred-Sumner 9f824de
[autofix.ci] apply automated fixes
autofix-ci[bot] 9a20bac
address review: compare normalized origin in inspector allowlist
Jarred-Sumner e36f02d
address review: grow prime info vector incrementally during deseriali…
Jarred-Sumner 38dd86d
address review: clarify merge-key comparison cap scope in docs
Jarred-Sumner 6fe1a52
address review: reject malformed authorities in dev server host parsing
Jarred-Sumner 762303d
address review: filter encoded C1 controls from error report output
Jarred-Sumner f3df66a
address review: normalize trailing characters before batch file check
Jarred-Sumner 39fe081
http2: count only live streams toward session memory
Jarred-Sumner d5266a0
bunx: derive command name from unscoped package name in string-bin fa…
Jarred-Sumner 4e0ca3e
create: only skip postinstall tasks on explicit opt-out
Jarred-Sumner adc0535
install: reject drive-relative bin targets
Jarred-Sumner 14b73f3
address review: only reject colons in the leading bin target component
Jarred-Sumner 6f4dbd5
install: align streaming extractor file-open flags with buffered extr…
Jarred-Sumner a3be819
wasi: re-check containment after path resolution
Jarred-Sumner 5819f76
[autofix.ci] apply automated fixes
autofix-ci[bot] 7d3faf9
address review: blank the lead byte of filtered two-byte sequences
Jarred-Sumner b182ccd
yaml: rely on the parser's existing stack guard instead of a merge wo…
Jarred-Sumner 64ae772
address review: enforce decode output cap after each chunk
Jarred-Sumner 471cc1c
address review: anchor multipart boundary parameter parsing
Jarred-Sumner a775854
address review: include argv0 in batch-file argument validation
Jarred-Sumner 542585f
address review: reject empty port suffix in host parsing
Jarred-Sumner 3671277
address review: validate negative aggregate lengths in reply scanner
Jarred-Sumner fa6e400
address review: enforce inflate output cap after each write
Jarred-Sumner 39b6631
address review: enforce decompress output cap after each write
Jarred-Sumner cefd8c9
[autofix.ci] apply automated fixes
autofix-ci[bot] f681139
shell: keep literal tilde after interpolation literal
Jarred-Sumner ec84518
sqlite: close database handle on deserialize error paths
Jarred-Sumner 8860b85
[autofix.ci] apply automated fixes
autofix-ci[bot] c041aa6
wasi: resolve parent directory before containment check when target d…
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
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.