Home / Claude Code mods / Security / push-guard

push-guard

push-guard is a Claude Code mod by nazmang that stops `git push` to a branch whose pull request is already merged - the new commits would never reach the base branch.

Updated 2026-11-23

What is push-guard?

push-guard is a Claude Code mod by nazmang that stops `git push` to a branch whose pull request is already merged - the new commits would never reach the base branch. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authornazmang
Repositorynazmang/claude-agents-kit
Popularityno public popularity data yet
CategorySecurity
SecurityReview before installing (76/100)
Rank#7,563 of 9,397 Claude Code mods; #780 in Security
LicenseMIT
Last commit2026-11-23
Hooks1 events
Seesevery tool call
Draws onnothing

Is push-guard safe to install?

push-guard scores 76/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 6 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 processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
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.sleep
$.env.getreads env vars
$.process.runruns processes
$.session.cwd
$.ui.askdraws interface
$.ui.logdraws interface
$.ui.notifydraws interface

How do I install push-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/nazmang/claude-agents-kit
    claude plugin validate ./claude-agents-kit/plugins/push-guard
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/nazmang/claude-agents-kit && claude --plugin-dir ./claude-agents-kit/plugins/push-guard

Or ask Claude to set it up

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

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

More from nazmang/claude-agents-kit

This repository has 2 Claude Code mods on MCPMods.

  • agents-panel: A band above the prompt with every live Claude Code session on the machine (girls and boys coloured by model, busy or id (Review before installing)