Skip to content

refactor(shell): share transparent command peeling - #1166

Open
TheGreatAxios wants to merge 2 commits into
mainfrom
refactor-shell-share-transparent-command-peeling
Open

TheGreatAxios wants to merge 2 commits into
mainfrom
refactor-shell-share-transparent-command-peeling

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • centralize transparent wrapper parsing for shell authorization
  • preserve authorization behavior across wrapper options, durations, terminal modes, and split payloads

Verification

  • bun test src/shell/transparent-command.test.ts src/shell/run-shell-authz.test.ts src/permission/classify-security.test.ts passes
  • bun run check passes

@TheGreatAxios
TheGreatAxios force-pushed the refactor-shell-share-transparent-command-peeling branch from 01f36b0 to bcc92d4 Compare September 25, 2026 12:50
The -S payload walker exact-matched -u/-C and otherwise skipped any
dash token, so -iu did not consume PATH and auto mode allowed
open-ended find. Rejoin also dropped NAME=value tokens after -u,
so env -u HOME FOO=bar ls auto-allowed.
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