Can unraid plugin access my data (on cache disk or array)


Recommended Posts

5 hours ago, trurl said:

What plugin do you mean?

Plugin in general, for example, if the plugin is sandboxed / have no API or permission to access user data.

If accessing user data is possible, I will reduce the number of plugin I use to a bare minimal to reduce the risk.

Edited by Harrywong
Link to comment
2 minutes ago, Harrywong said:

Plugin in general, for example, if the plugin is sandboxed / have no API or permission to access user data.

If accessing user data is possible, I will reduce the number of plugin I use to a bare minimal to reduce the risk.

Plugins are NOT sandboxed in any way and often run with root privileges so in principle you should assume that they can access any data on the server.   Plugins are also not stopped from installing components that can interfere with core UnRAID functionality.   Therefore as a rule plugins are only advisable for adding additional system capability, not for running apps.

 

if you want apps to be sandboxed then run them as docker containers.   When run that way the app only has access to the paths you configure it to use and you can also control the type of access.   Docker containers also have the advantage that they are less likely to ‘break’ when the system is upgraded as they are largely isolated from the underlying OS.

Link to comment

Thanks!

 

Among all the plugins, the only one that I actually need is SSD trim (fstrim -v /mnt/cache/).

I am personally concerned with the risk that my data could be exposed by a malicious plugin or some malicious code accidentally introduced during a plugin update. So I ended up removing all the plugins and set the SSD trim manually using crontab.

Edited by Harrywong
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.