The same way that all other 3rd party services do it: keep your systems up to date, do not expose unnecessary things to the outside, use strong passwords and SSH keys.
Vaultwarden also stores/syncs a local copy of your vault on each device. So if my home lab goes down or explodes or something, I can still sign into my cached copies then export and import onto a new instance
Love the idea and homelab in general, but that seems so damn scary!!! How do you be sure your shit is safe?
The same way that all other 3rd party services do it: keep your systems up to date, do not expose unnecessary things to the outside, use strong passwords and SSH keys.
And also, data redundancy against drive failures. Maybe something like RAID 1+0
Vaultwarden also stores/syncs a local copy of your vault on each device. So if my home lab goes down or explodes or something, I can still sign into my cached copies then export and import onto a new instance