Atlas / MCP servers / cedar-policy / Cedar For Agents

Cedar For AgentsBLOCK

mcp/cedar-policy/cedar-for-agents
Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
3 3r · 0w · 0d
Transport
stdio
License
Apache-2.0
Stars
54
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

This repository contains the source code for software at the intersection of cedar and Agents.

Table of Contents

This repository contains a number of directories:

  • rust which contains the source code for a number of Rust crates that provide functionality to secure Agentic workflows using Cedar as well bindings in WebAssembly and Python:
  • mcp-tools-sdk : A crate for parsing and manipulating MCP tool descriptions and data.
  • cedar-policy-mcp-schema-generator : A crate for auto-generating a Cedar Schema for an MCP Server's tool descriptions.
  • cedar-policy-mcp-schema-generator-wasm : WebAssembly bindings for generating Cedar schemas and authorization requests from MCP tool descriptions in JavaScript and TypeScript environments, published as (`@cedar-policy/mcp-schema-generator-wasm)[https://www.npmjs.com/package/@cedar-policy/mcp-schema-generator-wasm] on NPM.
  • cedar-policy-mcp-schema-generator-python : PyO3/maturin wrapper of the cedar-policy-mcp-schema-generator, published as (cedar-policy-mcp-schema-generator)[https://pypi.org/project/cedar-policy-mcp-schema-generator/] on PyPI.
  • js which contains JavaScript packages that enable Agents to make use of Cedar and its Analysis Capabilities.
  • cedar-analysis-mcp-server : A package that creates an MCP server that exposes an interface for Agents to use Cedar's analysis capabilities.

Security

See SECURITY for more information.

Contributing

We welcome contributions from the community.

Read from source at commit 640965b8ef16OBSERVED · 2026-10-12
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add wasm-integration-tests -- npx -y wasm-integration-tests
claude-desktop
{
  "mcpServers": {
    "wasm-integration-tests": {
      "command": "npx",
      "args": [
        "-y",
        "wasm-integration-tests"
      ]
    }
  }
}
03

Exposed tools (3)

3 read · 0 write · 0 destructive.

ToolRiskDescription
analyze-policiesreadAnalyze Cedar policies against a schema to validate policy structure and identify potential issues.
compare-policy-setsreadCompare two Cedar policy sets to verify that policy changes maintain intended authorization behavior. This tool identifies if changes make policies more or less permissive, helping developers ensure security is maintained when updating policies.
read_filereadRead a file from disk
04

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
declared (5 observation(s))
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (5)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
rust/cedar-policy-mcp-schema-generator/src/cli/exec.rs:94
pub fn exec(&self) -> Result<(), CliError> {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
rust/cedar-policy-mcp-schema-generator-wasm/tests/node/test.mjs:23
import { generateSchema, generateRequest } from "../../pkg/cedar_policy_mcp_schema_generator_wasm.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
rust/cedar-policy-mcp-schema-generator-wasm/tests/node/test.mjs:97
const pkg = JSON.parse(readFileSync(new URL("../../pkg/package.json", import.meta.url), "utf8"));
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
js/cedar-analysis-mcp-server/mcp/package.json
node-fetch, zod, zod-to-json-schema, @types/fs-extra, @types/node, @types/node-fetch, ts-node, typescript
Why it matters. 8 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
RELEASING.md:22
Most of the process (opening PRs, bumping versions, updating changelogs) only requires standard write access. A few key steps require elevated permissions:

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 640965b8ef16full audit observations/trust-audit/mcp-server/cedar-policy__cedar-for-agents.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-12640965b8ef16BLOCKD69first audit
06

Questions

What tools does @cedar-policy/mcp-schema-generator-wasm expose?

3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is @cedar-policy/mcp-schema-generator-wasm safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.

What credentials does @cedar-policy/mcp-schema-generator-wasm need?

No credential environment variables were found in its source, so it appears to need none.

How does @cedar-policy/mcp-schema-generator-wasm run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as wasm-integration-tests.

How current is this page?

The grade is for one exact copy of the source (640965b8ef16), read on 2026-10-12. The repository is watched and re-audited when it changes.

Advertisement