Skip to content

feat: add security settings for command execution#67

Merged
soulteary merged 2 commits intomainfrom
cmd-security
Jan 6, 2026
Merged

feat: add security settings for command execution#67
soulteary merged 2 commits intomainfrom
cmd-security

Conversation

@soulteary
Copy link
Copy Markdown
Owner

Introduced new flags and environment variables to enhance command execution security. Added parameters for allowed command paths, maximum argument length, total argument length, argument count, and strict mode. Updated CLI and environment parsing to support these new settings. Implemented a command validator to enforce these security measures during hook execution.

Introduced new flags and environment variables to enhance command execution security. Added parameters for allowed command paths, maximum argument length, total argument length, argument count, and strict mode. Updated CLI and environment parsing to support these new settings. Implemented a command validator to enforce these security measures during hook execution.
Enhanced documentation for command injection protection features, including new flags for allowed command paths, argument length limits, and strict mode. Updated README and security documentation to reflect these changes and provide usage examples for improved security practices.
@soulteary soulteary merged commit 4fc9f75 into main Jan 6, 2026
2 checks passed
@soulteary soulteary deleted the cmd-security branch January 6, 2026 18:10
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