Merged
Conversation
- #493/#494: Cap brace expansion ranges at 10K elements and total expansion at 100K strings (TM-DOS-041/042) - #495: VFS copy() now enforces size limits on overwrite; rename() rejects file-over-directory per POSIX (TM-DOS-047/048) - #496: OverlayFs::symlink() validates paths and enforces file count limits; symlinks now count toward file_count (TM-DOS-045) - #497: date builtin uses configurable fixed epoch instead of real host clock (TM-INF-018) All 17 security audit regression tests pass. https://claude.ai/code/session_01TTiLUJVtmMNAo1NC9aQTn1
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.
Summary
{N..M}ranges at 10K elements and total expansion at 100K strings — oversized ranges treated as literalscopy()now always enforces size limits (even on overwrite);rename()rejects file-over-directory per POSIXOverlayFs::symlink()validates paths and enforces file count limits; symlinks now count towardfile_countincompute_usage()datebuiltin uses configurable fixed epoch viaBashBuilder::fixed_epoch()instead of real host clockTest plan
cargo test -p bashkit --test security_audit_pocs)cargo test --all-features— 1515+ tests)cargo fmt --checkcleancargo clippy --all-targets --all-features -- -D warningscleanCloses #493, closes #494, closes #495, closes #496, closes #497
https://claude.ai/code/session_01TTiLUJVtmMNAo1NC9aQTn1