News for hackers. Stuff that matters.
Re:Malicious PyPI packages stealing credit cards and injecti... by nerdponx on Tuesday August 03, 2021 @09:56AM (#28049215)
Make a "lockfile" with the pip-compile tool [0] that includes hashes. Unless you happen to fetch the hash after the package has been compromised, this should keep you safe from an overwritten version.

[0]: https://pypi.org/project/pip-tools/

There are no comments on this comment yet.