Home / Claude Code mods / Security / publish-guard

publish-guard

publish-guard is a Claude Code mod by seanyyoo that stops Claude from typing private terms into the browser or writing them into your publishing files, and keeps a log of what it blocked.

Updated 2026-10-07

What is publish-guard?

publish-guard is a Claude Code mod by seanyyoo that stops Claude from typing private terms into the browser or writing them into your publishing files, and keeps a log of what it blocked. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authorseanyyoo
Repositoryseanyyoo/claude-code-mods
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (100/100)
Rank#4,554 of 5,272 Claude Code mods; #481 in Security
LicenseMIT
Last commit2026-10-07
Hooks4 events
Seesevery tool call, mcp__publish-guard__show calls
Draws onPane

Is publish-guard safe to install?

publish-guard scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.store.getkeeps its own state
$.store.setkeeps its own state
$.tool.registerdrives Claude
$.ui.closedraws interface
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install publish-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/seanyyoo/claude-code-mods
    claude plugin validate ./claude-code-mods/plugins/publish-guard
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add seanyyoo/claude-code-mods && claude plugin install publish-guard@buildalone-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs publish-guard for you:

Install the "publish-guard" Claude Code mod from https://github.com/seanyyoo/claude-code-mods/tree/main/plugins/publish-guard. Run claude plugin validate on it first and show me what it can access before you enable it.

More from seanyyoo/claude-code-mods

This repository has 5 Claude Code mods on MCPMods.

  • credit-meter: ElevenLabs characters and Higgsfield credits at a glance, with a heads-up before a tool call spends them (Review before installing)
  • record-mode: While you record your screen, /record on masks emails, phone numbers, money and your own private terms in the transcript (Low risk)
  • routine-watch: Your scheduled routines at a glance from a Notion database: today's haul by source, the last 7 days, sources that went q (Low risk)
  • youtube-pulse: Your channel's latest videos and view counts, with gains since you last looked (Low risk)