This is an appeal to anybody that writes, runs, or even just uses software. To speak up when you notice that something is wrong. In this post I will elaborate on this via recent cybersecurity events, the impact of LLMs on our work, and a tiny touch of railway engineering.

In contrast to the century old traditions in trades like construction, developing and running software is a comparably young discipline. As such, we are still in the middle of developing the bare minimum of what needs to be done to ensure that the systems we build and maintain are secure. As an example, we only managed to encrypt half of all web traffic by 2018. More recently, vulnerable, remote-controllable fridges (accessible through unencrypted HTTP) were reachable from the internet so long that the vulnerability tracking web site Shodan showed them for months before that access was finally used to maliciously reconfigure the fridges to warm the food to a point where it quickly spoiled. If you want to read a good accounting of this, take a look at this article and the accompanying Hacker News discussion. I don’t want to recount these events, but rather to focus on where humans could have likely prevented this from happening if they just spoke up loud enough.

A number of things went wrong that made this exploit possible:

  • Danfoss implemented an authentication backdoor into the controller system (for more details, see the vulnerability report, originally posted more than two months prior to the exploitation)
  • The systems were (are?) connected directly to the public internet without any filtering in between
  • Despite a coordinated disclosure (meaning that the researchers informed Danfoss of the vulnerability and gave ample time to fix it before publicly disclosing the vulnerability) patches were not applied before the public disclosure
  • Even if all available patches were applied, end of life hardware from the 90s is (was?) still being used, where no patches are available

All of these things are also potential conversations that could have been had. Should we really build that fallback user into the firmware? Shouldn’t we lifecycle out those old fridges, and patch the ones that still get patches? If not, shouldn’t we at least gate the access to the fridge behind a VPN, so its not accessible from the public internet? Chances are, at least one of these questions was even asked at some point.

I want to cross-reference this with an example of a “major incident” from the world of railway engineering. The biggest railway disaster in Switzerland to date occurred in 1891 (which I take as a testament to my alpine neighbors respecting their trade). This was the Münchenstein rail disaster. What happened is that essentially a bridge gave in when a train going roughly 10km/h too fast while carrying more passengers than usual drove over it. One year after this incident, following thorough analysis by engineers, a code for the construction of railway bridges in Switzerland was ratified, and all railway bridges in Switzerland were soon after audited. An analysis of all Swiss railway bridges regarding this code let to the improvement of many bridges (probably saving at least dozens of lives in the process). Obviously, 73 dead people carry far more weight and involve questions of liability. A couple 100.000€ lost for a big grocery chain only impacts their margins. However, some of those fridges caught fire in the process, and some of them were used by blood banks. So there are consequences beyond the bottom line. Additionally, my comparison aims at the process: The humans operating the railways came together to shake up the way things were done, and to fix the underlying systemic issues, thereby making the whole system much safer.

Coming back into the 21st century world of software, I am unfortunately convinced that we will see many incidents similar to the aforementioned ones in the years to come, be it operational technology like fridges or web services like cryptocurrency exchanges. I am convinced, mostly because there are so many obvious instances of people not caring. However, there are some areas of software engineering actually do come with strict standards. Going back to the railway example, one such case would be the software running railway signalling. Consequently, travel by rail is incredibly safe (note that the recent train collision in Spain is not a strict counter example, the systemic issues that seem to have lead to it had little to nothing to do with the signalling software system). However, I have been told that developing software in this area is a real pain because of the incredibly limited, locked down development environments you are subjected to. So while we theoretically know how to develop software safely, specifying the development process and the implementation down to the last bits apparently makes the developer experience horrible! I suppose this is why we only do it when not doing it tends to kill people. So why is that?

  • The consequences of faulty software are usually tolerable
  • If there are faults, they are mostly cheap and easy to fix
  • Software comes in various shapes, steel mostly behaves like steel (I think)

I believe these are at least some of the reasons why we as an industry don’t care enough about the quality of our work, and this certainly isn’t helped (for the most part) by the emergence of LLMs. But it doesn’t need to be like this. I sense a notion going around software developers that LLMs inevitably cause everybody to throw 1000s of lines of code of unreviewed code at the poor souls that sit on the other end of the review process, because otherwise we aren’t delivering fast enough for these modern times, that they inevitably cause your coding skills to decline and your grey matter to shrink. My point is not that you should stop using LLMs entirely, but rather that we should understand how they work, what they are, and what they can do for us. How they can augment us and allow us to do better, rather than simply faster. This requires curiosity. And care!

I have found great success by pointing my favorite clanker at observability data and asking it, for example, why all these endpoints are so slow, and why there are >1.500 Redis lookups for a simple list view. At the same time, I have in the past also experienced an agent psychosis. I have turned into the poor sucker playing with the LLM slot machine more times than I’d like to admit, hoping that the next prompt will be the jackpot. Bothering people with great code reviewing skills and attention to detail with my slop. This is a great opportunity to start caring. Talk with colleagues about your experiences, share frustrations you have in interacting with your colleagues work post-LLMs. GitHub introduced support for stacked pull requests, the same thing exists for GitLab with stacked merge requests. Agents are good at piecing apart their work into more reviewable chunks through stacking. Ask your agent to try it, and rejoice at regaining the ability to review what is happening. My point is, remain in the driver seat, avoid cognitive surrender. You decide how you want to use this tech. Instead of creating that 1000 line pull request with the auto-generated description, perhaps surprise your favorite open source maintainer with an incredibly well-researched and equally impactful, data-backed 4 line change that doubles the average performance of a database query. Push back on unreviewable changes you receive yourself. Move carefully, as we transform the software is written, but how we want it. The future is not inevitable, the age of vibe slop is not a prophecy that mustn’t be disturbed. We can put our foot down and collectively stand in for better software quality, if we simply keep (or start) caring.

Looping back around to the cyber security incidents: I am sure that somewhere in those companies running those outdated fridges, there is a database that contains the model, and possibly the firmware running on it. Given some curiosity, and a healthy dose of care, one could imagine somebody from, for example, asset management, cyber security or networking pointing their LLM at that database, asking something along the lines of “show me the worst security vulnerability you can find”, and with some luck, they might just hit the jackpot and have the LLM slot machine produce an answer like the following:

I have completed the security analysis of your infrastructure. 🛡️

The most critical vulnerability identified is a Danfoss AK-SM 800A fridge controller exposed on a public network. This device contains unpatchable vulnerabilities that pose a significant risk.

Recommended Actions:

  • Network Isolation: Verify if the device is firewalled to restrict access exclusively to the manufacturer’s remote management IPs.
  • Access Control: Implement a mandatory VPN for any required remote access.
  • Lifecycle Management: Initiate a project to phase out these legacy devices, as they have reached end-of-life and no longer receive security updates.

It is essential to prioritize these mitigations to maintain a secure environment. Let me know if you need further assistance with these steps! 🚀

Note: This last “quote” was the only AI generated piece of writing in this post.