Skip to content

fix(diagnostics): allow root output aliases - #333

Merged
overtrue merged 1 commit into
mainfrom
overtrue/fix-inspect-archive-root-alias
Jul 26, 2026
Merged

fix(diagnostics): allow root output aliases#333
overtrue merged 1 commit into
mainfrom
overtrue/fix-inspect-archive-root-alias

Conversation

@overtrue

Copy link
Copy Markdown
Contributor

Related: daily bug scan\n\nProblem: encrypted inspect archive output validation allowed macOS root aliases like /tmp during path traversal checks, then rejected the final directory because it was still a symlink. That made common outputs such as /tmp/archive.tar fail on macOS.\n\nSolution: keep rejecting ordinary output-directory symlinks, but allow absolute root-level platform aliases after confirming the resolved target is a directory.\n\nValidation: make pre-commit

Copilot AI review requested due to automatic review settings July 26, 2026 00:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@overtrue
overtrue merged commit e933226 into main Jul 26, 2026
17 checks passed
@overtrue
overtrue deleted the overtrue/fix-inspect-archive-root-alias branch July 26, 2026 00:52
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.

2 participants