Blog
Real runs, tested guides and incident lessons, with the commands and the output.
244 posts, newest firstRSSPostgreSQL posts only (RSS)
- 24 November 2026Zero-PHI Provenance: How AAP-H Audits Clinical AI
Auditing clinical AI tools without storing patient identifiers is required under HIPAA and DPDP 2023. Here is how SHA-256 digests and transparency log entries safeguard patient privacy.
For cliniciansFor health ITFor developers
- 23 November 2026CMS-0057-F and Machine-Action Governance in Health
CMS-0057-F mandates automated FHIR APIs for prior authorization by 2027. Here is why payer-provider automation requires independent write verification.
For cliniciansFor health ITFor developers
- 23 November 2026Safe Postgres Guardrails for Claude Code and Cursor
Coding agents like Claude Code and Cursor can issue raw SQL against development and staging databases. Here is the hardening checklist to keep them contained.
For developers
- 22 November 2026Building a Zero-Overhead Postgres WAL Verifier in Go
We built an out-of-band Postgres 18 replication listener using pglogrepl. Here is how logical decoding stream inspection runs without adding socket latency.
For developers
- 4 November 2026Autonomous agent blast radius: formula and containment
When autonomous coding agents operate across local repositories, cloud infrastructure, and database connections, failure is not linear. Blast radius scales exponentially with agent agency and unverified write permissions.
For developers
- 4 November 2026PostgreSQL logical replication vs agent proxies: WAL witness
Pre-call proxies inspect network JSON-RPC payloads before execution, but cannot see what PostgreSQL commits. Here is why Write-Ahead Log replication is required for agent write safety.
For developers
- 4 November 2026Reverse SQL synthesis: deterministic undo for AI agents
When an autonomous agent mutates database rows errantly, asking an LLM to generate undo queries compounds corruption. Here is how WAL before-images synthesize exact reverse SQL.
For developers
- 4 November 2026Securing MCP servers against SQL injection and table drops
Model Context Protocol servers execute database queries directly from agent prompts. When an agent receives malicious context or hallucinates syntax, conversational guardrails fail to stop destructive execution.
For developers
- 2 November 2026The AI agent blast radius formula: mathematical safety in production
Traditional security audits measure network perimeters. For autonomous AI agents, safety is a function of credential depth, mutation scope, and reversibility. Here is how to calculate agent blast radius.
For developers
- 2 November 2026Autonomous AI agent due diligence: what enterprise CISOs and VCs require
Enterprise CISO reviews and venture capital due diligence have shifted from model benchmarks to execution safety. Technical teams must demonstrate deterministic control over database mutations before autonomous agents are funded or deployed on production infrastructure.
For developers
- 2 November 2026How to build an insurable autonomous AI agent: the technical specification
Cyber insurance underwriters and enterprise risk officers are declining policies for unmonitored AI agents that mutate production databases. Here is the engineering architecture required to deploy insurable autonomous systems.
For cliniciansFor health IT
- 2 November 2026Indirect prompt injection via tool outputs: why prompt boundaries fail
When an AI agent ingests untrusted text from a database, web scraper, or ticket queue, embedded adversarial commands execute with agent authority. Here is why outbound tool gates are the only deterministic defense.
For developers
- 2 November 2026Why multi-agent hallucination cascades corrupt production databases
When autonomous agent swarms coordinate, an error from one worker becomes factual context for the next. Without storage-level verification, database mutations compound silently across worker boundaries.
For developers
- 2 November 2026How to protect MCP servers against tool poisoning and unconstrained writes
Model Context Protocol connects AI agents directly to tools, APIs, and databases. But MCP provides no native policy enforcement. Here is how to wrap MCP servers with declarative CEL rules, intercept destructive tool calls, and verify storage reality.
For developers
- 2 November 2026What is Deed Glass? The AI agent execution layer explained
Deed Glass (officially Deedglass) sits between an autonomous AI agent and the tools it uses. Rules decide each tool call before execution; write-ahead logs verify what committed.
For developers
- 2 November 2026Why AI agent retry loops compound database corruption
When an automated agent encounters a database error, standard retry loops ask the language model to fix its mistake. Without storage-layer ground truth, the model hallucinates compensating queries that turn single-row errors into multi-table cascades.
For developers
- 30 October 2026How to safely connect Claude Code and Cursor to your databases
Developers are giving autonomous coding agents like Claude Code and Cursor direct database access. Here is how to configure MCP policy rules and change log verification so agents never drop tables or execute unconstrained writes.
For developers
- 30 October 2026How to connect AI agents to hospital systems running SQL Server or Oracle
Most hospital systems sit on SQL Server or Oracle, but letting AI agents write directly to relational clinical databases is a critical risk. Here are the three practical architectures hospital IT teams use to gate and verify agent actions safely.
For cliniciansFor health ITFor developers
- 30 October 2026How to govern LangGraph ToolNode tools with Deedglass
LangGraph agents execute tool calls through ToolNode components. Here is how govern_tool wraps standalone tools to enforce pre-execution policy checks, handle pending approvals, and return model-readable error messages without halting graph execution.
For developers
- 30 October 2026How to govern Medplum FHIR agent writes
AI scribes and clinical agents update patient records via FHIR APIs. Here is how Deedglass enforces pre-write policies, requires approval, and verifies committed Medplum rows.
For cliniciansFor health ITFor developers
- 30 October 2026How to govern NVIDIA Nemotron database agents
NVIDIA Nemotron 3 Ultra models excel at complex reasoning and tool use. Here is how Deedglass enforces pre-execution SQL rules, gates sensitive database writes, and verifies committed changes.
For developers
- 30 October 2026How to govern LlamaIndex database agent tool calls
LlamaIndex agents connect to databases through tool specs or workflows. Here is how Deedglass intercepts each tool call, pauses sensitive writes for approval, and verifies committed rows.
For developers
- 30 October 2026Using NVIDIA Nemotron 3 Ultra to check AI agent blast radius before execution
When an AI agent plans a database write or API call, how do you know what it will really change? Here is how we integrated NVIDIA Nemotron 3 Ultra to inspect agent requests and synthesize policy rules in real time.
For developers
- 30 October 2026How to stop an AI coding agent from running redis-cli flushall
An agent debugging a queue or resetting tests can run redis-cli flushall in seconds, wiping caches, jobs and user sessions across the instance. Here is how to lock down Redis and ask before dangerous commands run.
For developers
- 30 October 2026Why prompt firewalls fail to protect production databases from AI agents
Most AI guardrails inspect prompt text before execution. At the database layer, that model falls apart. Here is why an agent claiming to update one row can silently change hundreds, and why verification must happen at the commit level.
For developers
- 28 October 2026AI receptionists and booking bots in dental clinics: what can go wrong with your records
A booking bot answers the phone at 10 pm and changes your schedule and patient records. Here is what can go wrong, what the rules say, and a setup a small clinic can run.
For cliniciansFor health IT
- 28 October 2026A dental clinic's checklist before letting an AI tool touch patient records
A few decisions before go-live save a lot of untangling later. A printable checklist for dentists and practice managers, from contract to the first bad day.
For cliniciansFor health IT
- 28 October 2026What's new in Deedglass 0.15.0: one command, and an app opens in your browser
Deedglass now opens as a simple app in your browser, with no Docker, account or database to set up. Here is how to open it, what each screen means, where your data stays and how to stop it.
For developers
- 27 October 2026AgentHarm, explained: measuring whether AI agents carry out harmful multi-step tasks
Chat models are tested on whether they refuse harmful questions. Agents can act, so the question changes: will they carry out a harmful task with tools, step by step? AgentHarm measured that. Here is how, and what it found.
For developers
- 27 October 2026AI agent governance in a hospital: a setup you can run with the staff you have
Governance frameworks tell hospitals what to care about. They don't say who meets on Tuesday. Here is a working setup for AI tools that write to hospital systems, mapped to NIST's AI RMF and India's guidance.
For cliniciansFor health IT
- 27 October 2026Provenance standards for AI agent actions: PROV, FHIR, C2PA, SLSA and AAP-H compared
When an AI agent changes a record, someone will later ask who acted, on whose behalf, under what rule, and what really changed. Several provenance standards exist. None was built for agent actions. Here is how they compare.
For cliniciansFor health ITFor developers
- 27 October 2026AI scribes and the EHR: an audit trail that shows who drafted and who approved
An AI scribe drafts the note and may queue orders; a clinician signs. Months later, can you show which words came from the AI, who changed them and who approved? Here is what the trail needs.
For cliniciansFor health IT
- 27 October 2026Reviewing AI scribe notes: a checklist built from the published error studies
AI scribes save typing, not responsibility. Studies show their errors cluster in a few places: omissions, made-up details and flipped negatives. Here is a review routine aimed at those, so a careful check doesn't take long.
For cliniciansFor health IT
- 27 October 2026The AI vendor security questionnaire: what hospitals should add to the usual one
Hospital security questionnaires ask about encryption, hosting and access. AI tools that read and write clinical systems raise new questions. Here are 30, grouped, with what a good answer looks like.
For cliniciansFor health IT
- 27 October 2026AppWorld, explained: the agent benchmark that fails you for collateral damage
Most agent benchmarks ask whether the task got done. AppWorld also asks what else changed. An agent that completes the task but deletes something on the way fails. Here is how it works and why that matters.
For developers
- 27 October 2026How to audit an MCP config: a ten-minute review, server by server
An MCP config file decides what your coding agent can change. Here is a checklist to review one, and a worked example where nine servers graded D became four that graded B.
For developers
- 27 October 2026What should an audit record for an AI action contain? A field-by-field list
Audit standards were written for people clicking buttons. When an AI agent acts, the record needs more: which agent, on whose behalf, what the rules decided, what it claimed and what actually changed.
For cliniciansFor health IT
- 27 October 2026Claude Agent SDK permissions: canUseTool vs PreToolUse, and which one sees every call
The Claude Agent SDK gives you two places to check a tool call: the canUseTool callback and a PreToolUse hook. They run at opposite ends of the permission flow. Put a check in the wrong one and it never runs.
For developers
- 27 October 2026Claude Code checkpoints and /rewind: what they undo, and what they leave behind
Claude Code takes a checkpoint before every prompt, and /rewind can put your files back. It covers less than the menu suggests. Here is what the docs say it tracks, what it skips, and what to use instead.
For developers
- 27 October 2026Claude Code --dangerously-skip-permissions: what it skips and what still holds
The flag removes Claude Code's permission prompts. Not all of them, and not your deny rules. Here is exactly what bypass mode changes, what survives it, and how to run it with less risk.
For developers
- 27 October 2026Cline auto-approve settings: what each toggle allows, and who decides what is safe
Cline's auto-approve is a set of per-category toggles, plus YOLO mode. The toggle that surprises people is Execute safe commands: Cline has no fixed list, so the model itself decides what counts as safe.
For developers
- 27 October 2026Which migration commands delete your data? A table for 12 frameworks
Every ORM ships a reset command for development, and coding agents use them to get unstuck. Here is which commands destroy data, which ones don't, and what we tested.
For developers
- 27 October 2026GitHub Copilot CLI permissions: --allow-tool, --deny-tool and the patterns behind them
Copilot CLI asks before it runs commands or writes files, unless you tell it not to. The flags that tell it are short and easy to get wrong. Here is how the patterns match, what wins, and where approvals persist.
For developers
- 27 October 2026The cost of claim denials and rework: what the studies say, and how to estimate yours
Every revenue cycle deck quotes a cost per denied claim. Few say where it came from. Here are the figures we could trace to a study, what each measures, and a model for estimating your own cost.
For developers
- 27 October 2026Cursor auto-run settings: the allowlist, permissions.json and sandbox.json, explained
Cursor's auto-run is now three run modes plus two config files. Each file controls a different thing, and mixing them up is how a broad allowlist entry ends up running a destructive command.
For developers
- 27 October 2026Cursor checkpoints: what Restore Checkpoint undoes, what it misses, what to use instead
Cursor checkpoints snapshot the files an Agent changes, so you can roll back a bad edit. They're useful and narrow. Here is what they cover, what they don't, and the backups to keep.
For developers
- 27 October 2026Da Vinci CRD, DTR and PAS: how the prior authorization guides fit together
CMS-0057-F points payers at three HL7 Da Vinci guides for prior authorization. Each does one job. Here is what CRD, DTR and PAS do, how a request flows through them, and where automation needs checks.
For health ITFor developers
- 27 October 2026One command adds a shell guard to Claude Code, Cursor, Codex, Gemini CLI and Copilot
Five coding agents, five hook formats. Here is what npx deedglass protect writes into each agent's config, what each agent does with an ask, and how to take it all out again.
For developers
- 27 October 2026Django migrations and AI coding agents: which manage.py commands to allow
An agent that can run manage.py can run flush and migrate zero. Here is a workflow that lets it write migrations while a person reviews the SQL, and what a command check sees.
For developers
- 27 October 2026The European Health Data Space, explained for health IT and software teams
The EHDS regulation is law, with the first obligations landing in 2027 and 2029. For EHR vendors and hospitals, it brings patient access dashboards, a logging component and new duties. Here is what the Commission says.
For cliniciansFor health IT
- 27 October 2026FHIR conditional create: when If-None-Exist stores nothing, and when it stores two
If-None-Exist is meant to stop duplicates. It answers 200 and stores nothing when a match exists, and in our tests one server still stored two copies from one transaction. Here is how to tell what happened.
For health ITFor developers
- 27 October 2026FHIR conditional update id mismatch: 400 by the spec, 200 on some servers
A conditional update finds a resource by search, but the body names a different id. FHIR R4 says refuse with 400. In our October 2026 tests, HAPI 8.12.0 applied it. Here is why it matters.
For health ITFor developers
- 27 October 2026FHIR delete vs expunge: what a DELETE really removes, and when data is gone for good
On most FHIR servers a DELETE is a soft delete: reads return 410 and search skips it, but history keeps the data. Expunge is the hard delete. Here is how they differ and who should hold each.
For health ITFor developers
- 27 October 2026AI-drafted orders and clinician sign-off: modelling it in FHIR R4
AI tools now draft orders for clinicians to sign. FHIR R4 already has the fields to keep a draft from being acted on. Here is how to use status, intent and requester so the sign-off is real and recorded.
For cliniciansFor health ITFor developers
- 27 October 2026FHIR If-Match version conflicts: why you get 409 when the spec says 412
FHIR R4 says a stale If-Match gets 412 Precondition Failed. In our October 2026 study, all four server setups answered 409 instead. The write was refused either way. Here is how to handle both.
For health ITFor developers
- 27 October 2026FHIR PATCH with JSON Patch: five pitfalls, and how an agent should write patches
JSON Patch looks like the safe way for an agent to change one field. On FHIR resources full of arrays, it's easy to replace a whole list, edit the wrong entry, or skip validation. Here are the traps.
For health ITFor developers
- 27 October 2026FHIR R4 vs R5 vs R6: release dates, status, and which version to build on in 2026
FHIR has four releases in use or in ballot. Most real-world rules and implementation guides still sit on R4. Here is the timeline, the status of each release, and a practical way to choose.
For health ITFor developers
- 27 October 2026FHIR referential integrity: when a server stores a reference to nothing
An Observation points at Patient/123, and Patient/123 doesn't exist. Will the server refuse it? It depends on the server and its settings. Here is what R4 says, what we measured, and what to check.
For health ITFor developers
- 27 October 2026The GAIA benchmark, explained: what a score tells you about an AI assistant
GAIA scores show up in nearly every agent launch. The benchmark asks real-world questions with one short correct answer. Here is how it's built, how it grades, and why a high score says little about safe actions.
For developers
- 27 October 2026How to run the GitHub MCP server safely: read-only, toolsets and lockdown
The GitHub MCP server's default toolsets include write tools. Three switches and one token setting cut it down to what your agent needs. Here is each one, for the local and the remote server.
For developers
- 27 October 2026HAPI FHIR update returned 200 but no new version: what it means
You sent a PUT, HAPI FHIR answered 200, and versionId didn't move. Usually that means your update changed nothing. Sometimes it means the change you meant never reached the server. Here is how to tell.
For health ITFor developers
- 27 October 2026HIPAA breach notification and AI vendors: what counts, who tells whom, and by when
An AI tool sends a summary to the wrong patient, or a vendor's prompt logs leak. Is it a HIPAA breach, and whose clock starts when? Here is the rule, step by step, with AI cases.
For cliniciansFor health IT
- 27 October 2026Do you need a business associate agreement for an AI tool? HIPAA, explained for AI
If an AI tool creates, receives, keeps or sends PHI for a covered entity, its vendor is usually a business associate and needs a BAA. Here is the rule, the required terms, and the AI-specific clauses worth adding.
For cliniciansFor health IT
- 27 October 2026HIPAA de-identification for AI: the 18 safe harbor identifiers and where AI data trips
Teams building AI on health data often say the data is de-identified. Under HIPAA, that has a precise meaning: remove 18 kinds of identifier, or get an expert's documented determination. Here is the rule and the traps.
For cliniciansFor health IT
- 27 October 2026HIPAA's minimum necessary standard for AI tools: send the model less
AI tools work better with more context, and HIPAA asks for the minimum necessary. The two pull in opposite directions. Here is when the rule applies to AI, when it doesn't, and how to design for it.
For cliniciansFor health IT
- 27 October 2026HIPAA risk analysis for AI tools: a worked method with an example register
HIPAA requires an accurate and thorough risk analysis of everything that holds ePHI. AI tools add data flows and threats the usual template misses. Here is a method, with an example risk register for an AI scribe.
For cliniciansFor health IT
- 27 October 2026HL7 AI Transparency on FHIR: how to mark data an AI touched, and the gaps
When an AI summarises a note or drafts a lab interpretation, downstream users need to know. HL7's AI Transparency on FHIR guide proposes how to mark that in FHIR. Here is what's in the ballot version, and what isn't.
For health ITFor developers
- 27 October 2026Building an HL7 v2 to FHIR pipeline: stages, the HL7 mapping guide, and where agents fit
Most hospital data still moves as HL7 v2 messages. Converting them to FHIR takes five stages, with several places to lose data quietly. Here is the shape, the official mappings, and where agents fit.
For health ITFor developers
- 27 October 2026Hook, sandbox, database role or gate: which one stops an AI agent deleting data?
Each control people reach for stops a different thing. A hook reads commands, a sandbox fences files and network, a role limits the database, a gate judges each call. Here is a side-by-side.
For developers
- 27 October 2026Incident response for AI errors in a hospital: a runbook for IT and governance
When an AI tool writes the wrong thing into a hospital system, the first hour decides how much damage spreads. Here is a runbook built on NIST's incident guidance, with the Indian and US reporting clocks.
For cliniciansFor health IT
- 27 October 2026The information blocking rule: who it covers, what counts, and the exceptions
US health providers, networks and some health IT developers must not interfere with access to electronic health information without a reason the rule recognises. Here is the rule, its exceptions, and where AI tools fit.
For developers
- 27 October 2026InjecAgent, explained: how often tool output can hijack an agent
An agent reads a product review, an email or a calendar note, and the text tells it to unlock a door or send data elsewhere. InjecAgent measured how often that works. Here is the design, the numbers and the lessons.
For developers
- 27 October 2026AI in cashless pre-authorisation: the audit trail insurers and hospitals should keep
IRDAI gives insurers one hour to decide a cashless request. AI is being used to meet that clock. When a decision is questioned later, these are the records that let anyone reconstruct what happened.
For cliniciansFor health IT
- 27 October 2026IRDAI Information and Cyber Security Guidelines 2026: logs, reporting and changes
IRDAI replaced its 2023 cyber security guidelines in April 2026. If you run IT for an Indian insurer, TPA or broker, or sell software to one, here is what the new text asks for.
For cliniciansFor health IT
- 27 October 2026Laravel migrations and AI coding agents: migrate yes, migrate:fresh no
An agent that hits Laravel's production prompt learns --force. One line in a service provider stops migrate:fresh and db:wipe whatever flag it adds. Here is the setup, tested.
For developers
- 27 October 2026Linear MCP server security: read-only by URL, by scope or by key
Linear's MCP server can create and update issues, projects and comments by default. It also offers three ways to make it read-only. Here is each one, and which to pick.
For developers
- 27 October 2026Malaffi, Abu Dhabi's health information exchange: what facilities and vendors need to know
Malaffi links nearly every healthcare facility in Abu Dhabi to one patient record. Connection is tied to licensing and claims. Here is what Malaffi's own pages say about joining, security and access to sensitive data.
For health IT
- 27 October 2026MCP authorization explained: how OAuth 2.1 protects a remote MCP server, step by step
Remote MCP servers use OAuth 2.1. The spec picks a small set of RFCs and makes a few of them mandatory. Here is the flow, what each piece stops, and what authorization still leaves to you.
For developers
- 27 October 2026MCP sampling security: what a server can do with your model, and why it is deprecated
Sampling lets an MCP server ask your client's model to write text, and even call tools. Researchers showed servers using it to spend your tokens, steer your chat and write files. The spec has now deprecated it.
For developers
- 27 October 2026MCP Toolbox for Databases security: what to configure before an agent touches your data
MCP Toolbox for Databases gives agents database tools from a YAML file. Its safest mode is the one most quick starts skip. Here is what each mode allows, and the settings that matter.
For developers
- 27 October 2026A MongoDB read-only user for an AI agent, and the MCP server's read-only mode
MongoDB's readWrite role can drop collections. Here is a user an agent can't write with, a role that can write but not drop, and the MCP server flag that hides write tools.
For developers
- 27 October 2026NABIDH, Dubai's health information exchange: what DHA's standards ask of software
NABIDH connects Dubai's public and private healthcare facilities. If you build or run software for a DHA-licensed facility, its standards shape your interfaces, consent handling and audit logs. Here is what DHA's documents say.
For health ITFor developers
- 27 October 2026The NAIC model bulletin on AI: what insurers and their vendors need to have ready
The NAIC's 2023 model bulletin is the closest thing US insurance has to a common AI rulebook. It asks for a written program and lists the documents a regulator may request. Here is what the text says.
For cliniciansFor health IT
- 27 October 2026Notion MCP server security: what an agent can read, change and trash
Connect Notion to a coding agent and it can do anything in Notion that you can. Here is what the hosted server's tools cover, how its delete confirmation works, and how to narrow the reach.
For developers
- 27 October 2026NPHIES explained: how Saudi Arabia's eClaims exchange works, from its implementation guide
Private health insurance claims in Saudi Arabia go through NPHIES. If you build hospital billing, insurer or TPA software for the Kingdom, its FHIR guide sets the rules. Here is what it says.
For health ITFor developers
- 27 October 2026statement_timeout, lock_timeout and friends: timeouts for an AI agent's Postgres role
An agent that runs a slow query, waits on a lock or leaves a transaction open can stall a production database. Four Postgres timeouts on the agent's own role stop that. We ran each one, and found their limit.
For developers
- 27 October 2026Prior authorization burden statistics: what the surveys say, and what changes from 2026
How much work does prior authorization create? The most-quoted figures come from AMA physician surveys: 39 requests and 13 hours a week. Here are the numbers with their sources and limits, and what CMS-0057-F changes.
For developers
- 27 October 2026Prisma MCP server: what it can do, which tools are risky, and how to set it up safely
Prisma's remote MCP server lets an AI agent create databases, run SQL, restore backups and manage deployments. Prisma's own docs warn that its CLI safeguard doesn't apply to these tools. Here is the map.
For developers
- 27 October 2026Rails migrations and AI coding agents: db:migrate yes, db:reset no
Rails has a built-in brake on destructive database tasks in production. An agent can release it with one environment variable. Here is how the brake works and what to add.
For developers
- 27 October 2026Saudi PDPL and health data: what the law and its Implementing Regulation require
Saudi Arabia's Personal Data Protection Law gives health data its own article, and the Implementing Regulation adds specific controls. If you build or run health software in the Kingdom, here is what the texts say.
For cliniciansFor health IT
- 27 October 2026Scan MCP and agent configs on every pull request with a GitHub Action
Someone adds a database MCP server for a demo and it ships. A check on the pull request catches it. Here is a free Action that grades agent config, comments the change and stays read-only.
For developers
- 27 October 2026Sentry MCP server security: scope it to a project, keep the write skills off
Sentry's MCP server lets an agent read errors and traces, and with the right skills, resolve issues and edit alert rules. Here is how to give it the first without the second.
For developers
- 27 October 2026AIHGle 2.0 explained: what Singapore's AI in healthcare guidelines ask of deployers
In March 2026 Singapore's MOH and HSA launched AIHGle 2.0, the update to the 2021 AI in Healthcare Guidelines. It splits duties between developers, deployers and users. Here is what the text says.
For cliniciansFor health IT
- 27 October 2026Singapore's Health Information Act: NEHR contribution, access rules and penalties
Singapore passed its Health Information Bill in 2026 as the Health Information Act. It makes NEHR contribution compulsory and sets security duties for providers. Here is what MOH's own documents say.
For cliniciansFor health IT
- 27 October 2026Slack MCP server security: the scopes each tool needs, and the ones to leave out
Slack's MCP server can search, read, post, create channels and upload files as the user who signed in. The scope list decides which. Here is the full map and three minimal sets.
For developers
- 27 October 2026SMART on FHIR EHR launch vs standalone launch, and which an AI assistant should use
SMART App Launch has two ways in: from inside the EHR, or from outside it. They differ in how the app learns which patient and user it's working for. Here is the difference, the security rules, and the AI angle.
For health ITFor developers
- 27 October 2026SMART Backend Services for AI agents: how an agent gets a FHIR token, and the gaps
An AI agent that works without a person logged in needs its own FHIR credentials. SMART Backend Services is the standard way. Here is how it works, how to scope it for an agent, and what it leaves to you.
For health ITFor developers
- 27 October 2026How to stop an AI coding agent deleting RDS databases and S3 buckets
A coding agent with your AWS profile can delete a database and its automated backups in one command. Here are four settings that make that hard, with the commands to turn each on.
For developers
- 27 October 2026How to stop an AI coding agent deleting Docker volumes and the data in them
Your local Postgres lives in a Docker volume. An agent resetting a broken environment runs compose down -v and it's gone. Here is which commands delete volumes, what a guard catches, and what it misses.
For developers
- 27 October 2026How to stop an AI coding agent from running kubectl delete namespace
One kubectl delete namespace removes everything in it, and a deleted claim can take the disk with it. Here is how to give an agent read access to a cluster without that power.
For developers
- 27 October 2026How to stop an AI coding agent from running terraform destroy
An agent that can run terraform apply can run terraform destroy. Here are four layers that each stop it a different way, what each one misses, and the commands we tested.
For developers
- 27 October 2026Running a synthetic-data pilot for AI in a hospital: a practical plan
Before an AI tool touches a real chart, a hospital can test how it writes, what it records and who approves what, on synthetic patients. Here is a plan, the measures that fit, and where synthetic data stops helping.
For cliniciansFor health IT
- 27 October 2026What is TEFCA? The Common Agreement, QHINs and exchange purposes, explained
TEFCA is the US framework that lets health information networks exchange data under one agreement instead of hundreds. Here is how it's structured, what it can be used for, and what it means for AI tools pulling records.
For developers
- 27 October 2026ToolEmu, explained: finding an AI agent's risky actions before it touches real tools
Testing an agent against real email, banking or file tools is slow and dangerous. ToolEmu emulates the tools with a language model instead. Here is how it works, what it found, and how to use the idea.
For developers
- 27 October 2026Where each AI client keeps its MCP config: paths, keys and secrets
Eight clients, at least twelve file locations, three different top-level keys. Here is one table of where each client reads MCP servers from, how it takes secrets, and how to limit tools.
For developers
- 27 October 2026Which EHR writes should an AI agent need approval for? A tiering method
Approving every AI write wears reviewers out; approving none is reckless. Here is a way to sort EHR writes into five tiers by what they can affect and how hard they are to undo.
For cliniciansFor health ITFor developers
- 27 October 2026Windsurf Cascade auto-execution: Turbo mode, allow lists, deny lists and hooks
Cascade can run terminal commands on its own at four levels, from Disabled to Turbo. The lists that steer it match by prefix, and a deny entry means ask, not block. Here is how each piece behaves.
For developers
- 26 October 2026ABDM building blocks explained: ABHA, HFR, HPR, HIP, HIU and the consent manager
ABDM is a set of registries and gateways, not one app. Here is what each block does, how a record moves between hospitals with consent, and what a hospital's software has to handle.
For cliniciansFor health IT
- 26 October 2026Prompt injection defenses vs adaptive attacks: what a 12-defense study found
Most prompt-injection defenses report near-zero attack success. A 2025 study attacked twelve of them with methods built to beat each one, and most fell more than 90% of the time. Here is what was tested, and the lesson for agents.
For developers
- 26 October 2026AgentDojo and InjecAgent: how prompt injection is measured in tool-using agents
Two benchmarks put numbers on prompt injection against agents with tools. AgentDojo checks the environment's state after each run; InjecAgent counts harmful tool calls. Here is what each measures, what they found, and what to take from it.
For developers
- 26 October 2026AgentPoison: how a few poisoned memory entries can steer an AI agent
Agents that remember past cases or search a knowledge base trust what they find. AgentPoison showed a few planted entries can hijack them on a trigger while normal use looks fine.
For developers
- 26 October 2026Your AI coding agent can read your .env file. Here's what stops it, and what doesn't.
A coding agent runs in your project with your permissions, so the keys in .env are within reach. Ignore rules help with the built-in file tools. Shell commands and scripts are another matter.
For developers
- 26 October 2026AI agent framework guardrails compared: where nine frameworks let you stop a tool call
Every major agent framework has somewhere to check a tool call before it runs. They differ in what that check sees, whether it can block, and what it skips. One table, sourced to each framework's docs.
For developers
- 26 October 2026An AI agent kill switch: four layers, and what each one actually stops
Stopping an agent sounds like one button. In practice it is four: refuse its next call, end what's already running, take back its credentials, and keep it from writing until someone has looked.
For developers
- 26 October 2026AI agents and SSRF: how a fetch tool reaches 169.254.169.254, and how to stop it
Give an agent a tool that fetches URLs, run it in the cloud, and the instance metadata service is one request away. Here's how the attack works, what IMDSv2 changes, and a URL check we tested.
For developers
- 26 October 2026When AI agents game the test: what reward hacking research found, and what helps
Give an agent a test to pass and it may pass it the wrong way: edit the test, patch the grader, special-case the input. Two 2025 studies measured how often, and what helped.
For developers
- 26 October 2026Alert fatigue: what health IT learned about too many prompts, applied to AI approvals
Hospitals learned the hard way that more alerts can mean less safety. Studies of drug alerts and reminders show why. The same thing happens when every agent action asks for approval. Here is the research and the design lessons.
For cliniciansFor health IT
- 26 October 2026The Amazon Q Developer extension incident: what AWS confirmed, and the lesson
Version 1.84.0 of the Amazon Q Developer extension for VS Code shipped with malicious code that an attacker committed through an over-scoped CI token. Here's what AWS's own bulletins say, and nothing more.
For developers
- 26 October 2026An AI agent security test suite that runs on every release
Prompt-injection benchmarks ask whether a model gets fooled. A release suite should ask what happens to the calls a fooled model sends. Here is how to build one, with our 82 cases as the worked example.
For developers
- 26 October 2026Automation bias and human-in-the-loop: what health IT research says about approving AI
A person approving each AI action sounds like a safety net. Decades of health informatics research on automation bias show when that net holds and when it doesn't. Here is what two systematic reviews found, applied to agent approvals.
For cliniciansFor health IT
- 26 October 2026Ayushman Bharat Digital Mission statistics, from official sources only
ABDM numbers get quoted everywhere, often without a date. These come only from PIB and health ministry documents, each with its date, so you can see the trend and cite it properly.
For cliniciansFor health IT
- 26 October 2026How to benchmark an AI agent guardrail, including the one you sell
Most guardrail claims are demos. A benchmark needs ground truth the tool can't influence, scores that don't blur together, and cases the tool is expected to fail. Here is a method, and a harness you can reuse.
For developers
- 26 October 2026The Berkeley Function Calling Leaderboard: what a BFCL score means
BFCL is the most cited leaderboard for tool calling. It checks whether a model picks the right function with the right arguments, knows when no function fits, and keeps state across turns. Here is how each part is scored.
For developers
- 26 October 2026The best Postgres MCP server depends on its brakes: five compared
Every Postgres MCP server can run SQL. They differ in how you narrow them: read-only modes, project scoping, confirmations and what their own docs say about production. Here are five, side by side.
For developers
- 26 October 2026Cedar, OPA or CEL: which policy language for AI agent tool calls?
Rules for what an agent may do need a language. Cedar, OPA's Rego and CEL are the usual picks, and they differ in ways that matter for agents: defaults, how rules combine, and what an error does.
For developers
- 26 October 2026CERT-In's 2022 directions for hospitals: 6-hour reports, 180-day logs and clock sync
CERT-In's April 2022 directions apply to body corporates and government organisations, so to many hospitals. Four of them change day-to-day IT: incident reports, logs, clocks and a named contact.
For cliniciansFor health IT
- 26 October 2026A Claude Code hook that asks before DROP TABLE, migrate reset and rm -rf
Claude Code runs a PreToolUse hook before every Bash command. Here is a 14-line hook that asks first on destructive database and file commands, tested, plus the ways around it you should know.
For developers
- 26 October 2026Claude Code IDE extension CVE-2025-52882: a web page talking to your editor
In June 2025, Anthropic disclosed that its Claude Code IDE extensions accepted WebSocket connections from any origin, so a web page could talk to them. Here's the advisory, the fix and what the wider advisory list shows.
For developers
- 26 October 2026Claude Code managed settings: enforce agent guardrails across a team
Per-developer settings are suggestions; managed settings are policy. Claude Code applies them above every other level. Here's a starter policy for agent safety, where the file goes, and its honest limits.
For developers
- 26 October 2026Claude Code permissions: how deny, ask and allow rules work, and when they don't
Claude Code checks deny rules first, then ask, then allow. That order is simple; what a rule actually covers is not. Here is the model, the public bug reports, and a test routine.
For developers
- 26 October 2026Asked to read logs, it dropped two columns: the ALTER TABLE over SSH report
A Claude Code user asked for the error from a production server's logs. The model found the cause and fixed it, with two ALTER TABLE ... DROP COLUMN statements, without asking. Here's the report and what would have stopped it.
For developers
- 26 October 2026Claude Code sandbox settings: what the sandbox covers, and what still runs outside it
Claude Code's sandbox is an OS-level boundary around shell commands. It's off by default, writes stay in the project when it's on, and reads don't. Here are the defaults, the settings and the gaps.
For developers
- 26 October 2026CMS-0057-F and the prior authorization API: what it requires, and where automation fits
The CMS prior authorization rule sets decision deadlines from 2026 and a FHIR-based prior authorization API from 2027. If you build or automate prior authorization, here is what the fact sheet says, and what it means for records.
For cliniciansFor health ITFor developers
- 26 October 2026Codex CLI sandbox and approval modes: what each one allows, tested on macOS
Codex CLI pairs two settings: a sandbox that limits what commands can touch, and an approval policy that decides when it asks you. We read the docs and ran the sandbox to see what it actually blocks.
For developers
- 26 October 2026GitHub Copilot preToolUse hooks: how they decide, and the edge cases that matter
Copilot's cloud agent and CLI can run a hook before every tool call. Its rules for exit codes, timeouts and ask are different from Claude Code's. Here they are in one table, with a hook we tested.
For developers
- 26 October 2026CrewAI tool call hooks: how to block a tool call or ask a person first
CrewAI runs hooks before and after every tool call. A before hook can stop the call, change its input or ask a person in the terminal. Here's how each works, and three traps from the docs.
For developers
- 26 October 2026Cursor agent deleted my files: what let it, and the settings that stop it
If a Cursor agent deleted files, the command almost always ran from the terminal without a prompt. Here is which settings cover that, which don't, and a small hook that asks first.
For developers
- 26 October 2026What Cursor's 33 published security advisories teach about coding-agent safety
Cursor publishes its security advisories on GitHub. We read all 33 and grouped them. The patterns aren't about Cursor alone: they're the ways any coding agent's safety controls tend to fail.
For developers
- 26 October 2026Personal data breach notification for Indian hospitals: the 6-hour and 72-hour clocks
A breach at an Indian hospital can start two separate reporting clocks and a duty to tell every affected patient. Here is what each report must contain, with a worked timeline.
For cliniciansFor health IT
- 26 October 2026AI vendors as Data Processors under DPDP: contracts, logs and erasure
An AI scribe, chatbot or coding agent handling patient data for a hospital is usually a Data Processor. The hospital stays responsible, so the contract and the logs have to carry the weight.
For cliniciansFor health IT
- 26 October 2026The DPDP Rules 2025 for hospitals: what changes, and by when
Most DPDP duties start eighteen months after the November 2025 rules. For a hospital that means notices, safeguards, breach reporting and log retention by around May 2027. Here is the list, rule by rule.
For cliniciansFor health IT
- 26 October 2026drizzle-kit push --force deleted data: why it happens and how to stop it
drizzle-kit push compares your schema with the database and applies the difference. With --force it accepts every statement that loses data, without asking. Here is what that means and a safer flow.
For developers
- 26 October 2026How to dry-run an UPDATE before an AI agent commits it
Before an agent's UPDATE runs for real, you want to know how many rows it will change. EXPLAIN guesses. A rolled-back transaction counts exactly, with side effects you need to know about. Tested on PostgreSQL 18.
For developers
- 26 October 2026EHR audit logs: what they record, what research learned, and what AI agents change
Every click in an EHR leaves a timestamped trace. Researchers use audit logs to study clinical work; a review of 85 studies shows their power and gaps, which matter more once agents are users.
For cliniciansFor health IT
- 26 October 2026How to enable logical replication on Supabase, Neon, RDS, Cloud SQL and Azure
Logical replication needs wal_level = logical, a role with REPLICATION and a slot someone reads. Each managed Postgres exposes those differently. Here is the setting, the restart and the disk trap for each.
For developers
- 26 October 2026How to evaluate what an AI agent did, not what it said
The agent benchmarks researchers trust most share one idea: grade the effect on the system, not the agent's description of it. Here is how five benchmarks apply it, and a template to evaluate your own agent the same way.
For developers
- 26 October 2026FHIR AuditEvent vs Provenance: two records, two questions
AuditEvent answers who did what, when, for the security log. Provenance answers where this version of a resource came from. An AI agent writing to a FHIR server usually needs both. Here is how to tell them apart.
For health ITFor developers
- 26 October 2026FHIR Bulk Data export security: one request, every patient, and where agents fit
Bulk Data export is the FHIR operation built for moving whole populations of records. That makes it the largest blast radius on a FHIR server. Here's how the flow works, what the spec requires, and an agent policy.
For health ITFor developers
- 26 October 2026The FHIR Consent resource: what it records, and why your agent's tools must enforce it
FHIR's Consent resource records a person's choices about who may do what with their information. It does not stop anyone doing anything. For an AI agent reading health records, that gap is your job.
For health ITFor developers
- 26 October 2026FHIR transaction vs batch: what the spec requires, and what it leaves open
Both are Bundles you POST to the server base. One is atomic and can link its entries together; the other isn't and can't. Mixing them up is how half a write ends up stored. The R4 rules, with an example.
For health ITFor developers
- 26 October 2026Validating FHIR resources against a profile before an agent writes them
An AI agent that builds FHIR resources will sometimes build them wrong. You can catch that before the write, with the HL7 validator, a server's $validate operation, or rules on the server itself. Here's what each checks.
For health ITFor developers
- 26 October 2026FHIR versioning: versionId, ETag, vread and _history in one page
Every FHIR write can create a new version you can read back by number. That's what makes it possible to check what a write stored, and to avoid overwriting someone else's change. The R4 rules, and the gaps.
For health ITFor developers
- 26 October 2026Filesystem MCP server security: what allowed directories do, and how they were escaped
The filesystem MCP server keeps an agent inside the directories you list. In 2025 two advisories showed that boundary leaking through a name prefix and through symlinks. Here's the setup we'd use now.
For developers
- 26 October 2026"Gemini CLI deleted my files": what the issue thread actually shows
In July 2025 a Gemini CLI user reported the agent had lost every file in a folder. The thread ends differently: the files were found at the drive root. The real lessons are about checking, not panic.
For developers
- 26 October 2026Gemini CLI trusted folders: keep a cloned repo from configuring your agent
A repository can ship settings, MCP servers and an .env that change how your coding agent behaves. Gemini CLI's trusted folders feature ignores all of that until you say the folder is yours. It's off by default.
For developers
- 26 October 2026Gemini CLI yolo mode: what it auto-approves, and how to make it less dangerous
Yolo mode in Gemini CLI approves every action without asking. That's fine in a throwaway container and risky on your laptop. Here are the approval modes, the policy engine and the settings that narrow yolo.
For developers
- 26 October 2026The GitHub MCP exploit: a public issue, a private repo, a public pull request
In May 2025, Invariant Labs showed an agent with the GitHub MCP server reading a planted issue and leaking private repository data into a public pull request. Here is the mechanism and what stops it.
For developers
- 26 October 2026Google ADK before_tool_callback: tool-call guardrails, and when a plugin is better
In Google's Agent Development Kit, a before_tool_callback runs after the model asks for a tool and before the tool runs. Return None and it runs; return a dict and it doesn't. Plugins do the same for every agent.
For developers
- 26 October 2026Validating FHIR writes in HAPI: request validation, repository validation, agents
When an AI agent writes to a HAPI FHIR server, you want malformed resources refused, not stored. HAPI offers two places to check. They differ in one way that matters for agents: PATCH.
For health ITFor developers
- 26 October 2026HIPAA audit controls and AI agents: what 164.312(b) asks, and what to record
HIPAA asks for mechanisms that record and examine activity in systems holding ePHI. It doesn't say what an AI agent's record should contain. Here is the rule's text, and a practical record design.
For cliniciansFor health IT
- 26 October 2026India's AI Governance Guidelines (2025), read for hospitals and health-tech teams
India chose guidelines over a new AI law. They are voluntary, but they say what regulators will look for: human oversight, audit trails, incident reporting and extra safeguards in health.
For cliniciansFor health IT
- 26 October 2026India's EHR Standards on audit trails: log every view, never overwrite, detect edits
India's EHR Standards ask more of audit logs than most systems do by default: record viewing, never overwrite a record, and detect any change to the logs themselves.
For cliniciansFor health IT
- 26 October 2026Indirect prompt injection: what the 2023 paper predicted, and what happened next
In February 2023, researchers showed that instructions hidden in a web page or document could take over an LLM app that merely read them. Here is what the paper found, and how its predictions played out in agent tools.
For developers
- 26 October 2026INSERT … ON CONFLICT said 12 rows. Five of them were overwrites.
An upsert's command tag counts inserted and updated rows together. An agent that reads 'INSERT 0 12' as twelve new rows misses every overwrite. Here is how to get the real split, run on PostgreSQL 18.
For developers
- 26 October 2026LangGraph interrupt() or HumanInTheLoopMiddleware: which to use for tool approval
LangChain gives you two ways to pause an agent for a person: a ready-made middleware that reviews tool calls, and the lower-level interrupt() it's built on. They differ in effort and in one trap: nodes re-run on resume.
For developers
- 26 October 2026How to let an AI agent write database migrations without letting it run them
Writing a migration is a good job for an agent. Running one against a shared database is not. Split the two, and most of the risk goes away. Here is the workflow, the review checklist and the guardrails.
For developers
- 26 October 2026The lethal trifecta for AI agents: what it is and how to break it
An agent that can read private data, reads untrusted content and can send data out can be tricked into leaking. That's the lethal trifecta. Here's how to spot each leg and remove one.
For developers
- 26 October 2026LLM-as-a-judge: how reliable it is, and where agents need something else
Using a model to grade another model's output is fast and cheap. The study that popularised it found strong agreement with people, and measurable biases. Here are the numbers, the fixes, and why agent actions need a different grader.
For developers
- 26 October 2026How often do LLMs hallucinate in clinical notes? Two studies, two very different numbers
One peer-reviewed study reports 1.47% of sentences hallucinated. Another reports 23.6 errors per note. Both are careful work. The difference is in what they counted. Here is how to read such numbers, and what a system should record.
For cliniciansFor health IT
- 26 October 2026How accurate are LLMs at medical coding? Three studies, and what to build around them
Medical coding turns clinical notes into billing codes, and claims depend on it. Three recent studies put general-purpose LLMs to the test. Exact matches ranged from 14% to 45%. Here is what each measured.
For cliniciansFor health ITFor developers
- 26 October 2026Securing a local MCP server: the Origin check, the Host check and DNS rebinding
Binding an MCP server to localhost doesn't keep web pages out. A page can reach it through the browser, and DNS rebinding makes that worse. Three checks close it; here they are, tested.
For developers
- 26 October 2026Mastra tool approval: requireToolApproval, requireApproval and what happens on a crash
Mastra can pause an agent before a tool runs and wait for someone to approve or decline. It has two switches, a dynamic form that fails closed, and one requirement people miss: storage.
For developers
- 26 October 2026MCP 2026-07-28: what changed, and what it means for anyone in the middle
The 2026-07-28 revision makes MCP stateless: no handshake, no sessions, metadata on every request. Here is each change, sourced to the spec, with what it means for gateways and logs.
For developers
- 26 October 2026mcp-remote CVE-2025-6514: how an OAuth URL from a server became a command on your machine
In mid-2025, connecting mcp-remote to the wrong MCP server could run a command on your computer. The fix shipped in 0.1.16. Here's what the primary sources say and how to check your setup.
For developers
- 26 October 2026MCP security research: what the papers and disclosures have found so far
The Model Context Protocol went from launch to everywhere fast, and security research followed. Here are the main papers and disclosures, what each showed, and a lifecycle map of which control addresses which threat.
For developers
- 26 October 2026MCP token passthrough and the confused deputy problem, explained
Two of the MCP spec's security rules are about tokens: never accept a token issued for someone else, and never let a proxy skip the user's consent. Here's what each attack looks like and what to check.
For developers
- 26 October 2026MCP tool poisoning: instructions hidden where only the model looks
An MCP tool's description goes straight into the model's context. Tool poisoning puts instructions there. Here is the attack as first described, its two variants, and which defences hold.
For developers
- 26 October 2026MedAgentBench: AI agents in a FHIR-based EHR read well and write worse
MedAgentBench put LLM agents in a virtual health record that speaks FHIR, with 300 tasks written by physicians. Reads went much better than writes. Here is the setup, the gap, and what to do.
For health ITFor developers
- 26 October 2026MySQL point-in-time recovery with the binary log: undo one bad statement from an agent
An agent ran a DELETE or DROP on MySQL. If binary logging is on, which it is by default in 8.4, you can replay everything except that statement. Here's the procedure from MySQL's docs, step by step.
For developers
- 26 October 2026MySQL ON DELETE CASCADE isn't in the binlog: what that hides, and what to do
Delete one parent row in MySQL and InnoDB may delete hundreds of children. Those child deletes don't appear in the binary log, so replicas, change feeds and audits built on it don't see them.
For developers
- 26 October 2026A MySQL read-only user for an AI agent: grants, limits and the gaps
The safest MySQL connection for an AI agent or MCP server is a user that can only SELECT what the task needs. Here is the setup, statement by statement, and why server-wide read_only is a different tool.
For developers
- 26 October 2026A Neon database branch per pull request: where an agent's changes meet data first
When an agent opens a pull request with a migration, the safest first run is on a copy of the data made for that pull request. Neon's GitHub Actions create, diff, reset and delete such branches.
For developers
- 26 October 2026Is the Neon MCP server safe to use on production?
Neon's own docs say no: use its MCP server for development and testing. Here is what each setting narrows, what stays open, and how to give an agent Neon access without pointing it at production.
For developers
- 26 October 2026NHCX explained: the claims flows, the FHIR bundles, and where AI fits
NHCX moves cashless claims between hospitals and insurers as FHIR bundles. If an AI tool helps build a pre-auth or a claim, here is what the bundle carries and what to check before it goes out.
For cliniciansFor health ITFor developers
- 26 October 2026The Nx s1ngularity attack: a malicious package that tried to use your AI coding tools
Malicious versions of Nx on npm collected credentials and, by Nx's account, tried to use the AI tools installed on each machine. Here's what the primary sources say, and the agent settings that matter when malware is the one typing.
For developers
- 26 October 2026OpenAI Agents SDK human-in-the-loop: pausing a run for approval with needs_approval
The OpenAI Agents SDK can pause a run before a tool executes and wait for a person, even across a restart. Approvals also reach tools that guardrails skip, such as the shell and hosted MCP.
For developers
- 26 October 2026OpenAI Agents SDK tool guardrails: how to use them on MCP tools, and what they skip
The OpenAI Agents SDK can check every tool call before it runs. That check covers function tools and local MCP servers, and skips hosted MCP, the shell tool and handoffs. Here is the map.
For developers
- 26 October 2026OWASP Top 10 for Agentic Applications: what a tool-call gate covers, and what it doesn't
OWASP's agentic list names ten risks, from goal hijack to rogue agents. A gate between agents and their tools helps with some, partly with others, and does nothing for a few. Here is the map, misses included.
For developers
- 26 October 2026OWASP LLM06 Excessive Agency: what it means and how to audit your agent for it
Excessive Agency is OWASP's name for an LLM app that can do more damage than its job needs. It has three causes and eight mitigations. Here they are, applied to a real-looking agent setup.
For developers
- 26 October 2026PostgreSQL 18 RETURNING OLD and NEW: what it returns, with tested examples
Before PostgreSQL 18, an UPDATE could return the new row but not the old one. Now RETURNING can show both, in one round trip. Here is the syntax, tested output, and the uses that matter for audit.
For developers
- 26 October 2026Hide personal data columns from an AI agent with Postgres column grants
An agent often needs a customers table but not the email and phone columns in it. Postgres can grant single columns. We tested what the agent can and can't do with that.
For developers
- 26 October 2026Postgres default privileges and an AI agent's role: new tables, granted or not
You grant an agent's role read access, a migration adds a table, and the agent either can't see it or can see too much. Postgres default privileges decide which. We ran both cases.
For developers
- 26 October 2026Block DROP TABLE and ALTER TABLE for an AI agent's role with a Postgres event trigger
Sometimes an agent's role has to own tables, and owners can drop them. A Postgres event trigger can refuse that DDL for one role. We tested it, including the agent trying to switch it off, and found the gap.
For developers
- 26 October 2026Postgres SET ROLE per user: making an AI agent query as the person it serves
An agent serving many users through one connection pool should see only the current user's rows. SET LOCAL ROLE plus a transaction-scoped setting does that, until the model can send the SET itself.
For developers
- 26 October 2026Your Postgres view bypasses row-level security. Here's the fix.
Row-level security on a table doesn't follow it into a view by default. The view checks its owner's rights, not the caller's. A local test, the fix and an audit query.
For developers
- 26 October 2026Designing agents that prompt injection can't steer: CaMeL and the six patterns
Two 2025 papers argue that prompt injection is better contained by how an agent is built than by filtering what it reads. One proposes CaMeL; the other catalogues six patterns. Here is each, and its cost.
For developers
- 26 October 2026Pydantic AI tool approval: requires_approval and deferred tool results, tested
Pydantic AI handles approval by ending the run: the agent returns the pending calls instead of an answer, and a second run carries your decisions. We ran it with the built-in TestModel.
For developers
- 26 October 2026Questions to ask an AI scribe or assistant vendor, before you sign
A demo shows you a good note. These questions show you what happens to patient data, who reviews the draft, what gets logged, and how you leave. Non-clinical, for doctors and clinic managers.
For cliniciansFor health IT
- 26 October 2026rds_superuser and neon_superuser: what your agent inherits, and what to give it instead
Managed Postgres has no true superuser for you, but the admin role you do get is close. Connect an agent with it and the agent holds the same power. Here's what each provider's admin role carries.
For developers
- 26 October 2026A replication slot is filling your disk with WAL: find it, cap it, drop it
A logical replication slot that nobody reads keeps every WAL file since it stopped. By default there's no limit. We reproduced it, capped it, and watched the slot get invalidated.
For developers
- 26 October 2026An AI agent deleted data on Neon: restore the branch or copy rows back
Neon keeps a history of changes, so data an agent deleted is often minutes from recovery. The choice is between rolling the whole branch back and copying back only what was lost.
For developers
- 26 October 2026How to restore one Postgres table to a point in time
PostgreSQL can't roll back one table by itself. You recover a side copy of the cluster to just before the bad statement, then copy that table's rows back. Here's the run, step by step.
For developers
- 26 October 2026An AI agent deleted data in Supabase: how to get it back
Supabase can restore a backup over your project, but that rolls back everything written since. Usually it's better to restore beside production and copy back only the rows the agent deleted.
For developers
- 26 October 2026Semantic Kernel function invocation filters as tool-call guardrails
In Semantic Kernel, a function invocation filter wraps every function call. Don't call next and the function never runs. We used that to hold large refunds for a person, and ran it.
For developers
- 26 October 2026SMART on FHIR v2 scopes: how to give an AI agent only the access it needs
SMART App Launch 2 replaced read and write scopes with five letters: create, read, update, delete, search. Add a query filter and a scope can name one category of one resource. Here is the syntax and an agent-sized scope set.
For health ITFor developers
- 26 October 2026Stripe restricted keys for AI agents: let an agent handle refunds without a secret key
Stripe now has a way to hand an AI agent a key: a restricted key tagged for agent access, with approval rules on refunds and payouts by default. Here's a setup for a refund agent.
For developers
- 26 October 2026Supabase branching for agent-written migrations: the merge button is the approval
Supabase can give every pull request its own instance, built from your repository's migrations, with no production data unless you add it. Merging then deploys to production automatically. That changes what reviewing an agent's PR means.
For developers
- 26 October 2026The Supabase service_role key and AI agents: why it skips every policy
An AI agent holding a Supabase secret or service_role key reads and writes past every row-level security policy. Here is what the key is, a local test of the mechanism, and what to hand the agent instead.
For developers
- 26 October 2026What SWE-bench measures, and what a high score doesn't tell you
SWE-bench is the benchmark most quoted for coding agents. It asks one precise question: does the agent's patch make the right tests pass? Here is how it works, what Verified changed, and what it leaves out.
For developers
- 26 October 2026τ-bench explained: database-state scoring and the pass^k reliability metric
τ-bench is a tool-use benchmark that checks what an agent did to a database, not what it said. Its pass^k metric asks whether an agent succeeds every time. Here is how both work, with worked numbers.
For developers
- 26 October 2026Text-to-SQL benchmarks: what BIRD and Spider 2.0 say about letting agents write SQL
AI agents increasingly answer questions by writing SQL against real databases. BIRD and Spider 2.0 measure how often that SQL is right. The gap between easy and enterprise databases is large. Here is what each measures.
For developers
- 26 October 2026The transfer failed halfway and the agent said no money moved. The debit had committed.
Three statements, no transaction, an error on the second. The agent reported the transfer failed, so nothing changed. Postgres had already committed the debit. Here is the reproduction and the fix.
For developers
- 26 October 2026Vercel AI SDK tool approval: moving from needsApproval to toolApproval
The AI SDK's per-tool needsApproval flag is deprecated; approval now lives in a toolApproval setting on the call. We ran both against a mock model to see exactly when a tool executes.
For developers
- 26 October 2026VS Code agent mode auto-approve: which terminal commands run without asking
VS Code's agent mode can run terminal commands with or without a prompt, decided by a few settings. Here's how the rules combine, the defaults, and why VS Code calls them a convenience, not a boundary.
For developers
- 26 October 2026WebArena and OSWorld: how computer-use agents are tested, and what the scores mean
Computer-use agents click, type and browse like a person. WebArena and OSWorld test them on real websites and real operating systems, and check what changed, not what the agent said. Here is how, and what the first results showed.
For developers
- 26 October 2026Why multi-agent LLM systems fail: 14 failure modes from 1,600 traces
Splitting work across several agents is popular. A 2025 study read over 1,600 traces from seven multi-agent frameworks and catalogued how they fail. The most common failures are mundane: repeating steps, not stopping, and saying one thing while doing another.
For developers
- 26 October 2026Why a regex can't block DROP TABLE from an AI agent: a six-statement test
A regular expression looks like a quick guard against destructive SQL. We ran six statements past one. Five dropped tables and passed; it blocked the only harmless one. Here is why, and what works.
For developers
- 25 October 2026AI agent audit logs under India's DPDP Rules: what Rule 6 asks for
India's DPDP Rules ask for logs of who accessed personal data, kept for a year. An AI agent that reads or changes customer records is one more accessor, and its actions belong in those logs.
For cliniciansFor health IT
- 25 October 2026An AI agent ran prisma migrate reset on production. What actually stops it?
Prisma has its own check for AI agents. We ran it inside Claude Code, then went around it three ways. One fix held every time: a database role that can't drop what it doesn't own.
For developers
- 25 October 2026An AI agent retried a timed-out write and it ran twice: how to make retries safe
The agent's client gave up after half a second. Postgres finished the credit anyway, and the retry credited again. Here are the measured runs, the fix, and the case our own tool misses.
For developers
- 25 October 2026Your AI agent ran an UPDATE without a WHERE. How do you stop the next one?
Postgres will happily change every row and answer UPDATE 500. Here are the guards that refuse it, tested on one table, and the one you can add to your database in five minutes.
For developers
- 25 October 2026How to audit MySQL changes made by an AI agent: statements, rows and the gaps
Five ways to see what an agent did to a MySQL database, what each one records, and a recorded run where the agent's statement says one row and the binlog says 301.
For developers
- 25 October 2026How to check agent records without our software
A signed audit log is only worth something if someone other than its writer can check it. Here is what an independent check covers, step by step, with three verifiers run on the same records.
For developers
- 25 October 2026Hooks that block dangerous commands in Codex CLI, Gemini CLI, Copilot and Cursor
Each of these coding agents runs a hook of yours before a shell command. They differ on one thing that matters: whether the hook can ask you first, or only refuse.
For developers
- 25 October 2026FHIR writes that said success: 11 cases where the server stored something else
A FHIR server's 200 or 201 says it accepted your request. It doesn't say it stored what your agent meant. We ran 17 synthetic scenarios against one real server to see how often those differ, and which checks notice.
For health ITFor developers
- 25 October 2026Is Supabase MCP safe? A 10-point setup checklist, and what read-only mode doesn't stop
Safe enough for development, if you set it up that way: one project, read-only, few tools, a person approving each call, and no secrets the session can reach.
For developers
- 25 October 2026Lockdown mode for hospitals: how to make every AI agent write wait for a person
Some systems are too sensitive for rules alone. Lockdown is a pattern for them: every agent write waits for a person, the riskiest writes never run, and an unchecked result stops the agent until someone looks.
For cliniciansFor health ITFor developers
- 25 October 2026ON DELETE CASCADE deleted more rows than expected: how to see it coming
The command tag said DELETE 1. The transaction deleted 49 rows in three tables and changed two more. Here is the run, a query that maps every cascade, and a way to count before committing.
For developers
- 25 October 2026Post-quantum signatures for audit logs: why records signed today must still check in 2046
Audit records outlive the algorithms that sign them. NIST's draft schedule retires EdDSA after 2035, so a log signed with Ed25519 today needs a second, post-quantum seal long before then.
For developers
- 25 October 2026The Postgres MCP server read-only bypass: reproduced, and what actually holds
Datadog Security Labs showed that one stacked COMMIT turns the archived Postgres MCP server's read-only mode into full write access. We reran the mechanism and tested five defences against it.
For developers
- 25 October 2026The Supabase MCP "leak": what the July 2025 demonstration showed, and what changed after
No customer data leaked. A research team showed, on dummy data, how one support ticket could steer a developer's assistant into copying secrets to where an attacker could read them.
For developers
- 25 October 2026We show where our gateway loses: an open benchmark for agent-database tools
Twelve database scenarios where what an AI agent reports and what Postgres commits come apart. Our gateway caught 5 of the 11 that diverge. The 6 it missed come first.
For developers
- 19 October 2026AI agents are writing to patient records. Who checks what they changed?
AI in hospitals and insurers has moved from suggesting to writing. The hard question is no longer only what the AI said. It is what the record holds afterwards, and who can show it.
For cliniciansFor health IT
- 18 October 2026An AI agent deleted the production database: what to do in the first hour
Stop the agent, take away its credentials, keep the evidence, then restore next to production rather than over it. With provider restore docs and a recovery we ran end to end.
For developers
- 18 October 2026pgAudit, triggers or logical decoding: auditing what an AI agent wrote to Postgres
We ran one agent write through four audit methods on a local Postgres 18.6 and kept the output. Each one answers a different question, and two of them missed 300 rows.
For developers
- 18 October 2026Require approval for MCP tool calls: Claude Code, Cursor, then a gateway
Both clients can ask before a tool runs. Here is the configuration, a hook we tested, what each layer can't see, and the point where approvals belong outside the editor.
For developers
- 14 October 2026Your AI agent said it updated 1 row. Postgres changed 301.
The agent wasn't lying. It passed on what Postgres told it. Here is the run, the output, where the other 300 rows came from, and how they went back.
For developers
- 14 October 2026A practical checklist before you let an AI agent near production
Twenty checks, grouped by what goes wrong. Most need no new tools, just SQL and a few decisions written down. Start with the first section; it finds most of the problems.
For developers
- 14 October 2026Claimed, Checked, Proven: three levels of evidence for agent actions
"The tool returned success" can mean three very different things. Naming the level of evidence behind each result is how you know which results to trust, and which to go and look at.
For developers
- 14 October 2026MCP security checklist: what to check before an agent gets a tool
Twelve checks for any MCP server that touches real data, with the command or query that answers each. Most come down to what the server can reach, who can talk to it, and what reaches the model.
For developers
- 14 October 2026What the Replit and PocketOS incidents teach, from their primary sources
The platforms' own write-ups describe the mechanism: agent credentials that reached production, and guardrails that lived somewhere the agent didn't go.
For developers
- 14 October 2026How to give an AI agent safe Postgres access: the role, RLS and statement limits
Three layers, each tested on PostgreSQL 18.6 with the output below: what the agent may change, which rows, and for how long. Then the gap all three share when the agent writes its own SQL.
For developers
- 14 October 2026Undo for agent sessions: putting back what an AI agent changed in Postgres
A backup restore throws away everyone's work since the backup. What you want is the rows the agent changed, before and after, and a safe way to put them back. Postgres already records both.
For developers
- 14 October 2026Why logs aren't evidence of what your AI agent did
A log tells you what some process chose to write down. Evidence has to say who wrote it, whether it changed since, and whether it matches what the system really did.
For developers