skills/selvarajmurugesan90/ops-engineering-skills/shell-scripting-best-practices/Gen Agent Trust Hub
shell-scripting-best-practices
Pass
Audited by Gen Agent Trust Hub on Nov 10, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides high-quality educational content on shell scripting safety. It recommends the use of 'set -euo pipefail', which is a security best practice to prevent scripts from continuing after a command failure or using uninitialized variables.- [SAFE]: The destructive command patterns identified by static analysis (e.g., 'rm -rf') are part of defensive coding examples. The skill teaches how to safely use these commands with parameter expansion guards, such as '${target_dir:?}', to ensure a script aborts rather than deleting unintended files if a variable is unset.- [SAFE]: The skill promotes the use of reputable, well-known development and security tools like ShellCheck and shfmt. It does not include any automated installation scripts or remote code execution patterns.- [SAFE]: No evidence of prompt injection, data exfiltration, obfuscation, or persistence mechanisms was found. All code snippets are transparent and serve a clear pedagogical purpose for ops automation.
Audit Metadata