# Shell Script Admin Safety Reviewer

> Review bash and zsh admin scripts for safer quoting, input handling, permissions, and rollout readiness.

Shell Script Admin Safety Reviewer is a paid AI agent skill on Agensi by LB Creations, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19.99 (one-time purchase)
- Creator: [LB Creations](https://www.agensi.io/creators/lee-geissbuhler)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-10-15
- Security: scan passed (2026-05-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/shell-script-admin-safety-reviewer
- Tags: bash, macos, security, shell-scripting, sysadmin

## About this skill

### Defensive review for admin shell scripts

**Shell Script Admin Safety Reviewer** reviews bash, zsh, and sh admin scripts before deployment. It focuses on maintainable fixes for quoting, input handling, permissions, temporary files, logging, and rollout readiness.

### What it checks

- Word splitting, globbing, and command substitution mistakes.
- User input, path, and argument validation.
- Root context, sudo usage, umask, ownership, and file permissions.
- Temporary file hygiene, cleanup, and predictable path concerns.
- Logging patterns that may expose sensitive input.

### Boundaries

This is a defensive review tool for authorized scripts. Use redacted examples when private values are present. It does not provide unauthorized access guidance.

### Output

You get a ready, caution, or hold verdict, line-focused findings, safer replacement snippets, test cases, and rollback notes.

## Known limitations

- Does not perform live environment testing or dynamic analysis.
- Cannot detect logic errors in non-standard third-party CLI tools.
- Limited effectiveness on obfuscated or minified scripts.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Shell Script Admin Safety Reviewer skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this reviewer improve the safety of my deployment scripts?

This skill identifies high-risk vulnerabilities in admin scripts, such as improper word splitting, permission leaks, and insecure temporary file creation, providing safer code replacements and rollback strategies.

### Which shell dialects and operating systems are supported?

It is optimized for bash, zsh, and sh scripts commonly used in DevOps and sysadmin workflows on Linux and macOS environments.

### Do I need to install any local software to use this skill?

Simply provide the script content to your AI agent; the skill will analyze the logic and return a structured verdict (Ready, Caution, or Hold) along with specific line-by-line improvements.

### Can it review scripts that require root or sudo privileges?

Yes, the skill is designed to handle complex administrative scripts, including those involving sudo usage, umask settings, and root-level automation, focusing on defensive best practices.

### How should I handle sensitive information like credentials when using this reviewer?

You should always redact actual passwords, API keys, or private IP addresses from your scripts before submission; the skill focuses on the structural logic and security patterns of the code.

### What exactly is included with my purchase of this skill?

Your purchase includes full access to the skill's diagnostic capabilities, including detailed findings, safer code snippets, and suggested test cases for your scripts.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
