claudemods

All Claude Code modsgeethasagarb/query-guard

query-guard

A Claude Code mod in geethasagarb/query-guard

Stops risky SQL and dbt commands in Bash and asks you before they run.

review UI rewrite

query-guard reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.303.

Install hint

/plugin install query-guard --marketplace geethasagarb/query-guard

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, reads mod state, draws

Validation

Passed on Claude Code 2.1.303

View the source on GitHub Back to the list

What the scan recorded

Observed events
Bash calls
Hooks
session.start, tool.call {tool=Bash}, ui.close {id=query-guard}, ui.render {component=Pane, requestId=query-guard}, ui.render {component=AbovePrompt}
API calls
$.process.run, $.state.get, $.state.set, $.ui.close, $.ui.open, $.ui.resolve, $.ui.status
Validation on 2.1.303
Passed
Scanned revision
f3f57db5649c
Marketplace passed
query-guard
UI rewrite review
UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. hooks/rules.ts:76, hooks/rules.ts:108, hooks/rules.ts:120, hooks/rules.ts:134, hooks/rules.ts:150

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

Badge for your README

Reach badge for query-guard Validation badge for query-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/geethasagarb--query-guard--query-guard-reach.svg)](https://mods.aidojo.si/mods/geethasagarb--query-guard--query-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/geethasagarb--query-guard--query-guard-validates.svg)](https://mods.aidojo.si/mods/geethasagarb--query-guard--query-guard/)