SchemaPin 🧷
@ThirdKeyAI
关于 SchemaPin 🧷
The SchemaPin protocol for cryptographically signing and verifying AI agent tool schemas to prevent supply-chain attacks.
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is SchemaPin?
SchemaPin is a cryptographic tool for schema verification designed for AI agents and MCP servers. It uses ECDSA P-256 signatures, DNS-anchored trust, and Trust-On-First-Use (TOFU) key pinning to prevent "MCP Rug Pull" attacks. It is intended for tool developers who want to sign their schemas and skill folders, and for AI agents that need to verify schemas have not been tampered with.
How to use SchemaPin?
Install the library in your preferred language: pip install schemapin (Python), npm install schemapin (JavaScript), go install github.com/ThirdKeyAi/schemapin/go/cmd/...@latest (Go), or add schemapin = "1.3.0" to your Cargo.toml (Rust). Then generate a keypair, sign a schema using SchemaSigningWorkflow, and verify it with SchemaVerificationWorkflow.
Key features of SchemaPin
- ECDSA P-256 + SHA-256 cryptographic signatures
.well-knowndiscovery for public keys (RFC 8615)- TOFU key pinning to prevent key substitution attacks
- Key revocation with standalone signed revocation documents
- Trust bundles for offline and air-gapped verification
- Pluggable resolvers (
.well-known, local file, trust bundle, chain) - Skill folder signing for AgentSkills (SKILL.md + file manifests)
- Cross-language implementations (Python, JavaScript, Go, Rust)
Use cases of SchemaPin
- Tool developers sign their schemas to attest authenticity.
- AI agents verify that downloaded schemas have not been tampered with.
- Prevent "MCP Rug Pull" attacks where a malicious provider substitutes a dangerous schema.
- Offline verification of schemas using pre-validated trust bundles.
- Signing and verifying AgentSkills skill folders for secure skill distribution.
FAQ from SchemaPin
What cryptographic algorithm does SchemaPin use?
SchemaPin uses ECDSA P-256 with SHA-256 for signing and verification.
How are public keys discovered?
Public keys are discoverable via .well-known/schemapin.json on the provider's domain, following RFC 8615.
Does SchemaPin support offline verification?
Yes, via trust bundles that allow verification without network access.
What is TOFU key pinning?
TOFU (Trust On First Use) pinning records the public key seen on first interaction and warns or blocks if a different key is presented later, preventing key substitution attacks.
Are there any alpha features in the current release?
v1.4.0-alpha.2 adds three optional features: signature expiration (expires_at) with degraded-not-failed verification, DNS TXT cross-verification at _schemapin.{domain}, and schema version binding (schema_version + previous_hash) for opt-in lineage chain enforcement.
其他 分类下的更多 MCP 服务器
Awesome Mlops
visengerA curated list of references for MLOps
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Codelf
unbugA search tool helps dev to solve the naming things problem.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
评论