Repository navigation
Commit 79b2c53
security: the one word a scanner reads as an instruction, and a hook said out loud
SKILL.md told the model that starting Docker on Linux "needs sudo systemctl"
and therefore stays on the list the model never runs. The logic was right and
unchanged; the literal was what a static scanner matches, and it cost the
skill a grade in every catalogue that scans it. The passage now says the same
thing — administrator rights through the service manager, so it stays below —
and points at check-prereqs.sh, which already prints the exact command for the
user and never runs it. That script is untouched: there is no way to tell a
Linux user to install a system package without that word, and it only echoes.
hooks.json registers a PostToolUse hook on every Bash call. The manifest
disclosed it structurally; the README did not mention it at all. One paragraph
under the Claude Code install now says what it does and what it does not do,
because a reviewer doing safety screening reads prose, and a hook that fires
on every command is the first thing they look for.
Nothing in the scripts changed. The seven security tests that ship with the
plugin pass unchanged: SSRF guard 34 cases, safe-path 30, secret payload,
cleanup guard, payload allowlist.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0193x9K42x622Pcf8kAsj1dn1 parent 38863b6 commit 79b2c53
4 files changed
Lines changed: 10 additions & 2 deletions
File tree
- skills/html2wp
- assets/scripts/lib/__pycache__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
130 | 137 | | |
131 | 138 | | |
132 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
294 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
| |||
Binary file not shown.
Binary file not shown.
0 commit comments