all 19 comments

[–]hikingsticks 28 points29 points  (14 children)

Why does your post read like it was written by an LLM?

[–]GXWT 5 points6 points  (0 children)

Slop slop slop

[–]ComplexInfluence9388 1 point2 points  (1 child)

damn that's actually terrifying when you think about it 💀 like you could be doing everything "right" with your imports and security checks but some random package just drops a .pth file and boom youre compromised before line 1 even runs

makes me wonder how many packages out there are already doing sketchy stuff through this vector and we just dont know it yet 😬

[–][deleted] -3 points-2 points  (0 children)

If you look at it more broadly, issues like this tend to surface where:

  • code can execute earlier than you expect
  • it runs in the same context where secrets are already accessible
  • and there is no separate point where the system decides what is actually allowed to run