Skip to content

Restrict Agent Write Permissions, Dry-Run Previews, and Blast Radius

Let AI agents execute real code, SQL queries, and external API actions safely without risking mass record deletion or credential exposure.

The button copies the prompt and opens Michał Jaskólski’s LinkedIn profile: paste it into your message to him.

Four engineering controls that bound agent blast radius

  1. 01

    Run text-to-SQL strictly on read-only, tenant-scoped views

    Use dedicated database roles with `statement_timeout = 3s`, row-level security, and zero `UPDATE`/`DELETE` privileges—never parse SQL regexes for safety.

  2. 02

    Isolate code execution inside network-locked microVMs

    Execute generated Python/JS spreadsheet scripts inside ephemeral containers with zero egress to cloud metadata IPs or internal VPC subnets.

  3. 03

    Cap bulk mutation cardinality at the tool boundary

    Reject any single agent turn attempting to modify more than e.g. five records without explicit batch confirmation from an authenticated human.

  4. 04

    Snapshot pre-mutation state for single-click undo

    Store before-images on agent edits to tickets, configs, or docs so operators can revert an entire agent run cleanly in one click.

Frequently Asked Questions

Is checking generated SQL strings with a regex blacklist (`DROP`, `DELETE`) safe?

Never—CTEs, functions, and dialect quirks bypass string filters easily; database-enforced read-only roles and PostgreSQL RLS are mandatory.

How do you prevent prompt injection inside an email from triggering outbound agent tools?

Block unattended outbound data-exfiltration or destructive write tools whenever untrusted external text has entered the current agent context.

What execution timeout keeps sandboxed data-analysis agents snappy and cost-safe?

Five to ten seconds CPU ceiling with capped memory inside pre-warmed microVMs handles 99% of pandas/chart tasks while stopping infinite loops cold.