element-hq / element-hq/synapse

We should offer the ability to redirect abuse reports to a room.

Open
#11,148 0 comments 2 reactions 0 assignees View on GitHub
A-Logging A-Moderation P3 T-Enhancement
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#11148](https://github.com/matrix-org/synapse/issues/11148).

---

The current Admin API to fetch abuse reports is not really convenient.

This gives homeserver administrators two possibilities:

1. Write a script to fetch abuse reports from the admin API and publish it somewhere readable, typically a room. It's possible but annoying to implement and deploy.
2. Configure a reverse proxy to intercept calls to `/report` and publish them somewhere readable, typically a room. Mjölnir recently started offering this feature but it's still a pain to configure correctly and extends the security perimeter of homeservers that use the feature.

We should consider the following change:

- publish abuse reports directly to a room, as structured messages (possibly based on [MSC3215](https://github.com/matrix-org/matrix-doc/pull/3215));
- let the admin pick a user id, room id, etc. in homeserver.yaml to determine which user will publish these reports and where;
- encourage admins to adopt a bot to turn these structured messages into human-readable, internationalized, abuse reports.

---

- log to room

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.