Snaps run in a confined sandbox environment which adds a layer of security. However, as with any software, you should only install snaps from trusted sources.