闲社服务运行正常AI智能体自动化平台
m

mcp-config-security-audit

Audit MCP client and server configuration files before connection or deployment. Use when a user needs to inspect stdio or remote MCP entries for plaintext credentials, unpinned packages, dangerous shell execution, broad filesystem roots, insecure transport, unapproved remote domains, legacy protocol versions, or write-capable tools without human approval.

作者:暂未提供 | 来源记录:ClawHub
包含在套餐中
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
随套餐获取
请查看所属套餐
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

mcp-config-security-audit

MCP Config Security Audit

Use this skill before enabling a new MCP server or after changing an existing MCP configuration.

Required flow

  1. 1. Copy the MCP configuration into a temporary review file. Replace real secrets with environment references before processing.
  2. Select or customize a policy based on references/policy.md.
  3. Run scripts/audit_mcp_config.py and review PASS, REVIEW, and BLOCK results.
  4. Do not start BLOCK entries. Do not start REVIEW entries until a human accepts the exact remediation and capability scope.

Command

CODEBLOCK0

Safety rules

  • - Never place real tokens, passwords, cookies, private keys, or connection strings in the review file.
  • Treat local stdio servers as applications with the same file, process, and network access as their execution account.
  • Require pinned package versions for package runners such as npx and uvx.
  • Block shell pipelines, encoded commands, download-and-execute patterns, plaintext credentials, non-HTTPS remote servers, and disallowed domains.
  • Review broad filesystem roots, legacy protocol versions, automatic package installation, and write/delete/payment/send/admin capabilities.
  • The audit is static. A PASS does not prove that server code is trustworthy or vulnerability-free.

Outputs

  • - audit_report.json: overall gate and counts.
  • INLINECODE5: risk score, decision, findings, and remediations per server.
  • INLINECODE6: entries that need human approval.
  • INLINECODE7: entries that must not start.
  • INLINECODE8: redacted review copy.
  • INLINECODE9: prioritized fixes.

Recovery

  • - Plaintext secret: remove it, rotate any exposed credential, and use an environment or vault reference.
  • Unpinned package: pin an exact reviewed version and verify its package source.
  • Broad root: replace it with the smallest required directory.
  • Legacy protocol: check client/server compatibility and follow official migration notes.
  • High-risk capability: split read and write servers or require human approval for side effects.

标签

mcp model-context-protocol security-audit deployment n8n least-privilege

下载

v1.0.0 最新 2026-8-19 01:11
初始版本(来自套餐拆分)
返回顶部