bash-script-validator
Pass
Audited by Gen Agent Trust Hub on Mar 4, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The validator uses
bash -nandsh -nto perform syntax checks on target scripts, which parses the code for errors without executing the script's primary logic. - [COMMAND_EXECUTION]: The
scripts/validate.shentry point executes ShellCheck (system binary or internal wrapper) to perform static analysis on provided files. - [EXTERNAL_DOWNLOADS]: The
scripts/shellcheck_wrapper.shscript is designed to download and install theshellcheck-pypackage from the Python Package Index (PyPI) if a system-wide ShellCheck installation is not detected. - [COMMAND_EXECUTION]: The regression test suite (
scripts/test_validate.sh) generates a temporary mock executable and sets execution permissions to facilitate deterministic testing of the skill's validation stages.
Audit Metadata