Stats
Actions
Tags
From platinum-seo-engine
Enforces pre-flight checks and post-verification on file edits/writes to prevent unsafe modifications. Executes bash commands on session start, stop, user prompt, and subagent stop for safety monitoring.
6 events · 12 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/stop_validation.py"30mspython3 "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/denetci.py"15msEdit|Write|NotebookEdit|Bashpython3 -c 'import json,os,sys,pathlib,re; raw=sys.stdin.read() or "{}"; data=json.loads(raw); tn=data.get("tool_name") or ""; ti=data.get("tool_input") or {}; cmd=(ti.get("command","") or ""); DQ=chr(34); SQ=chr(39); PT=r"(?:_MASTER|master|-master)\.xlsx"; m=(re.search(DQ+r"([^"+DQ+r"]*"+PT+r")"+DQ, cmd) or re.search(SQ+r"([^"+SQ+r"]*"+PT+r")"+SQ, cmd) or re.search(r"([~\w/.-]+"+PT+r")", cmd)) if (tn=="Bash" and cmd.strip()) else None; bash_target=pathlib.Path(os.path.expanduser(m.group(1))) if m else None; bash_sidecar=(bash_target.parent/("~$"+bash_target.name)) if bash_target else None; bash_blocked=bool(bash_sidecar and bash_sidecar.exists()); tgt=ti.get("file_path") or ti.get("path") or ""; n=os.path.basename(tgt); is_master=bool(tgt) and (n.endswith("_MASTER.xlsx") or n=="master.xlsx" or n.endswith("-master.xlsx")); p=pathlib.Path(tgt) if is_master else None; sidecar=(p.parent/("~$"+p.name)) if p else None; ew_blocked=bool(sidecar and sidecar.exists()); sc=bash_sidecar if bash_blocked else (sidecar if ew_blocked else None); blocked=bool(sc); sys.stderr.write("BLOCKED: Excel/LibreOffice owner-lock present at "+str(sc)+chr(10)) if blocked else None; sys.exit(2 if blocked else 0)'15ms"${CLAUDE_PLUGIN_ROOT}/scripts/security/check_secrets.sh" --changed-since HEAD "${CLAUDE_PROJECT_DIR:-.}"60mspython3 "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/scan_pending_secret.py"35mspython3 "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/validate_content_write.py"15msBash|mcp__gsc__submit_sitemappython3 "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/outward_action_gate.py"15msEdit|Write|Bashpython3 "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/audit_post_tool_use.py"15mspython3 "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/ai_disclosure_rescan.py"15msstartup|resume|clearif [ -n "${PSEO_WORKSPACE_ROOT:-}" ] && [ -f "${PSEO_WORKSPACE_ROOT}/shared/active.json" ]; then printf 'Platinum SEO Engine workspace detected: %s\nActive project marker: %s\n' "${PSEO_WORKSPACE_ROOT}" "${PSEO_WORKSPACE_ROOT}/shared/active.json"; cat "${PSEO_WORKSPACE_ROOT}/shared/active.json" 2>/dev/null || true; else printf 'No PSEO workspace bound (PSEO_WORKSPACE_ROOT unset or shared/active.json missing). Run /pseo-init to scaffold a project pack.\n'; fi10mspython3 "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/subagent_output_validate.py"15mspython3 "${CLAUDE_PLUGIN_ROOT}/scripts/hooks/intent_router.py"10msnpx claudepluginhub popiliadam/platinum-seo-engine --plugin platinum-seo-engine12plugins reuse this hooks config
First indexed Jan 27, 2026
Showing the 6 earliest of 12 plugins