Review My Bash Script — Free Online
Paste a Bash script and get a structured code review in about two minutes. Every finding is line-anchored, severity-graded, and comes with a suggested rewrite.
Example review comment
# Reviewer output on this line:
# Severity: high
# Line 12: variable expansion is unquoted; will break on filenames with spaces
# Suggestion: use "${path}" and prefer "$*"/"$@" appropriately
cp $path /backup/$path.bak
What a Bash review catches
Quoting, error handling, unchecked exit codes, race conditions in temp files, unsafe input handling, insecure use of eval, missing set -euo pipefail, and portability issues if the shebang is #!/bin/sh.
When to ask for a review
Before merging a shell change into main, before running an unfamiliar installer with sudo, or when a shell script is failing intermittently and you can't tell why.
What "reviewed" gets you
A risk score (0–100), an executive summary, and 12 grouped sections of findings. Each finding is exportable as a PR comment or PDF sign-off.
Frequently asked questions
- How fast is the review?
- Typically 60–120 seconds. Repeated reviews of the same script return instantly from cache.
- Is the review private?
- Yes. The script is analyzed then discarded. It is never stored or logged server-side.
- Can I re-review after applying fixes?
- Yes — paste the updated script for a fresh review, or use "Generate fixed script" to see a proposed rewrite side by side.