Armory
Source
Browse
Hooks

shell-wrapper-guard-2

shell-wrapper-guard.sh — Detect destructive commands hidden in shell wrappers

Score
Unranked
Evidence
No signals yet
Last commit
Not known
Listed

Install

armory install shell-wrapper-guard-2 --cli claude

writes the file to.claude/hooks/shell-wrapper-guard-2Listed as compatible

Configuration
# fetches the hook script into:
.claude/hooks/shell-wrapper-guard-2
# then register it in your settings.json "hooks" block.

↳ Add the hook entry to settings.json, then restart the harness.

Needs the armory CLI · not on npm yet, build it from cli/ in the repository

What it is

shell-wrapper-guard.sh — Detect destructive commands hidden in shell wrappers

When to use it

shell-wrapper-guard.sh — Detect destructive commands hidden in shell wrappers

How to install / invoke

# Wire this hook script into .claude/settings.json
curl -sL https://raw.githubusercontent.com/davila7/claude-code-templates/main/cli-tool/components/hooks/security/shell-wrapper-guard.sh -o .claude/hooks/shell-wrapper-guard.sh

Notes

Extracted from davila7/claude-code-templates, security category.