Skip to content
GitHub (opens in a new tab)

FAQ · Security and credentials

How does GateRook tell a read from a write?

Updated

GateRook classifies each call as a read, a change or a denial before it runs, using its own rules for each connector, never the AI's description:

  • SQL: GateRook reads the statement as the database itself would. sql_query runs one statement and refuses anything that isn't a read or that it can't analyze. Transaction control, temporary tables, writing files and functions that act outside the transaction are refused everywhere. A function GateRook doesn't know as built in sends the call to approval.
  • HTTP: GET and HEAD are reads; POST, PUT, PATCH and DELETE are changes.
  • AWS and Google Cloud: the read tools accept only operations that GateRook classifies as reads from the provider's own API description; changes go through a tool that waits for approval.
  • SSH: ssh_exec always waits for approval, and a saved runbook runs at once only when you marked it read only.
  • External MCP servers: the server's own declaration, which GateRook can't verify.

If a call can't be classified, it is denied. No classifier is perfect, so SQL reads also run in read-only transactions where the database supports them, and a read-only database user is still worth having.

All questions

Still have a question?

Ask the GateRook team.

Write to support@gaterook.com about setup, security or anything these answers do not cover. Report bugs and suggest features on GitHub.

Get GateRook

Download GateRook 2.0.0 for your Mac, or get the Windows app from Microsoft Store.

macOS

Version 2.0.0 for Apple Silicon (arm64). This download does not support Intel Macs.

Open the DMG and drag GateRook to Applications.

Windows

Available for free from Microsoft Store. Install GateRook and receive updates through the Store.

macOS release notes and checksums (opens in a new tab)

Optional analytics

Google Analytics measures visits and download clicks. You can turn it off here or change your choice later in Analytics settings.

Analytics is currently on.

Privacy Policy & cookie choices · Google privacy policy (opens in a new tab)