sql-guard
by Breno Santiago Sarcero · ★ 0 · updated 10 days ago
0
Bloqueia escrita e DDL nos MCPs de SQL Server e comandos de shell que acessam banco; libera só após dois 'sim' do usuário. Não resolve todos os casos, mas elimina muitos riscos de execução errada por IA.
Install
/plugin marketplace add Breno-Sarcero/sql-guard/plugin install sql-guard@sql-guardThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runui.renderprompt.submittool.call- API calls
$.command.register$.fs.read$.fs.write$.state.get$.state.set$.ui.close$.ui.open$.ui.resolve$.ui.toast- Draws
Pane- Can see
every prompt?|? calls- Reach
- level 2 of 3 writes filesreads filesreads mod statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Breno-Sarcero/sql-guard
- Path in repo
- repository root
- Source commit
e145bebthe exact code the scan read- Author
- Breno Santiago Sarcero @Breno-Sarcero
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.