agentleFS
Arnie016Arnie016/codex-prompt-templates/skills/mcp-safety-review/SKILL.md

mcp-safety-review

Skill3 starsChanged 7 months agoMITView on GitHub

Review MCP servers, agent tools, install scripts, or fresh GitHub repos for security and trust risk. Use when tools request shell/filesystem/network access, credentials, browser/session control, messaging accounts, package installs, or destructive write permissions. Skip pure CI/conformance harness design after trust is established; use `$auto-skill-build-mcp-conformance-harness`.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every exposed tool is classified by read/write/destructive/account-control capability.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

MCP Safety Review

Goal: decide whether a server/tool should be installed, sandboxed, modified, or rejected.

Review Phases

  1. Source: repo age, maintainer, license, release artifacts, install path.
  2. Runtime: language, dependencies, postinstall hooks, Docker privileges, shell execution.
  3. Data: files read, secrets touched, remote endpoints, telemetry.
  4. Tools: classify every MCP tool by read/write/destructive/account-control capability.
  5. Auth: API keys, OAuth, token storage, tenant boundaries, local-only claims.
  6. Blast radius: what the tool can change without human confirmation.

Severity

  • high: credential exposure, destructive actions without confirmation, account takeover path, arbitrary command execution from untrusted input.
  • medium: broad permissions, unclear auth boundary, unpinned remote code, weak logging of sensitive data.
  • low: missing docs, weak error handling, optional hardening.
  • info: posture notes without a concrete abuse path.

Output

# Safety Review
Verdict:
Severity:
Confidence:
Why it matters:
Evidence:
Required mitigations:
Install decision:

Hard rule: do not run raw binaries, zips, curl-piped scripts, or package installers from a fresh repo until this review is complete.

Pair With

  • $auto-skill-safety-mcp-secret-guard when configs, logs, or examples may contain credentials.
  • $auto-skill-build-mcp-conformance-harness after the server is trusted and the user needs repeatable CI/release gates.

Validation

  • Every exposed tool is classified by read/write/destructive/account-control capability.
  • Install/run decision states what was not executed.
  • Required mitigations are concrete enough to apply before trust is expanded.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.