405 points · by headalgorithm · 5y ago · 145 comments
Culturally the result is coverups and lies.
Engineers lie, managers lie, test people lie, directors lie, senior directors lie, vice president lie, external interesting teams are negotiated into minimizing certain critical failures, and so on. Managers don’t want to hear it so that they can’t be accused of lying, vice presidents don’t wanna know, SVP’s just want green squares on the cross-BU PowerPoint.
This is internal discussion of revenue impacting incidents. Do you know what executives do care about? Revenue. Lost deals. If the people who care about money, including the account teams, don’t care about security and severe quality issues enough to be honest enough to get to improvement, how could an external board accomplish anything for those very few incidents that actually become publicly visible?
This isn’t like the NTSB; I spent my life reading NTSB accident reports. They have actual real authority, there are potentially issues that might impact someone more than being caught distorting things.
Once we had a very large effort, creating a new hardware and software platform for the companies products. The CEO demanded it be done in 9 months, our estimate was accurate almost to the day-- 18 months. Politically it was easier for the PMs to agree with 9 months and then have 9 one-month delays it took, instead of getting fired for insisting on a good faith estimate.
What do you think the security in that product was like?
Security directly conflicts with the business model of cutting every corner possible and loading engineers as much as possible. A real security program would have to start with reasonable hours and goals.
>like a cop, the NTSB can secure an accident scene and keep others away. It can examine the aircraft wreckage. It can have aircraft parts tested to help determine why the accident happened. It can even subpoena evidence. . . . If there is a lawsuit concerning the crash, the NTSB will not get involved. Not only is the NTSB’s report of the accident’s probable cause inadmissible, but the NTSB investigators are prohibited by law from testifying in court, even if they are served with a subpoena.
Source: https://www.aviationlawmonitor.com/2009/04/ntsb/the-ntsbs-li...
>The NTSB may issue a subpoena, enforceable in Federal District Court . . . For purposes of the Health Insurance Portability and Accountability Act of 1996 (HIPAA), Public Law 104-191, and the regulations promulgated by the Department of Health and Human Services, 45 CFR 164.501 et seq., the NTSB is a “public health authority” to which protected health information may be disclosed by a HIPAA “covered entity” without the prior written authorization of the subject of the records.
You report something to the ‘security’ team, and suddenly you’re responsible for doing all the work, as well as the prime suspect in an investigation ‘why didn’t you fix this before, since when did we know about this?!’
I’m absolutely incentiviced to just let any issue lie until it is discovered, because then it actually is the security teams problem.
To summarize, engineers mostly don't live security not because they don't care, on the contrary, but because doing so is the fastest way to sabotage yourself in the workplace and make enemies.
Two of my own examples
1) A coworker had the task of updating aged signal generators, because we had reported a bug which was then fixed. The signal generators worked without memory, a USB Stick was used as storage memory. As he plugged said USB stick into the work laptop, which he had never touched before, a virus warning popped up. We decided to do the right thing and tell our IT department about it and ask for further steps.. What followed were ridiculous hostile accusations, threats and pressure by the IT people, instead of a sensible reaction.
2) We had a safety instruction at work and it was pointed out anyone should follow safety rules and remind colleagues to spread awareness. Few days later I entered through a security door and two unknown colleagues followed right behind me. As I noticed, I politely asked them to show their access credentials. I was met with hostility and disgust. Later I learned those two were higher ranged managers, anytime I met one of them later, they remembered and treated me badly, for doing exactly what was asked.
I even went so far and told my supervisor of both instances to "raise awareness" of the reality, but only got shrugs and a blank face.
Edit: reminder that for the "common folk" these "security issues" are not a 5-minute fix, they are fundamentally different realities which require every machine on the network to be re-checked before they can be used again. There is a clear communication failure between the ones who want security and the ones who want "security".
I raised the issue with my manager, we had a meeting about security, I explained that I wasn't a security expert but that this was a big problem and we needed to do a full security audit. I guesstimated 3 months to go through the codebase looking for security holes (in hindsight, a huge underestimate) and they said it was too expensive. Talking to fellow ex-employees the issue was still there 10+ years later.
I know another company where anyone in the company, anyone at all with a login into account in the Active Directory SSO of any privilege at all, even a janitor, can sign any code they want with the release keys.
Nobody cares.
If the company makes a couple of million extra or less this year it doesn't effect the majority of workers. Their bonus isn't going up or down etc. And remember this incident has already happened.
By contrast if a report comes out blaming the loss on a worker, department or division then that could have major consequences. No matter how "blameless" it is, come next round of bonuses, promotions or layoffs everybody knows it'll be factored into the decisions.
So people don't have an incentive to make themselves look bad and unlike with the NTSB there is no legal powers or fear of causing deaths behind the investigation.
There is an inflection point where the focus of the organization shifts from mission focus to control focus. Usually it’s when growth slows. A fast-mover industry like tech is a great example, but it happens almost everywhere.
Yes, and you have just illustrated why the USSR struggled economically in comparison to the United States.
This is often why engineering needs aren't covered. Things are presented as risks and expense, instead of in terms of revenue. A $10,000 expense actually wipes out $10,000 in net profit, so you need to generate revenue sufficient to create $10,000 in net profit. Most companies have really rosy gross margins, but really tight net margins, so a $100K expense will take $2.8 Million in revenue to offset it. Finally, there is how risk frames what you present. If you come at me with "this might happen" the other side of the coin is "this might not happen", and most managers will avoid the certainty of expense for the possibility of an expense.
If you are working with a CEO, valuation is where it's at. Try to understand the swing in company valuation based on profit. Present to the CEO like this: "X is highly likely to happen within Y months, and it will impact $Z in net profits, leading to a change in company valuation of up to $N." Make sure $N is enough to matter. You just took 98% of the arguments against taking action off the table.
I don’t think you are interpreting things correctly here. This is both counterintuitive and wrong.
How do you quantify "highly"?
I think that one way or another, most people actually try to evaluate things this way.
If they knew with 100% certainty that some breach would happen, they would probably invest the time and money to fix the situation. Just as if the probability for the breach to happen was known to be 0%, they would be justified in not fixing it.
You frame this as CEOs being pragmatic, and I agree. But then, the other side of the coin is that if you're regularly wrong (there's a high risk of a breach happening — then nothing happens) they'll probably stop listening to you after a few times.
But yes, lying, "not seeing" and covering documentation is pretty much standard corporate behaviour I've seen around plenty of companies as well.
"Well, there's your problem, right there."
The entire point of doing blameless post-mortems is to correctly identify problems for resolution. If management doesn't drive changes in response (process, training, communication, whatever), you have a different problem to solve before they'll do any good.
Yes, a hard-coded password is bad practice. But does the company have a bad culture of keeping configs in repos? Maybe management thinks it easier to commit configs with sensitive data, than to set up proper deployment shit. And after all, the repos are private, so it should be fine yeah?
Bad code ending up in production is something you'll see often. Does the company have nice test suites for everything? Continuous integration pipelines? E2E tests? Or is upper management pushing everyone to their limits, because "fuck it ship it"?
Sometimes, the root cause is indeed someone with the privilege but not the good sense ignoring warning signs. If we can't identify that problem, then we can't improve our odds for the next time.
Like, even in the case of the extreme example of someone deciding to intentionally harm the company. You fire them, but then what, how do you prevent the next person to go rogue from causing equivalent harm?
Is this sentence missing a word or phrase?
This was the second time the department had wrongfully impounded his car and they made no attempt to fix the mistake from the first time, this didn't impact the ruling.
Its gonna get much worse before it get any better.
I think we are building up the ultimate faceless bureaucracies.
Is legislation or regulation the answer? That would be unfortunate. The government rarely makes things better, but to be honest, those accident investigation boards probably DO prevent management from sweeping things under the rug.
Some kind of consumer ratings for Quality of Service will have to spring up. You can now find ratings of airlines for their on-time record and likelihood of losing your baggage. We need something similar for web companies.
Everyone else is expected to use their brains and be responsible for the consequences of their actions. Government officials are not. This is not an issue of computer failures being treated differently than other high-consequence failures. This an issue of government failure getting a pass.
Qualified immunity is a corrupt and depraved element of the US legal system.
Sovereign immunity (the principle that the state rules over all so no one can force the state to do anything) protects the state from liability from its own mistakes. You can only sue the state if the state decides to allow it.
It seems like the vendor of the faulty system should be liable.
Why?
So, crappy software gets law enforcement officers to basically review data "anomalies" created by bugs by visiting a business. The second most expensive method for data sanatization I can imagine. It's a poor use of their time and disruptive to the business.
The system in WA is so buggy that the agency has opted to freeze the software rather than try to fix the issues. The future of government software is bleak -- so long as they keep using closed source packages from low-cost bidders.
Edit: also, they were breached anyway shortly after launch (2018) and then an email went around offerting to sell the code and data from their entire system.
I know that because I’m myself afraid of making my old app open-source… I wish I had done a bug bounty from day #1.
Bug bounties are a killer tool. I wish some lawyers had made a license like “Not open-source but here’s the source for vulnerability research.”
In many, perhaps most, such cases, projects running late and over budget are performing exactly as intended by their sponsors.
All too often, the nominal purpose for a project is just cover for a totally legal conduit from the public purse to politically-selected private pockets. Thus, in the US, we get the F-35, the SLS, the California bullet train. Sometimes we get something out the other end, many years late. (The delay is to keep the gravy train running longer.) Sometimes, nothing.
In New York, we did end up with a 2nd Avenue Subway extension. There actually are F-35 planes at air bases, some of which can actually fly. They are stacking an SLS in Florida as I write this. They probably will launch at least the one, maybe a second, at $2B each.
An estimate (in time or money) is a wish your heart makes. only fail to deliver is a real problem here, due to lack of agile practices.
https://www.youtube.com/watch?v=hBJm9ZYqL10
And Private Eye report
https://www.private-eye.co.uk/pictures/special_reports/justi...
In the post office case in my view the problem wasn't that the IT system was faulty it was that Post Office management continued to prosecute long after (more than a decade) any competent person would have known it was faulty - these people should be prosecuted.
It will take an enormous visible disaster that does more than cost a company a few tens of millions, or exposes a few hundred million social security numbers before we start holding companies and engineers liable for security flaws.
https://www.nytimes.com/2017/09/07/business/equifax-cyberatt...
OPM Hack
https://en.wikipedia.org/wiki/Office_of_Personnel_Management...
The only way to create software engineering reform you envision is to force a paradigm shift. The only thing that could instigate it would be like skynet with many dead. Though, the unknown damage from OPM could be quite severe.
There might be 'security standards' but neither the government nor private sector can guarantee anything to be safe. The civilization built on IT networks will need to be rewowrked.
Don't get me wrong, that hack was absolutely massive and terrible, but I think you missed the point of what the parent comment was saying.
Their point was that it must be something real and visceral, on a level that will make people think "something like this must never happen again at any cost". As far as I know, there weren't massive killings of people due to the equifax hack, so that isn't quite on the same level.
If anything we have bridge collapses constantly and special news anchors that report on which routes you should take today as if it were just like any other traffic incident.
1 https://www.esa.int/Newsroom/Press_Releases/Ariane_501_-_Pre...
2 https://www.cs.earlham.edu/~dusko/cs63/fdiv.html
3 https://www.henricodolfing.com/2019/06/project-failure-case-...
The Error of Our Ways: https://www.youtube.com/watch?v=3YaI6lhn78g
Companies get fined for breaking GDPR.
Governmental projects should have similar requirements in place, and companies and people should be held accountable for breaking them.
Well, no, they don't, or least when they do it's only pittance fines. Google, Facebook, et al are not bankrupt.
According to that website, one of Google's 10 fines is the highest fine ever, at €50 million. Hilariously, in a dystopian kind of way, they were fined €28 last year. Not as in millions, but twenty-eight euros.
Facebook only appears on the list once, with a paltry €51,000.
But in any case, the point of GDPR is not to bankrupt companies.
I hate to say it but I think the Chinese model with 'nationalization' of the internet and IT services has already won and we're in denial. Regional governments, "federations" are likely to continue to reduce global trade through regional nationalization and IT programs.
Might as well call it the hydrogen of IT systems—get too much of it concentrated in one place, and all it takes is one little spark for it all to go up in flames. Boom!
Plane goes down, train goes off rails or passes signal at danger, easy. But at what exact what point did the UK postmaster system "fail" enough for an investigation?
The moment it came to light that postmasters were being improperly convicted? The moment it came to light that some improperly convicted postmasters committed suicide?
How about we start with a simple algorithm like this:
1. Check if software is involved in the incident.
2. If it is, carry out an internal review to evaluate the possibility that the software may be a cause of the incident.
3. If it is, hand over to an independent review board.
4. Involve lawyers if and only if, the independent review board recommends it.
That was an off-the-cuff attempt at a suggestion. There is probably a much better way. Feel free to suggest alternatives.
I have no objection to lawyers getting involved. I just object to them suppressing the facts to protect their clients and preventing an independent investigation. It's impossible to cover up that an aircraft has crashed. Lawyers involved in an aircraft accident on behalf of the manufacturer (or operator) are basically doing 'damage limitation'. Lawyers involved in a software incident on behalf of the manufacturer (or operator) are basically doing 'evidence suppression'. They should stick to 'damage limitation'.
There never was in independent investigation of the IT system.
"Justice Lost In The Post"
https://www.private-eye.co.uk/special-reports/justice-lost-i...
We understand software development often as a discovery process (evolving requirements), especially if they are large or disruptive. So one critical output of any such project has to be knowledge that can be built upon, as in open, clearly specified and written papers. This should be done regardless of whether it failed or didn't fail.
Of course, it’s still an improvement over the legacy system which has none.
Governments need "sunken-cost fallacy" triggers that automatically halt projects when they pass thresholds, even when many worry about the effect of the halting. It's like a scene from a movie - "halt my project when I go over 100M EUR, even if I'm begging you not to".
Better oversight is clearly needed too. There won't be one tool that'll do the job on its own.
The prevalent analysis method of use-case driven procedural transactional scripts resulting in controllers or services [1] (typically just transforming a database) is problematic. Yet developers are taught or can use nothing else from computing’s rich history currently.
It would seem that any attempt to improve how we model “external” [2] complex systems in code has ceased in favor of pursuing the low hanging fruit of technical detail.
Why are we surprised that any software outside of computing and the data sciences, together with computing infrastructure, are challenged?
At issue is that outsiders have no idea of this industry incompetence, and incorrectly rely on software as being accurate, complete and foolproof.
——-
[1] Martin Fowler’s “controller-entity style” - P of EAA
[2] Where expertise in the complex problem domain lies outside of the development team.
Like most things, it's a matter of scale. If a train derails, we call in the NTSB, but they don't investigate car crashes.
The issue that I see, is that the software industry seems to be absolutely obsessed with scale. Small applications are actively sneered at. Go big, or go home.
So that means that every accident is a train wreck.
They most certainly do investigate car crashes. They just don't have the resources to investigate very many of them.
https://www.cnbc.com/2021/05/10/ntsb-releases-preliminary-re...
"...Computer says no."
Why was the testsuite written? Because it was in the list of requirements from the client, aerospace standards demand that every possible branch is covered by a test.
We choose to write bad software.
I think the authors comparison to the historical development of trains is appropriate. Investigating IT failures wasn't as important 50 years ago because IT infrastructure was not as critical. Investigating IT failures today is critical because the functioning of society depends upon it.
What I'm saying, is that I think where PHK says "nobody sat down and documented precisely what went wrong", I think he is just wrong.
The guy in the Computerphile video, Steven Murdoch wrote this article:
https://www.benthamsgaze.org/2021/07/15/what-went-wrong-with...,
which has further details of the bugs, e.g.
"There is a window of time between a user printing and cutting-off a report. If another user was to perform a transaction during that window, that transaction may not show on the report."
which is from the long and very detailed judgment: https://www.benthamsgaze.org/wp-content/uploads/2021/07/Bate...
The problem that needs investigating here is the miscarriage of justice, apparently the post office was aware of the bugs at the same time as prosecuting people for falling victim to the bugs, in order to save face about their IT decision.
What PHK is calling for is a couple of orders of magnitude greater in detail and depth.
Moreover he specifically denounces any practice of treating technical inquiries as judicial processes. The incentives differ, making that a short path to bad outcomes as people run for cover. Dispassionately recorded findings that inform the whole profession may be useful, and restorative justice has already occurred; punitive justice will be best served as a separate and ultimate proceeding.
I just don't think the bugs here are especially interesting compared to bugs in other software of similar complexity. In any other situation it goes like this:
customer: hey vendor, this software has bugs
vendor: whoops, sorry, here's a fix
or even this: customer: hey vendor, this software has bugs, and they're so bad we're suing you (which may have been appropriate in this case if the bugs caused financial loss)
not this: customer: hey vendor, this software has bugs, and we've sent our employees to prison because we don't want to admit the bugs exist.
vendor: wtf?
That's a cultural / judicial problem and I just don't believe the reaction should be to focus on preventing other companies creating similar bugs.I complained about an opaque headline once, and dang told me about how making the reader work a little is part of the HN philosophy. Pretty sensible when you learn about it:
https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
> And no, it is not "self-incrimination" unless you did something criminal.
People (in the US) are allowed to remain silent to prevent self-incrimination. While arresting someone, why don't we just say "talking right now can't be self-incriminating if you did nothing criminal?" These are in the same family as "why do you need privacy if you have nothing to hide?" and I just don't think it was well thought out.
eh, Happy Valley-Goose Bay isn't that far north as far as Canada goes. 53 degrees north.
The actual droppings in Greendland were around 61 degrees N.
Nuuk would have been ~60% closer, but not a chance it could handle an A380.
https://en.wikipedia.org/wiki/Court_Martial_(Star_Trek:_The_...
https://www.bea.aero/uploads/tx_elyextendttnews/F-HPJE_TECHN...
1. lack of flight recorder (black box).
2. computer systems are brittle, complex and ever-changing