News for hackers. Stuff that matters.
Re:3500 packages uploaded to PyPI, pointing to a malicious URL by remram on Tuesday March 02, 2021 @04:46PM (#26321334)
If your direct dependencies pin their dependencies, then you will definitely end with conflicting versions for your transitive dependencies.

This might work in environments like Node, where each library having their own private versions of their dependencies is acceptable, and Rust/Cargo in some situations, but doesn't work in environments where only one version of a package can be present (e.g. Python) or you care about the total size of the dependencies.

Also if you're auditing, wouldn't you audit all dependencies? What does it matter whether they are pinned by your direct dependencies, wouldn't you yourself pin down the transitive dependencies after auditing them?

Re:3500 packages uploaded to PyPI, pointing to a malicious URL by alfiedotwtf on Tuesday March 02, 2021 @08:14PM (#26323484)
> Also if you're auditing, wouldn't you audit all dependencies?

What’s the point of a transitive dependency can pull the rug out from under your audio with a single update

Re:3500 packages uploaded to PyPI, pointing to a malicious URL by remram on Wednesday March 03, 2021 @12:33AM (#26325135)
Don't update without auditing the new versions? I don't understand.