Get Shield on GitHub · Request a demo
What Shield checks in Cursor.
- Before a prompt is sent. Shield reads the prompt in Cursor's own prompt hook.
- Before a shell command.
rm -rfon a root path, a force-push over shared history, a dropped table. - Before an MCP call. The call and its arguments are read against your rules before the server receives them.
- Before a file read. Shield sees the request before the model sees the file, and can refuse it.
- After a tool runs. Shield scans the output for injected instructions and for credentials. If the session has read a credential, the next network send becomes a question.
Install.
curl -fsSL https://shield-get.aperion.ai | sh
aperion-shield --install-agent-hooks
aperion-shield --install-guard
Across a team.
Smartflow Shield connects each laptop to your Smartflow gateway. Managed settings lock the hooks at the machine level. If the Shield binary is missing or does not answer on a tool call, the action is denied. Shield's decisions and tool events from Cursor land in the central log against the person from your directory.
What it does not do.
- Cursor sends most of its model traffic to Cursor's own service. That traffic does not pass through the Smartflow gateway. From Cursor, the central log carries Shield's decisions and tool events.
- The spend cap applies to calls that pass through the gateway.
- Cursor's after-the-fact events cannot refuse a call. Shield records what it saw and acts on the next call.
- A question from Shield goes to the developer at the keyboard.
- Commands typed in the developer's own terminal, a tool called by full path and an extension's startup code are outside Shield.
Frequently asked questions
Does Shield slow Cursor down?
Routine calls pass. Shadow mode shows what would stop before anything does, so you tune the rules on your own work first.
Does Shield see my prompts in Cursor?
Yes. Shield checks the prompt in Cursor's own prompt hook, and checks what the agent does next: shell commands, file reads and MCP calls.
Does it work with Cursor's MCP servers?
Yes. Shield checks each MCP call before the server receives it, and can scan an MCP server before you install it.
Can a project turn it off?
On a managed laptop the hooks are locked at the machine level. On a single laptop, the guard puts a removed hook back.
APERION Shield for coding agents · APERION Shield for Claude Code
Cursor is a product of Anysphere. APERION is an independent company.
Put this in the path of your own agents.
Policy enforced inline between your agents and every model and tool they reach, with a record bound to the human who owns it.
Request a Demo Read the docs