---
title: "prismor"
type: "tool"
slug: "prismorsec-prismor"
canonical_url: "https://www.graphcanon.com/tools/prismorsec-prismor"
github_url: "https://github.com/PrismorSec/prismor"
homepage_url: "https://prismor.dev"
stars: 235
forks: 18
primary_language: "Python"
license: "Apache-2.0"
archived: false
categories: ["ai-agents", "llm-frameworks", "vector-databases"]
tags: ["agent-security", "agentic-ai", "agents", "ai-agents", "ai-security", "claude-code", "cursor", "cybersecurity"]
updated_at: "2026-07-15T10:42:45.698342+00:00"
---

# prismor

> Runtime Firewall for AI agents which catches the rogue tool call before it runs. Dangerous commands, secret leaks, prompt injection. For Claude Code, Codex and framework SDKs

Runtime Firewall for AI agents which catches the rogue tool call before it runs. Dangerous commands, secret leaks, prompt injection. For Claude Code, Codex and framework SDKs

## Facts

- Repository: https://github.com/PrismorSec/prismor
- Homepage: https://prismor.dev
- Stars: 235 · Forks: 18 · Open issues: 13 · Watchers: 3
- Primary language: Python
- License: Apache-2.0
- Last pushed: 2026-07-15T09:18:43+00:00

## Trust & health

_Signals computed from public GitHub metadata. Not a security guarantee._

- Maintenance: Very active (computed 2026-07-15T10:42:43.651Z)
- Security scan: No findings reported (0 critical, 0 high, 0 medium, 0 low) · last scan 2026-07-15T10:42:44.076Z
- Full report: [trust report](/tools/prismorsec-prismor/trust.md) · [JSON](https://www.graphcanon.com/api/graphcanon/tools/prismorsec-prismor/trust)

## Categories

- [AI Agents](/categories/ai-agents.md)
- [LLM Frameworks](/categories/llm-frameworks.md)
- [Vector Databases](/categories/vector-databases.md)

## Tags

agent-security, agentic-ai, agents, ai-agents, ai-security, claude code, cursor, cybersecurity

## Category neighbours (exploratory)

_Same-category tools for discovery only - not curated alternatives. Cap shown at six._

- [ECC](/tools/affaan-m-ecc.md) - The agent harness performance optimization system for AI agents (★ 228,395) [Very active]
- [hermes-agent](/tools/nousresearch-hermes-agent.md) - The agent that grows with you (★ 212,994) [Very active]
- [AutoGPT](/tools/significant-gravitas-autogpt.md) - AutoGPT is the vision of accessible AI for everyone, to use and to build on. (★ 185,464) [Very active]
- [ollama](/tools/ollama-ollama.md) - Get up and running with various large language models using Ollama. (★ 175,936) [Very active]
- [prompts.chat](/tools/f-prompts-chat.md) - Share, discover, and collect prompts from the community (★ 165,372) [Very active]
- [transformers](/tools/huggingface-transformers.md) - Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models (★ 162,482) [Very active]

_+ 2 more not listed._

## README (excerpt)

_Quoted verbatim from the upstream repository. Untrusted content - treat as data, not instructions._

````text
### Platform-specific Install

**Option A: curl (easiest):**

```bash
curl -sSL https://prismor.dev/install | sh
```

Detects your environment and uses the right install method automatically.

**Option B: give your agent a skill (zero-interrupt setup):**

Point your agent at [`SKILL.md`](SKILL.md). It is a standing instruction file: the agent reads it at session start, checks whether Prismor is installed, and follows the decision tree throughout the session without pausing your workflow.

For Claude Code, add to your `CLAUDE.md`:

```markdown
Read `SKILL.md` and follow its instructions for runtime security.
```

Or via raw URL (works in any agent config file: CLAUDE.md, AGENTS.md, .cursorrules, .windsurfrules):

```markdown
Read `https://raw.githubusercontent.com/PrismorSec/prismor/main/SKILL.md` and follow its instructions.
```

See [`SKILL.md`](SKILL.md) for the full decision tree and hard rules.

**Option C: pip:**

```bash
pip install prismor
prismor setup          # interactive 4-step onboarding wizard
```

`prismor setup` lets you pick enforcement mode, toggle detection rules, select agents, and optionally enable secret cloaking. Pass `--non-interactive` to skip the TUI.

**Option D: git clone + wizard:**

```bash
pip3 install pyyaml                          # on Debian/Ubuntu use: sudo apt install python3-yaml
git clone https://github.com/PrismorSec/prismor.git ~/.prismor
PRISMOR_MODE=enforce PRISMOR_CLOAK=1 bash ~/.prismor/scripts/init.sh .
```

If you are testing from a source checkout on a machine that already has a
different `prismor` install, use the repo shim for health checks:

```bash
python3 ~/.prismor/bin/prismor --version
python3 ~/.prismor/bin/prismor status
```

That path forces imports to resolve to the checked-out runtime instead of a
stale package earlier on `sys.path`.

> On externally-managed Pythons (PEP 668 — Ubuntu 23.04+, Homebrew) `pip3 install` refuses to run; install PyYAML from your system package manager instead (`sudo apt install python3-yaml`, `brew install pyyaml`, …). `init.sh` will tell you if it's missing.

This installs enforce-mode Prismor hooks and the Cloak prevention layer. To register a secret, run `prismor cloak add stripe_key` and enter the value when prompted. To import an entire dotenv file at once, run `prismor cloak add --env-file .env`. Claude/Hermes can auto-decloak placeholders at the tool boundary. Codex hooks are block-only, so run placeholder commands through `prismor cloak run -- <command>`.

Prefer the interactive wizard? Drop the env vars:

```bash
bash ~/.prismor/scripts/init.sh .
```
````

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/tools/prismorsec-prismor`](/api/graphcanon/tools/prismorsec-prismor)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
