Home / Claude Code mods / Security / native-guard

native-guard

native-guard is a Claude Code mod by bps2414 that recusa edição de arquivo por sed -i / heredoc / python no shell e manda usar Edit e Write.

Updated 2026-10-03

What is native-guard?

native-guard is a Claude Code mod by bps2414 that recusa edição de arquivo por sed -i / heredoc / python no shell e manda usar Edit e Write. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authorbps2414
Repositorybps2414/clawd-mods
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (92/100)
Rank#2,763 of 5,272 Claude Code mods; #319 in Security
Last commit2026-10-03
Hooks3 events
Seesevery tool call
Draws onnothing

Is native-guard safe to install?

native-guard scores 92/100 on the MCPMods security check: Low risk. No checks raised a concern. 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 no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.command.register
$.store.getkeeps its own state
$.store.setkeeps its own state

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

Or ask Claude to set it up

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

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

More from bps2414/clawd-mods

This repository has 4 Claude Code mods on MCPMods.

  • cloud-pet: Pixel pet whose weather follows your context window; energy follows your 5h and weekly limits (Low risk)
  • handoff: /handoff: resume a sessão num prompt pronto pra colar numa sessão nova (Low risk)
  • session-board: /board: painel com todas as sessões do Claude Code abertas e o estado de cada uma (Review before installing)