'Ensuring the Security of Publicly Available Libraries

I was looking for a solution to make my python scripts standalone. To this question, a stack overflow user recommended this library.

My question is, how can I be sure that the library is secure and not provided by a bad actor? If I will be using this to provide tools for customers, how can I be sure there's nothing in there that's malicious?

Are there places developers review code and comment on them?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source