You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support native PowerShell PreToolUse hooks (not just Bash-wrapped pwsh/powershell commands) #16007
Please expose a native PowerShell tool target in Codex PreToolUse hooks so hook/plugin authors can block dangerous PowerShell commands directly, instead of only handling pwsh -Command ... when it is routed through Bash.
Activity
github-actions commentedon Mar 27, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
etraut-openai commentedon Mar 27, 2026
Please upvote #14754
zhexulong commentedon Mar 27, 2026
OMG, this PR is doing almost the exact same thing as me.
https://github.com/zhexulong/codex-safeguard
But I filed this issue hoping for native PowerShell PreToolUse hooks, so that I can develop my plugin better.
So could you please reopen this issue?