Explicit user approval for Cockpit plugins (when their manifest changes)
Within the discussion of adding Flatpak plugins feature to Cockpit Client, we have concerns that the barrier of installing malicious plugins is very low compared to that of Linux distros own package manager. With this low barrier, we wouldn't have any way to handle the case where a user has a page overridden by a plugin - such as the overview.
One possibility is another layer of security where users would have to explicitly approve plugin pages where a Cockpit manifest file has changed or introduced. This could also be made explicitly for overriding pages
This could be done through the application page, but data would need to be stored for the approved manifests.
One could utilize systemd's JSON User Records for storing this, meaning we'd need a utility to handle that for Cockpit
Source: cockpit-project/cockpit