As long as you download the official version of LibreOffice, it is secure and free from viruses and malware. Stay away from downloading LibreOffice from third-party websites as they may try and charge you for the free software or inject malware, adware, spyware, or viruses into the code.