skills/lgtm-hq/ai-skills/test-shell/Gen Agent Trust Hub

test-shell

Pass

Audited by Gen Agent Trust Hub on Sep 18, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill serves as a documentation and template resource for shell script testing using the BATS framework. All provided code snippets follow standard software testing patterns.
  • [COMMAND_EXECUTION]: Provides examples of using the bats CLI and executing scripts via bash -c within test files to isolate function execution, which is the intended and standard use case for the BATS framework.
  • [DYNAMIC_EXECUTION]: Includes a pattern for command mocking that involves creating a temporary executable script and temporarily modifying the PATH environment variable. This is a legitimate and common practice in shell testing to simulate external command behavior in an isolated environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 18, 2026, 09:26 AM
Security Audit — agent-trust-hub — test-shell