Documentation
¶
Overview ¶
Package safeshell provides a secure wrapper for subprocess command execution to prevent shell injection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandContext ¶
CommandContext creates a validated, secure exec.Cmd wrapper. It checks the command name and arguments to block dynamic shell injection and execution features.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.