You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/hooks/setup-security-tools/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Scans your Claude Code configuration (`.claude/` directory) for security issues
12
12
### 2. Zizmor
13
13
Static analysis tool for GitHub Actions workflows. Catches unpinned actions, secret exposure, template injection, and permission issues.
14
14
15
-
**How it's installed**: Binary downloaded from [GitHub releases](https://github.com/woodruffw/zizmor/releases), SHA-256 verified, cached at `~/.socket/zizmor/bin/zizmor`. If you already have it via `brew install zizmor`, the download is skipped.
15
+
**How it's installed**: Binary downloaded from [GitHub releases](https://github.com/zizmorcore/zizmor/releases), SHA-256 verified, cached via the dlx system at `~/.socket/_dlx/`. If you already have it via `brew install zizmor`, the download is skipped.
16
16
17
17
### 3. SFW (Socket Firewall)
18
18
Intercepts package manager commands (`npm install`, `pnpm add`, etc.) and scans packages against Socket.dev's malware database before installation.
@@ -34,7 +34,7 @@ Claude will ask if you have an API key, then run the setup script.
34
34
| Tool | Location | Persists across repos? |
35
35
|------|----------|----------------------|
36
36
| AgentShield |`node_modules/.bin/agentshield`| No (per-repo devDep) |
37
-
| Zizmor |`~/.socket/zizmor/bin/zizmor`| Yes |
37
+
| Zizmor |`~/.socket/_dlx/<hash>/zizmor`| Yes |
38
38
| SFW binary |`~/.socket/_dlx/<hash>/sfw`| Yes |
39
39
| SFW shims |`~/.socket/sfw/shims/npm`, etc. | Yes |
40
40
@@ -66,7 +66,7 @@ Self-contained. To add to another Socket repo:
66
66
67
67
**"AgentShield not found"** — Run `pnpm install`. It's the `ecc-agentshield` devDependency.
68
68
69
-
**"zizmor found but wrong version"** — The script downloads the expected version to `~/.socket/zizmor/bin/`. Your system version (e.g. from brew) will be ignored in favor of the correct version.
69
+
**"zizmor found but wrong version"** — The script downloads the expected version via the dlx cache. Your system version (e.g. from brew) will be ignored in favor of the correct version.
70
70
71
71
**"No supported package managers found"** — SFW only creates shims for package managers found on your PATH. Install npm/pnpm/etc. first.
0 commit comments