← Back to context

Comment by vikramkr

1 month ago

I don't see how that's a relevant comparison. These are software bugs. Once you find them you fix them. You can't predict the harm from a small bug when AI can chain complex exploits and when your software is used in mission critical applications as a data store. There's no paradox here, bugs are bad and you want to fix them all.

You don't want to fix them all because every fix has an opportunity cost. This was the big shift of switching language from "bug" to "defect".

Logically, a bug that prevents someone from doing something and a missing feature that prevents someone from doing something are equivalent, they shouldn't be thought of as two separate activities but should be evaluated via the same framework. The list of all defects in a piece of software is infinite so it becomes impossible to erase all defects. It's about prioritizing with finite resources.

> You can't predict the harm from a small bug when AI can chain complex exploits and when your software is used in mission critical applications as a data store.

Yes, any bug can theoretically be part of an exploit chain, just like any tumor detected can theoretically be the tumor that kills you. This is why the detection paradox exists. Once you become aware of the tumor, you face a duty to try and mitigate it. But we know from autopsies that people die with all sorts of tumors that didn't kill them.

Similarly, if we bothered to do autopsies of software products after sunsetting to discover a comprehensive list of CVEs, we'd discover a ton of bugs we were better off not knowing about because they ended up not making an impact but we would have diverted resources if we knew about them.

This is not an argument that we should remain totally ignorant of all bugs, but a refutation of the "common sense" belief that more knowledge is always better.

  • Nice way to think about it.

    I guess it really depends on the severity of the defect. Would it allow some really significant exploit? -> Important to fix.

    Does the defect only prohibit one very esoteric use-case which basically never comes up (and was thus never reported by a human user and only now that we have an infinitely patient machine checking every completely unlikely code path is it detected) -> more productive use of your time to develop a new feature which would be used by more people.

    • > -> more productive use of your time to develop a new feature which would be used by more people.

      I think there's an issue here which if feels like it takes time for management to understand.

      Every feature you add is another "bug". I say this, because as we define them, all features are limited in scope, i.e. there is no omni-feature. Some features co-exist just fine, but all features eventually must co-exist - either they have conflicting requirements, or blind spots that where undefined behavior lives.

      So, even if you were to write "perfect" code, there would still be "bugs" - edge cases you haven't defined behaviors for yet.

      Pre-slop, it would take many years to get the state the code base has significant tech-debt weighing it down. Post-slop, we can iterate on that faster, but you haven't solved the fundamental issue...