From 7d2b620ce970fb3f18d6704aa1962b579ea569de Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 27 Apr 2026 00:11:18 +0300 Subject: [PATCH] wiki/security: Mention X11 --- docs/wiki/Security-Model.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/wiki/Security-Model.md b/docs/wiki/Security-Model.md index e0b881ab..4258e185 100644 --- a/docs/wiki/Security-Model.md +++ b/docs/wiki/Security-Model.md @@ -29,6 +29,8 @@ Anything with access to niri's D-Bus interfaces can, among other things: - Record the user's screen via the screencast interface. - Fully listen to and emulate input from the user's keyboard via the accessibility interface. +Also, while niri doesn't directly integrate Xwayland, it's worth reminding that anything with access to the X11 `$DISPLAY` (which comes both as a socket file on disk **and** as an abstract socket in the network namespace) can intercept and emulate all input and record the contents of any X11 windows on the same `$DISPLAY` (but not Wayland windows). + ## Running untrusted clients Considering all of the above, for running untrusted clients, you need a proper sandbox that: