Home / Claude Code mods / Security / barmkin-mod

barmkin-mod

barmkin-mod is a Claude Code mod by samfrmr that claude Code mods security layer: secret redaction, untrusted-content taint with a Rule-of-Two egress gate, skill inline-shell mediation guard, MCP tool-poisoning guard, skill-content.

Updated 2026-10-17

What is barmkin-mod?

barmkin-mod is a Claude Code mod by samfrmr that claude Code mods security layer: secret redaction, untrusted-content taint with a Rule-of-Two egress gate, skill inline-shell mediation guard, MCP tool-poisoning guard, skill-content. It is listed under Security and has 1 GitHub stars.

TypeClaude code mod
Authorsamfrmr
Repositorysamfrmr/barmkin-mod
Popularity1 GitHub stars
CategorySecurity
SecurityReview before installing (72/100)
Rank#2,283 of 5,272 Claude Code mods; #271 in Security
Last commit2026-10-17
Hooks14 events
Sees/"^mcp__"/ calls, Bash|PowerShell|WebFetch|WebSearch|Monitor|Edit|Write|MultiEdit|NotebookEdit calls, Read calls, Skill calls, WebFetch|WebSearch calls, compaction, every prompt, every skill, every tool call, subagent spawns
Draws onAbovePrompt, PromptHint

Is barmkin-mod safe to install?

barmkin-mod scores 72/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; watches every prompt or event. It passed 5 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
Sends data over the networkReview
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.command.register
$.http.fetchnetwork requests
$.session.cwd
$.session.version
$.settings.readreads settings
$.state.get
$.state.set
$.ui.logdraws interface
$.ui.noticedraws interface
$.ui.resolvedraws interface

How do I install barmkin-mod?

  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/samfrmr/barmkin-mod
    claude plugin validate ./barmkin-mod/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/samfrmr/barmkin-mod && claude --plugin-dir ./barmkin-mod/.

Or ask Claude to set it up

Paste this into Claude Code and it installs barmkin-mod for you:

Install the "barmkin-mod" Claude Code mod from https://github.com/samfrmr/barmkin-mod. Run claude plugin validate on it first and show me what it can access before you enable it.