News for hackers. Stuff that matters.
Re:Dependency Confusion: How I Hacked Into Apple, Microsoft ... by bluefirebrand on Wednesday February 10, 2021 @11:55AM (#26091671)
> Need a bit of code that would take you a day to write?

Even if it is a small library that has only a single maintainer the chances of you replicating it in a day seem slim to me unless it is truly trivial, or the library was also written in a day.

More likely you get a day in and realize that the problem has a whole bunch of gotchas that you didn't anticipate and the library maintainer already found and dealt with.

Again, this is only if the problem isn't truly trivial

Re:Dependency Confusion: How I Hacked Into Apple, Microsoft ... by Robotbeat on Wednesday February 10, 2021 @06:05PM (#26096082)
Usually you don’t need the entire functionality of a library. So writing something for your use case may only take a day.