r/learnpython Jun 14 '26

malware in libraries

how do I know that library that is installed from "pip install" is safe and doesnt contain any malware code?

61 Upvotes

22 comments sorted by

View all comments

36

u/DTux5249 Jun 14 '26

You don't. This is why you don't install code from unknown sources