Skip to content
Back to skills

Undominated Tool Allowlist

ASecurity

Decide whether a saved MCP permission map fits a task allowlist. A consistent refusal is a pass, not an error to paper over.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 18, 2026
ai-agentspythonshell

Works with

  • mcp

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned November 18, 2026

npx -y skills add Lenvanderhof/Undominated.ai --skill undominated-tool-allowlist --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Undominated Tool Allowlist?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Undominated Tool Allowlist
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lenvanderhof-undominated-tool-allowlist/badge)](https://www.skillsdirectory.com/skills/lenvanderhof-undominated-tool-allowlist)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: undominated-tool-allowlist
description: Decide whether a saved MCP permission map fits a task allowlist. A consistent refusal is a pass, not an error to paper over.
license: MIT
metadata:
  author: Undominated.ai
  version: "1.0.0"
---

# Tool allowlist

Use when a task may call tools and you already have an explicit permission map. This checker does not classify tools. Pair it with `undominated-mcp-permission-map` when the map still needs to be built.

1. Save the map as JSON with `tools`: objects of `name` and `permission`. Permissions are only `read`, `write`, `network`, `credential`, `shell`, and `payment`.
2. Record the SHA-256 of that file, the HTTPS source of the map, and the observation date.
3. List the classes this task is allowed to use. The list must be non-empty and unique. Leaving `network` off the list refuses any tool labeled `network`.
4. Set `expectedDecision` to the decision you intend to stand behind. If the map disagrees, the result is `review` rather than a silent overwrite.
5. An empty tool list is `allow`. A refusal that matches `expectedDecision` exits 0. That exit code means the refusal is consistent. It does not mean the task ran.

## Run the local check

```sh
python3 scripts/check.py examples/synthetic.json
python3 scripts/check.py /absolute/path/to/your-input.json
```

The bundled receipt is **synthetic**. The script reads the input directory only, makes no network requests, and writes no files. Python 3.10+; no dependencies.

Exit codes: `0` the decision matches `expectedDecision` and the receipt hash matches; `1` review required; `2` invalid input. Passing does not call any tool.

## Input contract

Required: `task`, `sourceUrl` (HTTPS), `observedAt` (ISO date), `receiptFile`, `sha256`, `allow`, `expectedDecision` (`allow` or `refuse`). Tool names are tokens of at most 120 characters. Duplicate names are invalid input.

## Deliverable and limits

Return the task, the decision, the blocked tool names and classes, and the receipt digest. Keep the JSON with the explanation.

The user retains control over which tools run. This skill does not start a server or widen an allowlist.

Files in this skill

  • LICENSE1 KB
  • SKILL.md2.1 KB
  • examples/receipt.json125 B
  • examples/synthetic.json336 B
  • examples/wrong-expectation.json335 B
  • scripts/check.py4.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.