PlugMyPlugin
← Browse

username-guard

karashiiro ★ 0

This Claude Code plugin intercepts file modifications via a PreToolUse hook and blocks writes that contain the current system username as a whole word (case-insensitive). It relies on an external shell script (block-username.sh) to enforce the policy at the file I/O level.

Security No API key detected runs shell

Install

> /plugin marketplace add karashiiro/karashiiro-marketplace/tree/HEAD/plugins/username-guard
> /plugin install username-guard

Source: https://github.com/karashiiro/karashiiro-marketplace/tree/HEAD/plugins/username-guard

What it's made of

1 hook

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
1 · PreToolUse

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
block-username.sh
Talks to
nothing external detected

Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (karashiiro).