review-mcp-drift
Compare two MCP capability snapshots canonically and emit deterministic evidence for capability and supply-chain drift.
- License 许可
- MIT
- 所属仓库
- dasobral/skills
- 最近更新
- 2026-08-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- review-mcp-drift
- license
- MIT
- metadata
- { "plugin": "agentic-trust-gate", "version": "0.1.0" }
- description
- Compare two MCP capability snapshots canonically and emit deterministic evidence for capability and supply-chain drift.
02 资源文件 8
- 脚本generate.py15.5 KB
- 其他pyproject.toml311 B
- 参考文档references/examples/capability-delta.json1.3 KB
- 参考文档references/schemas/capability-delta.schema.json3.7 KB
- 参考文档references/schemas/mcp-snapshot.schema.json1.1 KB
- 脚本run.sh1.0 KB
- 脚本sanity.sh269 B
- 脚本scripts/review_mcp_drift.py18.7 KB
03 SKILL.md 正文
Review MCP Drift
Compare evidence, not presentation order. The workflow does not authorize an MCP server; runtime allowlists, permissions, authentication policy, and sandbox controls remain independent enforcement.
Workflow
- Capture sanitized MCP snapshots. Exclude tokens, environment values, request bodies, user content, and credentials.
- Run
python3 scripts/review_mcp_drift.py BEFORE.json AFTER.json > capability-delta.json. - Review the union of canonical tool names. The scanner covers server instructions, tool descriptions, schema annotations/defaults, and every remote descriptor leaf. Findings contain exact JSON Pointer locations and content hashes, never raw instruction text.
- Treat added/removed capabilities as
review-required; policy marks destructive additions, destructive escalation, scope expansion, auth endpoint changes, shadowing, hidden instructions, token passthrough, and remote mutability asdeny/block; other remote descriptor drift isreview-required/review. - Read
evidence_stateindependently fromdecision. A complete observation can still produce a deny decision. - Validate retained output with
python3 scripts/review_mcp_drift.py --validate capability-delta.json.
Treat unknown and evidence-gap as unresolved, never as approval. The contract
is references/schemas/capability-delta.schema.json.
All input/output artifacts use Draft 2020-12 validation first. Missing
jsonschema==4.26.0 yields an evidence-gap and setup guidance.
04 同仓库更多 Skills
fixture-skill
Fixture skill used to prove trust inventory coverage.
write-conformant-code
Write code in any language that matches project conventions exactly. Reads CODING_REQUIREMENTS.md, prior review output, or built-in defaults before writing. Part of Codecraft pipeline: analyze → write → review → audit. Use when implementing features, functions, or any code that should fit seamlessly into an existing codebase.
test-crypto-interoperability
Record reproducible cryptographic interoperability cases, including negotiation, fallback, sizes, latency, fragmentation, and negative tests.
scientific-platform-architect
Design scientific computing platforms combining HPC kernels with modern infrastructure. Enforces compute-layer separation (Rust/PyTorch/Python), emulator-first thinking, and right-sized infrastructure. Use for MCMC pipelines, neural emulators, platform design, or scientific code review.
rust-systems
Rust systems engineering for daemons, HTTP APIs, and AOS components. Enforces Tokio/Axum async-first, LiteLLM-compatible OpenAI APIs, workspace layouts, tracing, and systemd-compatible daemon design. Part of AOS Stack plugin. Use for .rs files, Cargo.toml, daemons, or Rust orchestrator services.
run-agent-attack-replay
Aggregate isolated agent attack trials with deterministic side-effect assertions, Wilson intervals, and preserved trace evidence.