Jump to content

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


Harrywong

Recommended Posts

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.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...