An Empirical Study of Vulnerabilities in Python Packages and Their Detection