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.
| Type | Claude code mod |
|---|---|
| Author | bps2414 |
| Repository | bps2414/clawd-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Low risk (92/100) |
| Rank | #2,763 of 5,272 Claude Code mods; #319 in Security |
| Last commit | 2026-10-03 |
| Hooks | 3 events |
| Sees | every tool call |
| Draws on | nothing |
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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
How do I install native-guard?
- 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/bps2414/clawd-mods claude plugin validate ./clawd-mods/native-guard
- 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)