Skip to content
Agentmart
Submit a tool
This entry duplicates xmtp-comms-guard, which is the one we list in search.

xmtp-comms-guard

Security middleware for all XMTP communications in EverClaw.

Skill by profbernardoj

IndexedMIT★ 8
Write a review

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/profbernardoj-xmtp-comms-guard-5e4844

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.

We use your email only for this newsletter. Privacy

About

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.

Use cases: security

No 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 rules

From profbernardoj/homeclaw.org, MIT.

Signals

Stars
8
Forks
1
Open issues
0
Last commit (this folder)
May 18, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from profbernardoj

Cite this page

xmtp-comms-guard skill. Agent Mart. https://agentmart.dev/skills/profbernardoj-xmtp-comms-guard-5e4844 (last updated 2026-10-24)