Skip to content

Handle macOS redirect path aliases - #6

Merged
Aaronontheweb merged 1 commit into
devfrom
fix/sst-v03-macos-redirect-root
Aug 8, 2026
Merged

Handle macOS redirect path aliases#6
Aaronontheweb merged 1 commit into
devfrom
fix/sst-v03-macos-redirect-root

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Owner

Summary

  • Allow redirect paths below the stable macOS /etc, /tmp, and /var aliases.
  • Scan authored redirect segments before lexical normalization can erase symlink traversal.
  • Keep dynamic provenance, writable symlinks, alias-equal targets, and unsafe parent traversal fail closed.

Reason

Netclaw PR #5 passed Linux and Windows. Its macOS test lane failed because /var is a system symlink into /private. The old scan treated that stable alias as an unsafe redirect.

Validation

  • Release build: zero warnings.
  • Headers: clean.
  • Slopwatch: zero issues.
  • Security: 698 passed on Linux; three macOS-only cases skipped locally.
  • Actors: 2,853 passed.
  • Daemon: 950 passed.
  • CLI: 1,314 passed.
  • Configuration: 507 passed.
  • Media: 65 passed.
  • Search: 46 passed.
  • Memory: 5 passed.

Adversarial review: GO. Frozen diff SHA-256: b8b644a565383ad98b641879edd08f57c551e344ca2533105a533e32c4328ca3.

@Aaronontheweb
Aaronontheweb merged commit db31a4c into dev Aug 8, 2026
11 of 12 checks passed
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