cursor composer and agent mode are insane, but letting an agent execute arbitrary terminal commands directly on your laptop is lowkey terrifying.
install scripts, random dependencies, running tests on strangers’ PRs. all of it runs with raw access to your ~/.ssh keys, local .env files, and database ports.
one bad prompt injection and your machine is cooked.
so i built airgap.
it’s a lightweight open-source MCP server written in rust that intercepts terminal execution and moves it into disposable linux microVMs.
- 120ms cold boot (feels native, zero lag in cursor)
- zero host escape — agent can’t touch your disk
- secrets scrubbed — auto-redacts API keys and DB credentials from console logs
you can install the plugin directly from cursor directory:
dropped it on github a couple weeks ago with zero expectations. somehow did 1,280+ clones and 700+ installs across the community.
curious how you guys are handling agent security inside cursor right now?