About Chimera-Protocol/csl-core
Chimera-Protocol/csl-core is an MCP server published by Chimera-Protocol in the Security category: find, prove and control the AI agents on your machines: discovers every agent and what it can reach, proves policies with Z3 + TLA+, enforces them deterministically outside the model. Conduid read 11 tools from its source: explain_policy, scaffold_policy, simulate_policy, tla_verify, universe_info, venom_agent and 5 more. It is published to PyPI as csl-core and runs with uvx.
The repository has 29 stars and 13 forks, is licensed Apache-2.0, and its last commit was on 5 Oct 2026. The latest release is v0.6.9 (5 Oct 2026): A call that should have stopped could run, on 0.6.0 to 0.6.8. It follows v0.6.8 (4 Oct 2026), and the 5 most recent releases go back to v0.6.5 (3 Oct 2026). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned, No dynamic code execution and Scoped permissions. Its topics include causal-inference, ai-governance, formal-verification, ai-safety, deterministic-ai and langchain.
Install
uvx csl-corepip install csl-coregit clone https://github.com/Chimera-Protocol/csl-coreTools (11)
explain_policyParse a CSL policy and return a structured Markdown summary.| Parameter | Type | Description |
|---|---|---|
| csl_content * | string | The complete CSL policy source code as a string. |
scaffold_policyGenerate a CSL policy scaffold from a description.| Parameter | Type | Description |
|---|---|---|
| description * | string | Plain-English description of what the policy should enforce. |
| domain_name * | string | Name for the policy domain (e.g., "PaymentGuard", "AgentSafety"). |
| variables | string | Optional comma-separated variable hints (e.g., "amount, role, risk_score"). |
simulate_policySimulate a CSL policy against one or more JSON inputs.| Parameter | Type | Description |
|---|---|---|
| context_json * | string | JSON object (single input) or JSON array (batch) to test. |
| csl_content * | string | The complete CSL policy source code as a string. |
| dry_run | boolean | If true, evaluates all rules but never blocks. Useful for shadow testing. |
tla_verifyRun TLA+ formal verification (real TLC model checking) on a CSL policy.| Parameter | Type | Description |
|---|---|---|
| csl_content * | string | The complete CSL policy source code as a string. |
| timeout | integer | TLC subprocess timeout in seconds (default: 60). |
| use_mock | boolean | If true, use Python BFS fallback instead of real TLC. |
universe_infoAnalyze the state space "universe" of a CSL policy.| Parameter | Type | Description |
|---|---|---|
| csl_content * | string | The complete CSL policy source code as a string. |
venom_agentOne agent in detail: its tools with parameters and risk classes, triggers, guard| Parameter | Type | Description |
|---|---|---|
| agent_id * | string | agent id, name or key (from venom_inventory). |
| workspace | string | Venom workspace folder. |
venom_inventorySummary of the AI agents Venom discovered on this machine: kind, state, tool count,| Parameter | Type | Description |
|---|---|---|
| workspace | string | Venom workspace folder (default: CSL_VENOM_WORKSPACE or the server's folder). |
venom_policy_contextEverything needed to draft or revise a policy for one agent: the active policy (or a| Parameter | Type | Description |
|---|---|---|
| agent_id * | string | agent id, name or key. |
| workspace | string | Venom workspace folder. |
venom_propose_exemptionPropose that an agent (scope "agent") or one tool (scope "tool") be exempted from| Parameter | Type | Description |
|---|---|---|
| agent * | string | agent id (or "*" with scope "tool"). |
| reason * | string | why it can be trusted. |
| scope * | string | "agent" or "tool". |
| tool | string | tool name when scope is "tool". |
| workspace | string | Venom workspace folder. |
venom_save_draftVerify a CSL draft (parse, validate, Z3) and, only if it passes, save it to the| Parameter | Type | Description |
|---|---|---|
| agent_id * | string | the agent the draft is for. |
| csl_content * | string | complete CSL policy source. |
| note | string | one line explaining the draft (kept as a comment). |
| workspace | string | Venom workspace folder. |
verify_policyVerify a CSL policy for logical consistency using Z3 formal verification.| Parameter | Type | Description |
|---|---|---|
| csl_content * | string | The complete CSL policy source code as a string. |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.1K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- !No dynamic code executionScanned 114 source files and found 7 calls to eval or shell execution, in chimera_core/venom/check.py:283, chimera_core/venom/check.py:288 and chimera_core/venom/mapping/assistant.py:334 among others. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiochimera_core/mcp/server.py:1118
- Starts other programs
- 9 callschimera_core/engines/tla_engine/tlc_runner.py:203, chimera_core/engines/tla_engine/tlc_runner.py:484, chimera_core/venom/probe.py:140
- Outbound network calls
- 2 callschimera_core/engines/tla_engine/tlc_runner.py:153, chimera_core/venom/probe.py:207
- Writes or deletes files
- 43 callschimera_core/cli.py:199, chimera_core/engines/tla_engine/tla_spec_builder.py:331, chimera_core/engines/tla_engine/tla_spec_builder.py:332
- Lockfile
- None in the repository
Pattern matches on the source text of 114 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 3.1K words, fetched a month ago. The original in the repository is authoritative.
Read full README