Skip to content

fix(cli): validate skill paths before install and uninstall - #505

Merged
huichen merged 1 commit into
mainfrom
claude/audit-f01
Sep 7, 2026
Merged

huichen merged 1 commit into
mainfrom
claude/audit-f01

Conversation

@huichen

@huichen huichen commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Address audit F01: reject traversal, absolute paths, unsafe version components and Windows device names before network/filesystem side effects.
  • Quote PowerShell paths safely and use LiteralPath.
  • Add cross-platform input regressions proving sibling session data remains untouched.

Validation

  • cargo fmt -p future-cli --check
  • cargo clippy -p future-cli --all-targets -- -D warnings
  • RUST_TEST_THREADS=1 cargo test -p future-cli (710 library + 2 binary + 11 integration tests passed)
  • Isolated HOME and raised macOS file descriptor limit. Parallel baseline tests exposed existing environment races; full serial suite passes.

@huichen
huichen enabled auto-merge (squash) September 7, 2026 05:02
@huichen
huichen merged commit ace3f5c into main Sep 7, 2026
12 checks passed
@huichen
huichen deleted the claude/audit-f01 branch September 7, 2026 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant