Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2279  / 1 Year ago, sat, march 11, 2023, 10:01:52

I wanted to add some themes from sudo add-apt-repository ppa:noobslab/themes. How do I ensure these are safe repos? They are listed in many blogs and answers, however is there an official place I could check for the risk of malware?



I actually added them and then removed them using



sudo apt-get clean 
sudo apt-get remove


Am I safe after that usually? I also scanned my system using clamav and its fine. Perhaps I need to see the files that might have gotten installed to make sure there are no harmful scripts or binaries.



Do I need to re-install system to make sure I don't risk security issues with my data?


More From » security

 Answers
0

The only way to ensure that a PPA is "safe": Download the source packages published in that repository and check the source code contained in these source packages. Also, before installing updates on your machine, you would have to re-check the PPA to see if a new source package has been uploaded and audit that new source code.



Obviously, most users are unable to do that because they lack the skills required for a security audit. And it would be very time-consuming.



If you installed at least one package from that PPA (either through apt-get install, or apt-get upgrade), it is theoretically possible that your system is now infected, even after you apt-get removed that package. Packages are installed using root (administrator) privileges, so they can harm your system in any conceivable way. Usually, the packages are not harmful though. As far as I know, nobody attempted to infect Ubuntu systems through PPAs yet.



After doing add-apt-repository, you should remove the PPA if you no longer want it. If it contains malicious packages, this is however not a safe way to revert to a clean state.
How can PPAs be removed?



If we assume that there was a malicious package installed on your system, the only way to be sure to get rid of an infection is to re-install the system completely, or revert to an older backup of your system.


[#21106] Sunday, March 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ongdiligenc

Total Points: 452
Total Questions: 111
Total Answers: 107

Location: Ukraine
Member since Sun, Dec 13, 2020
3 Years ago
;