matrix-org / matrix-org/matrix-spec

`m.room.power_levels` provide no way of restricting the media (via mixins) you can embed into events.

Open
#1,932 0 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

A security/potential problem that was missed in https://github.com/matrix-org/matrix-spec-proposals/pull/1767#discussion_r1621479460.

`m.room.message` doesn't let you do this either, and that's why Mjolnir has protections for removing voice messages and other media automatically.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the m.room.power_levels and m.room.message event definitions, then read the referenced discussion in matrix-spec-proposals pull request 1767. Determine how media embedded through mixins could be restricted and what protocol-level behavior would define the issue as resolved.

Written by the indexing model from the issue text.

Assessment

Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.