Remote user's activity sent to appservice if their mxid matches regex #1606
Labels
No labels
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity#1606
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have an appservice registration on a server (say
piros.pitty.hu) like:Now if I send messages from a different server with a user matching the regex (say
@testing:dinnye.pitty.hu), the events get pushed to the appservice.The appservice spec says this shouldn't happen: https://spec.matrix.org/v1.17/application-service-api/#registration (blue INFO box)
Video of the above
Code of the demo "appservice" in the video
Turns out I can also send events as the remote user from the appservice:
ends up as


I can send state events like this too... (and that turns into a split-brain kinda thing)
Oh lmfao OK then
The issue where you can send events as remote users has been fixed in
688cd8f46a, the original issue isn't possible to fix with our current architecture so I'll fix it when I rewrite the sender service (I'll leave this issue open)