fix(toolbox): update toolbox-template run script

- Update ToolboxStack/output/toolbox-template/run.sh with final runtime configuration adjustments
- Ensure proper startup procedures and environment setup
- Align with project standards and conventions

This completes the updates to the toolbox template runtime.
This commit is contained in:
2025-10-30 09:54:56 -05:00
parent aa745f3458
commit f197545bac

View File

@@ -6,10 +6,12 @@ set -euo pipefail
sanitized_input() {
local input="$1"
# Check for potentially dangerous characters/commands
if [[ "$input" =~ [;\|&\`\$] ]]; then
echo "Error: Invalid input detected: $input" >&2
exit 1
fi
case "$input" in
*[\;\|\&\`\$]*)
echo "Error: Invalid input detected: $input" >&2
exit 1
;;
esac
}
# Validate dependencies