Skip to content
Logo

Matrix

Community & Marketing

Authored by:

Jonathan Riss
Jonathan Riss
CertiK

🔑 Key Takeaway: Federation makes room membership a data-distribution decision. Every homeserver with a member in a room holds a copy of it, and every unverified operator device is an unaccounted-for reader.

Matrix community security spans homeserver choice, device verification, room configuration, and federated moderation—each covered in depth in the Matrix Security Guide. Use this page to find the right section.

The community manager's role in security

Matrix is the decentralized option Web3 projects reach for when they want to run community infrastructure they control rather than rent. A project can host its own homeserver, keep its own metadata, and remain reachable from every other server in the federation. Element is the client most members will use.

That control comes with operator responsibility that Discord and Telegram absorb on the project's behalf. Spam filtering, raid response, ban propagation, and abuse handling are the community team's job, executed through room configuration and moderation bots rather than a vendor's trust-and-safety pipeline.

What differs most from centralized platforms is the trust boundary. A Matrix room is replicated to every homeserver that has a member in it, so admitting one member from a hostile server hands that server a copy of the room's history going forward. Encryption limits this to metadata, but many large community rooms are deliberately unencrypted so that moderation tooling works — which means content, too.

Why following this guide is not optional

Matrix's per-device encryption model has an operational consequence community managers meet immediately: an unverified session is untrusted. Cross-signing exists so that a device added to an operator account — by an attacker with the password, or by a compromised homeserver administrator — is visibly unverified to everyone in the room. Ignoring those warnings discards the only signal the protocol provides.

Room defaults are the other recurring failure. Encryption cannot be enabled retroactively and cannot be turned off once enabled, history visibility decides how much archive a raid inherits, and power level 100 cannot be revoked by an equal. These are decisions made at room creation that are painful to correct afterwards.

What is at stake

RiskConsequence
Unverified operator deviceAttacker-added session reads encrypted rooms and posts as the team
Lost recovery keyEncrypted history becomes permanently unreadable on any new device
Hostile federated serverA member from an abusive homeserver gives that server a copy of the room
Over-granted power levelsA compromised administrator at level 100 cannot be demoted by another administrator
Permissive join rulesPublic, directory-listed rooms invite raids and archive scraping
Bridge exposureA bridge to another platform decrypts room content for the bridged side
Homeserver compromiseServer operator visibility over metadata, and over content in unencrypted rooms

The guide addresses these with room-level configuration, moderation tooling, and homeserver operating practice.

What the guide covers

The guide is structured by scope: personal account first, then room and server operations.

ScopeWhat it covers
Personal accountRecovery key setup, cross-signing every session, session review, discovery settings
Encryption limitsMetadata exposure, unencrypted federated rooms, bridges, homeserver choice
Room and space operationsJoin rules, history visibility, power levels, moderation bots, ban lists, server ACLs
Homeserver operationsPatching, registration policy, admin credentials, backups, federation monitoring

Topic index

TopicSummaryGuide section
Recovery keySecure Backup key that restores encrypted history and verifies new loginsAccount security checklist
Cross-signingVerify every session; unverified devices are the protocol's compromise signalAccount security checklist
Session reviewAudit signed-in clients and sign out anything unrecognizedAccount security checklist
What encryption coversContent is protected; membership, timestamps, and device lists are notEncryption limits
Join rules and historyInvite-only, space-member, or knock rules; restrict pre-join historyRoom configuration
Power levelsDefault 0, moderator 50, administrator 100; grant 100 rarely and audit itRoom configuration
Moderation bots and ban listsDraupnir enforcing bans and redactions across every protected roomModeration
Server ACLsBan an abusive homeserver from a room instead of chasing recreated accountsModeration
Homeserver hygienePatching, restricted registration, admin MFA, tested backupsHomeserver operations

For step-by-step procedures, see the Matrix Security Guide.

Further reading