Live data from Hacker News

Dependency Confusion: How I Hacked Into Apple, Microsoft and Other Companies

medium.com

1–10 of 412 posts

Re: Dependency Confusion: How I Hacked Into Apple, Microsoft and Other Companies

#8

solution: use nix as your package manager

Helps in this specific case, but will not eliminate the broader issue. The broader issue is how can you trust 3rd party code to not do anything harmful, and it’s not like we can even perfectly trust our own fingers in that regard.

Re: Dependency Confusion: How I Hacked Into Apple, Microsoft and Other Companies

#9
That is insane that any company allowed this to happen.

""That said, we consider the root cause of this issue to be a design flaw (rather than a bug) in package managers that can be addressed only through reconfiguration," a Microsoft spokesperson said in the email."

No, npm has scopes for a reason, why would that not fix this issue?

Re: Dependency Confusion: How I Hacked Into Apple, Microsoft and Other Companies

#10
I'm flabbergasted by how silly this is. Bump the version and the package manager chooses yours online vs. the private one. Amazing. How silly and how expensive is this going to be as this blatant security issue is going ripple on for the next months to come.
Post reply on HN