policy-enforcer

policy-enforcer is an agent for coding agents from VeritasActa/verify. It costs 66 tokens per session (1,228 once invoked), scanned F, original, no licence file.

An expert assistant for Cedar, a policy language used to decide whether actions are allowed.

In plain words
What is it for?
It is for writing, changing, and debugging rules that allow or block tools such as Bash, Edit, Write, Read, Glob, Grep, WebFetch, and WebSearch.
Why use it?
It helps turn plain-language access rules into Cedar policies and find problems in policies that control coding-agent tools.

Agent

Part of the protect-mcp plugin — 1 skill, 2 commands, 2 agents, 2 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/veritasacta/verify/policy-enforcer
Clone the repo
git clone --depth 1 https://github.com/VeritasActa/verify

Or install protect-mcp, the plugin that ships this one along with the rest of its 1 skill, 2 commands, 2 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for policy-enforcer

README.md
[![agentmods](https://agentmods.dev/badge/agents/veritasacta/verify/policy-enforcer.svg)](https://agentmods.dev/agents/veritasacta/verify/policy-enforcer)
Your own site
<a href="https://agentmods.dev/agents/veritasacta/verify/policy-enforcer"><img src="https://agentmods.dev/badge/agents/veritasacta/verify/policy-enforcer.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,228 The whole file, excluding the scripts and references it only reads on demand.
Security scan F 6 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00066 $0.01228
Opus 5 $0.00033 $0.00614
Sonnet 5 $0.00013 $0.00246
Haiku 4.5 $0.00007 $0.00123

Measured 4d ago against content hash 239a22e569a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade F, and why

policy-enforcer scanned grade F with 6 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

resource.command like "sudo *" ||

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

resource.path like "*.aws/credentials*" ||

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

resource.command like "*curl * | sh" ||

Cloud metadata endpointhighServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

resource.url like "http://169.254.169.254/*" || // AWS IMDS

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

resource.command like "rm -rf *" ||

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

resource.command like "*curl * | sh" ||
ecosystem/wshobson-plugin/protect-mcp/agents/policy-enforcer.md · 121 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 121 lines · 66 tokens per session scan F 239a22e569a7

Subscribe to this mod's changes

policy-enforcer is an agent published in the GitHub repository VeritasActa/verify (5 stars, last pushed 3mo ago), with no licence file. It adds 66 tokens to every session and 1,228 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it F with 6 findings (asks for root, reaches for credential files, downloads and executes remote code). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

program-logic

VCVio.ProgramLogic.Tactics.Relational; the umbrella import is still the intended default.

Verified-zkEVM/VCVio · 0 tokens

proof-workflows

Agent "proof-workflows" from Verified-zkEVM/VCVio, covering proof workflows, proof strategy decision tree, monadic normalization with monadnorm, game-hopping recipe and step 1: state the security theorem.

Verified-zkEVM/VCVio · 0 tokens

module-system

This guide records the intended long-term boundary between PolyFun and VCVio under Lean's module system. It is the decision record for visibility, import all, and the OracleComp/PFunctor.FreeM relationship.

Verified-zkEVM/VCVio · 0 tokens

demo-agents

We need a steady flow of demo videos — X/Twitter, Reddit, YouTube Shorts, blog posts, App Store-style screen recordings — and we'd like to scale that without scheduling Daniel to record every clip by hand. This doc maps the content-creation agent landscape, names the gap between "synthetic video hype" and "scripted…

moona3k/macparakeet · 0 tokens

endocrinologist

AI-эндокринолог: анализирует щитовидную железу, надпочечники, половые гормоны, инсулин и РААС. Вызывай при подозрении на гормональные нарушения, разборе ТТГ, Т3, Т4, анти-ТПО, кортизола, АКТГ, тестостерона, эстрадиола, пролактина, инсулина и HOMA-IR, при жалобах на усталость, изменения веса, гинекомастию.

alxyrgin/health-os · 119 tokens

cardiologist

AI-кардиолог: анализирует ритм, артериальное давление, липидный профиль, электролиты и кардиоваскулярный риск. Вызывай при жалобах на сердцебиение, тахикардию, давление, боли в груди, одышку, при разборе ЭКГ, ЭхоКГ, СМАД, Холтера и липидограммы, а также когда другой специалист флагит кардиологическую связь.

alxyrgin/health-os · 108 tokens