Script Permission Review
Core Workflow
- Inventory scripts, command examples, install hooks, generated files, and runtime assumptions.
- Inspect file reads/writes, deletion/move behavior, shell invocation, process spawning, network calls, dependency installs, and environment access.
- Check parameter handling, path safety, quoting, dry-run support, and whether writes stay within the intended workspace.
- Flag destructive, recursive, elevated, obfuscated, or auto-executed behavior.
- Recommend sandboxing, dry-run modes, allowlists, explicit approvals, or converting scripts to instructions.
- Report whether scripts are safe to keep, require changes, or should be blocked.
Safety Rules
- Do not run unreviewed scripts to determine whether they are safe.
- Do not approve destructive file operations without path validation and user approval.
- Do not approve dependency installs or network calls without a clear purpose.
Deliverable Shape
For script reviews, provide:
- Script inventory
- Permission and side-effect summary
- File/network/environment access
- Parameter and path safety notes
- Findings by severity
- Required changes
- Safe execution conditions
References
- Read
references/script-permission-review-checklist.mdwhen reviewing bundled scripts or command examples.