WeSearch

Niri Security Model

·2 min read · 0 reactions · 0 comments · 12 views
#security#sandboxing#software
⚡ TL;DR · AI summary

The Niri Security Model assumes that programs running unsandboxed on the host are trusted, which can lead to various security vulnerabilities. Unsandboxed clients can access sensitive information and manipulate user input through various means. To mitigate these risks, a proper sandboxing solution, such as Flatpak, is recommended to restrict access to critical system components.

Key facts
Original article
Github
Read full at Github →
Opening excerpt (first ~120 words) tap to expand

Security Model Niri assumes that programs running unsandboxed on the host are trusted. This is a reasonable assumption because programs running on the host have a wide variety of ways to get all access they need, even without niri. For instance: They can set $LD_PRELOAD in .bashrc or similar files to load an arbitrary library into all processes. They can replace binaries in $PATH with malicious code. They can interpose any socket in $XDG_RUNTIME_DIR, like Wayland, and do keylogging or record window contents. They can scan the filesystem for secrets: SSH keys, password stores, etc. They can connect to an unlocked keyring and steal credentials. And so on and so forth.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Github.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Github