xmtp-comms-guard
Security middleware for all XMTP communications in EverClaw.
Skill by EverClaw
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/everclaw-xmtp-comms-guard
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
xmtp-comms-guard- Description
- Security middleware for all XMTP communications in EverClaw. Enforces guarded client usage with validation, integrity checks, and fail-closed security policies. Integrates approval flows for sensitive operations. Use when integrating XMTP messaging, configuring communication security, or auditing guarded client enforcement.
- License
- MIT
- Instructions
- 57 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (28)
- .eslintrc.json
- .gitignore
- PUBLISH-CHECKLIST.md
- README.md
- SKILL.md
- enforcement.md
- package.json
- handshake.ts · src/checks/
- index.ts · src/checks/
- injectionCheck.ts · src/checks/
- peerAuth.ts · src/checks/
- piiCheck.ts · src/checks/
- rateLimit.ts · src/checks/
- trustContextCheck.ts · src/checks/
- index.ts · src/cli/
- eip191.ts · src/crypto/
- index.ts · src/
- commsGuard.ts · src/middleware/
- revocation.ts · src/
- index.ts · src/schemas/
- erc8004Cache.ts · src/security/
- hashChain.ts · src/security/
- nonceCache.ts · src/security/
- bagmanStorage.ts · src/storage/
- types.ts · src/
- basic.test.ts · test/adversarial/
- threat-model.md
- tsconfig.json
SKILL.md (first lines)
# xmtp-comms-guard — Skill Integration Guide (V6)
**Type:** Critical Security
**Version:** 6.0.0
**Required peer dependencies:** bagman, pii-guard, prompt-guard
## Mandatory Usage
All XMTP communication MUST go through the guarded client:
```ts
import { createGuardedXmtpClient } from "xmtp-comms-guard";
const { client, middleware } = await createGuardedXmtpClient(rawClient, userWallet);
```
Raw `@xmtp/client` imports are blocked by ESLint rules and SkillGuard scan.
## Three-Shift Integration
Three-Shift = EverClaw's standard approval flow with three options:
- **Approve** — allow the action
- **Redact** — downgrade/sanitize
- **Block** — deny the action
Used for: peer revocation review, key rotation re-approval, introduction chain re-evaluation.
## Enforcement Model
Enforcement is convention-based + build-time gates:
- **ESLint rule** blocks `@xmtp/client` direct imports
- **SkillGuard scan** detects raw client usage patterns
- No runtime interception of raw imports (honestly documented)
See `enforcement.md` for full details.
## Fail-Closed Conditions
The skill refuses to operate when:
- Hash chain integrity check fails on startup
- SQLCipher encryption check fails
- Nonce cache detects replay
- Unknown topic in message
- Unknown sensitivity level
- Message exceeds 64KB
- Protocol version is not "6.0"
- Peer not in registry or blocked
## Threat Model
Covered in `threat-model.md`:
- Malicious external agent → blocked by schema + checks
- Compromised internal agent → blocked by middleware + SkillGuard gates
- Host compromise → limited by Bagman + HMAC chain + fail-closed
- Replay attacks → nonce cache (90s TTL) + hash chain
- Data exfiltration → PII Guard + trust context rulesFrom EverClaw/buddybots.org, MIT.
More from EverClaw/buddybots.org
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 18, 2026 (5 months ago)
- Last release
- Apr 21, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/EverClaw/buddybots.org
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.674score
xmtp-comms-guard
profbernardoj
Security middleware for all XMTP communications in EverClaw.
SkillCFreshness: C★ 110Claude Code +9 - 0.322score
xmtp-comms-guard
profbernardoj
Security middleware for all XMTP communications in EverClaw.
SkillCFreshness: C★ 8Claude Code +9 - 0.311score
xmtp-comms-guard
profbernardoj
Security middleware for all XMTP communications in EverClaw.
SkillCFreshness: C★ 4Claude Code +9 - 0.285score
xmtp-comms-guard
profbernardoj
Security middleware for all XMTP communications in EverClaw.
SkillCFreshness: CClaude Code +9
Cite this page
xmtp-comms-guard skill. Agent Mart. https://agentmart.dev/skills/everclaw-xmtp-comms-guard (last updated 2026-10-24)