Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security issues #101

Open
Pockets-byte opened this issue Jun 3, 2021 · 2 comments
Open

Security issues #101

Pockets-byte opened this issue Jun 3, 2021 · 2 comments

Comments

@Pockets-byte
Copy link

Pockets-byte commented Jun 3, 2021

We need to consider the issue of sandboxing and the safety of hub itself.
Currently as far as I know, we have taken no steps in the direction of hub security/sandboxing
this really needs to be fixed

@NoooneyDude
Copy link

Related; see #105 and unitystation/unitystation#7158.

@CorruptComputer
Copy link
Contributor

CorruptComputer commented Feb 1, 2023

On the Linux side if you have StationHub installed as a Flatpak it is sandboxed already, its still possible a malicious executable could do something but the possibilities there are limited.

Currently the permissions on the Flatpak gives no filesystem permissions, so it can't read your user files or edit anything outside its own sandbox directory. The most it could do is something like a crypto miner or local network access. While both of those aren't good, neither is anything more than some JS running on a website you visit can't do so it is very limited in what can be done.

Current Flatpak permissions:

  • socket=x11 (Legacy Windowing System)
  • share=ipc (Inter-process Communication)
  • device=dri (GPU Acceleration)
  • socket=pulseaudio (Play Sounds)
  • share=network (Network Access)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants