bash-testing

Pass

Audited by Gen Agent Trust Hub on Apr 7, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The skill demonstrates how to execute shell scripts and individual Bash functions using the BATS 'run' helper and the 'source' command. This is fundamental to the testing process described.
  • [EXTERNAL_DOWNLOADS]: Recommends the installation of standard development and testing utilities, including the BATS core libraries and the ShellCheck linter, from well-known package managers such as NPM, Homebrew, and APT.
  • [DATA_EXFILTRATION]: Includes an example test case specifically designed to teach defensive programming by verifying that a script rejects path traversal attempts targeting sensitive files like '/etc/passwd'.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 7, 2026, 10:29 AM
Security Audit — agent-trust-hub — bash-testing