Runtime security for AI coding agents: policy enforcement, secret prevention, and supply-chain blocking.
pip install prismor==1.72.0 Copy PIP instructions
AI coding agents execute shell commands, read files, call APIs, and install packages autonomously. Prismor sits between the agent and the operating system to:
Supports Claude Code, Cursor, Windsurf, and more.
pip install prismor Requires Python ≥ 3.8 and PyYAML (installed automatically).
Install Prismor hooks into your project (enforces policy on every agent tool call):
prismor install-hooks --agent claude --workspace . --mode observe Start in observe mode to log would-be blocks without interrupting the agent. Switch to enforce when ready:
prismor supplychain npm install express prismor supplychain pip install requests prismor supplychain cargo add serde Check a command against policy before running it:
prismor check "rm -rf /" # BLOCK destructive_command CRITICAL Audit your workspace security posture:
prismor audit Scan AI tool configs for leaked secrets:
prismor sweep Launch the self-hosted dashboard (reads from local SQLite, no cloud):
prismor dashboard # opens http://127.0.0.1:7070 in your browser Detection coverage Prismor ships with 90+ rules (prismor policy show lists them) covering the OWASP Top 10 for LLM Applications:
Rules are defined in YAML and fully customizable per-project.
The prismor CLI wraps your package manager and evaluates every install against live threat intelligence before it runs. Packages are scored on age, maintainer count, install scripts, and known IOCs. Ships with IOC coverage for recent attacks including the AntV hijacked-maintainer attack (May 2026) and the mini-shai-hulud campaign (May 2026).
prismor supplychain npm install @tanstack/react-router BLOCK score 100 @tanstack/react-router 42 @tanstack/* packages compromised via CI/CD cache poisoning Verdicts: < 30 allow · 30–59 warn · ≥ 60 block. IOC matches always block.
prismor cloak add stripe_key # prompts for the value — never stored in shell history prismor cloak add --env-file .env # imports each KEY=VALUE entry as @@SECRET:KEY@@ Reference it in agent instructions:
Run: curl https://api.stripe.com -H "Authorization: Bearer @@SECRET:stripe_key@@" Claude/Hermes cloaking can substitute the real value at execution time and scrub echoed values before they return to the model. Codex hooks are block-only, so Prismor blocks literal placeholder execution there; use the Prismor-owned runner instead:
prismor cloak run -- curl https://api.stripe.com -H "Authorization: Bearer @@SECRET:stripe_key@@" Modes Mode Behaviour observe Logs all findings, never blocks. Good for the first 24–48 h on a new workspace. enforce Blocks dangerous actions in real time before the agent executes them. Links Repository: https://github.com/PrismorSec/prismor Docs: https://www.prismor.dev/docs Dashboard: https://www.prismor.dev Project links Data verified by PyPI on Nov 3, 2026 Data provided by the project maintainers, verified at the time the release was uploaded to PyPI. Repository Documentation Homepage Key dates PyPI data Data sourced directly from PyPI's database. Released: Nov 3, 2026 Newer release available (1.72.5) 1 maintainer PyPI data Data sourced directly from PyPI's database. prismor Credits Author: Prismor Security
All 2 files in this release have provenance metadata.
ag2 agent-framework agno autogen-core beeai browser-use claude-agent-sdk crewai dev frameworks google-adk identity langchain llamaindex openai-agents pii pydantic-ai semantic semantic-kernel signing smolagents
ai-agents claude-code llm policy-enforcement prompt-injection security supply-chain
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.
All 2 files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Jul 8, 2026 2 release files Loss of provenance




