You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(mcp): plugin lockfile, tool-manifest hash and rug-pull guard #599
An MCP server can change its tool descriptions after approval (rug pull) and its descriptions are model-visible instructions (tool poisoning, shadowing; Invariant Labs). tole pins nothing today and shows only a 200-char sanitized description on the approval line.
Proposed solution
Per docs/third-party-plugins-design.md §4.1–4.2 (applies to first-party servers too):
On every connect, hash the live manifest; on mismatch the server's tools are not registered until the owner re-approves; tole plugin diff <name> shows the change.
Show the full model-visible description and schema at approval time (sanitized for terminal safety, not summarized).
Ledger entries for approve / manifest change / revoke.
Alternatives considered
Trusting server metadata at each start (the rug-pull hole); hashing only the package (descriptions can change at runtime).
Are you willing to contribute the implementation?
Yes, I can do it
Before submitting
I searched existing issues and didn't find a duplicate
Activity
feat(mcp): plugin lockfile and tool-manifest hash library, no behavio…
feat(mcp)!: MCP servers need the owner's approval, pinned by a tool-m…