Bump to v1.0.9 with security fixes, code cleanup, and new tests#18
Closed
nbeerbower wants to merge 1 commit into
Closed
Bump to v1.0.9 with security fixes, code cleanup, and new tests#18nbeerbower wants to merge 1 commit into
nbeerbower wants to merge 1 commit into
Conversation
- Fix path traversal / command injection via malicious package names (validate owner/repo components in split_name) - Fix resource leak: clean up temp dirs on tar extraction failure - Add try/catch for file handle safety in github.hml and cache.hml - Log integrity hash failures instead of silently swallowing - Extract strip_v_prefix helper to eliminate repeated inline patterns - Remove unused find_last function from installer.hml - Deduplicate cmd_run by delegating to cmd_run_with_script - Sync version to 1.0.9 across main.hml, package.json, User-Agent - Add test_resolver.hml with cycle detection, build_tree, find_why tests - Add semver edge case tests (^0.x, ranges, lt/lte/gt, strip_v_prefix) - Add manifest name validation tests (path traversal, shell metacharacters) https://claude.ai/code/session_01PANv8xNYS7Xm9bTVxEXYPQ
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.
(validate owner/repo components in split_name)
https://claude.ai/code/session_01PANv8xNYS7Xm9bTVxEXYPQ