IM messaging bundle

3 Dtwo policies across 1 apps that compose into a starting posture for IM messaging — attach the bundle to cover the surface, then tune.

On this page
  1. Included policies
  2. How bundle membership works
  3. What's intentionally not in the bundle
  4. Roadmap
  5. Included policies (3)
  6. Slack

A curated bundle of policies for instant-messaging MCP servers (Slack today; Microsoft Teams and Discord planned). The goal is a sensible default posture for any organization fronting an IM tool through the DTwo gateway: prevent secret leaks, redact sensitive data, and keep audit trails clean.

Included policies

Policy App Direction Purpose
block-secrets slack ingress Deny Slack send-message calls whose body looks like a secret (API key, password, token, private key).

Policy bodies live under apps/. This page only links to them — see the top-level README for the rationale.

How bundle membership works

Bundle membership is declared in each policy's policy.md frontmatter (the policy lists bundles: ["im-messaging"]). This page is a human-readable landing page; the generated manifest.json is the machine-readable source of truth. There is intentionally no separate bundle.json artifact — one source of metadata avoids drift.

The bundle's policies are designed to compose cleanly on the same ingress pipeline. None of them conflict with the others, and each is default allow := false only for the narrow concern it addresses (i.e., they don't accidentally deny tools they don't know about).

What's intentionally not in the bundle

  • Channel allow/deny lists. These are tenant-specific (your channel IDs aren't ours) and belong in your private policy repo.
  • Identity-scoped gates. IdP claims (org_id, groups, etc.) vary by deployment. Add these as separate policies in your gateway.
  • Egress redaction of historical Slack messages. Planned — secrets posted before this bundle was attached should be masked when read back via search / history tools.

Roadmap

  • Microsoft Teams equivalents (apps/teams/block-secrets, …) once a stable Teams MCP server lands in the catalog.
  • Discord equivalents.
  • An egress PII redaction policy that applies to *-search-messages / *-conversations-history tools across IM apps.

Included policies (3)

Slack

Updated

to navigate to open