
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
LogCarverGuard.Local
Advanced tools
Local MCP server that puts a statement guard, an optional read-only mode and an audit log between an AI agent and your SQL Server.
A local MCP server that puts a statement guard, an optional read-only mode and an audit log between an AI agent and your SQL Server. It runs on your own machine, started by your AI tool over stdio: no server, no Docker, no API keys.
A guardrail, not a security boundary. It protects against an agent doing something destructive by accident. See "What it is, and is not" below.
dotnet tool install -g LogCarverGuard.Local
claude mcp add logcarverguard --env LOGCARVERGUARD_CONNECTION_STRING="Server=localhost;Database=MyDb;Integrated Security=true;TrustServerCertificate=true" -- logcarverguard
To run it without installing, end the command with -- dotnet dnx LogCarverGuard.Local --yes.
One tool, execute_sql.
SELECT returns its rows (the first 100 shown, with the true count).DROP TABLE, DROP DATABASE, RESTORE, ALTER DATABASE ... SET, dynamic EXEC, sp_executesql, xp_cmdshell, identity switching (REVERT, EXECUTE AS), permission changes and caller-managed transactions. TRUNCATE, DROP COLUMN and named EXEC are blocked unless you allow-list them.INSERT / UPDATE / DELETE is rolled back as a whole if one fails.Environment variables only. An appsettings.json in the working directory is ignored.
| Variable | Purpose | Default |
|---|---|---|
LOGCARVERGUARD_CONNECTION_STRING (or _FILE) | The login the statements run as | required |
LOGCARVERGUARD_READ_ONLY | true allows queries only | false |
LOGCARVERGUARD_AUDIT_DB_PATH | Audit log SQLite file | LogCarverGuard/audit.db under your local application data folder |
LOGCARVERGUARD_TRUNCATE_ALLOWLIST | schema.table entries where TRUNCATE is allowed | empty |
LOGCARVERGUARD_EXEC_WHITELIST | schema.procedure entries that may be EXEC'd | empty |
LOGCARVERGUARD_ALTER_DROP_COLUMN_ALLOWLIST | schema.table entries where DROP COLUMN is allowed | empty |
A blank LOGCARVERGUARD_READ_ONLY or an unwritable audit path stops the server with a message instead of starting in a weaker state.
Lets SELECT (without INTO) through, plus SET, DECLARE and PRINT. Everything else is blocked with a reason, including EXEC even when it is allow-listed, NEXT VALUE FOR, and the remote or file sources OPENQUERY, OPENROWSET and OPENDATASOURCE, which can run a write on another server.
Not covered: a SELECT that calls a CLR or extended-procedure function with side effects, long-running or expensive queries, and locks. Give the login only the permissions it needs; the guard is a second line of defence, not the first.
Tested on Windows with integrated authentication.
FAQs
Local MCP server that puts a statement guard, an optional read-only mode and an audit log between an AI agent and your SQL Server.
We found that LogCarverGuard.Local demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.