Claude Code security, enforced before commands run.

Alesia checks every command Claude Code tries to run, every file it opens, and every prompt it sends on your device before anything executes. Dangerous commands and secret leaks are blocked; normal work keeps moving.

An AI agent runs a series of commands. Alesia allows tests and builds and blocks dangerous commands, reads of protected files, and actions your rules forbid.

What Alesia protects in Claude Code

Deterministic guardrails and secret detection running locally alongside Claude Code, without slowing developers down.

Dangerous commands, caught first

Recursive deletes, destructive git commands, risky database queries, and cloud teardowns are caught by built-in detectors before execution. Add your own blocked commands on top.

Protected files & secrets stay local

.env files, SSH and AWS keys, and credentials are off limits to Claude Code by default. Sensitive values in prompts are blocked or redacted before send.

Watch first, block when ready

Run rules in watch mode to see what Claude Code tries to run across your team. Switch to block once your guardrails look right.

Your code stays on your device

All checks run natively on your machine in milliseconds. Source code and prompts never leave the device; only structured incident metadata syncs for teams.

Why built-in Claude Code permissions aren't enough.

Permission prompts rely on developers never clicking Allow by mistake. Alesia enforces consistent rules on the device automatically.

How actions are checked

Built-in Claude Code prompts: Manual Allow clicks that lead to approval fatigue

Alesia on your device: Automatic deterministic rules checked before execution

Where rules live

Built-in Claude Code prompts: Per-repo settings.json edited on each machine

Alesia on your device: Versioned team policies or personal rules enforced everywhere

What is covered

Built-in Claude Code prompts: Tool permission prompts only

Alesia on your device: Shell commands, file reads, and prompt secret redaction

Team visibility

Built-in Claude Code prompts: No audit trail across developer machines

Alesia on your device: Metadata-only incident log without uploading code or prompts

Claude Code security FAQ

Claude Code's built-in prompts ask developers to approve actions one by one or maintain local settings.json files. Alesia adds an independent on-device layer that enforces deterministic rules for commands, protected files, and secret redaction—consistent across every repo and developer machine.

No. Checks run natively in milliseconds via Alesia's local Rust daemon. Safe commands like tests, builds, and git status pass through immediately; only actions matching your guardrails are warned or blocked.

Never. Inspection, file-path checks, and secret redaction run 100% locally on your device. For teams, only structured metadata (which rule triggered and when) syncs to the console.

Yes. Alesia is free forever for solo users and teams up to 10 people, including built-in Agent Guardrails for risky commands and .env protection.

Say yes to AI.

Built in Germany. Everything runs on your device, and raw prompts never leave it.