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.
| Type | Claude code mod |
|---|---|
| Author | samfrmr |
| Repository | samfrmr/barmkin-mod |
| Popularity | 1 GitHub stars |
| Category | Security |
| Security | Review before installing (72/100) |
| Rank | #2,283 of 5,272 Claude Code mods; #271 in Security |
| Last commit | 2026-10-17 |
| Hooks | 14 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 on | AbovePrompt, 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.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.command.register | |
$.http.fetch | network requests |
$.session.cwd | |
$.session.version | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.ui.log | draws interface |
$.ui.notice | draws interface |
$.ui.resolve | draws interface |
How do I install barmkin-mod?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- 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/.
- 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.