Argument

Somebody else's job

Security became a specialty and a gate for good reasons. The gate tells everyone else that the question belongs to someone else, and what has cut whole classes of bugs is specialists building tools that engineers cannot get wrong.

· 6 min read

In 2017 researchers at the University of Bonn asked twenty computer science students to add user registration to a stub of a social networking site.1 Half were told to store the passwords securely and half were not.1 None of the ten who were not told stored them securely, while seven of the ten who were told at least hashed them.1 In interviews afterwards, most of the students who had not been told could explain in detail how they would hash and salt a password.1 A later study by the same group found that asking for security had a significant positive effect on freelance developers as well.2

The students knew, at least in outline, what secure storage required, and nobody had said the task was about security. In many organisations, as CISA's 2023 Secure by Design guidance puts it, security, like quality, is delegated to technical teams.3 The arrangement has good reasons, and its cost, rarely counted, is that it tells everyone outside the team that the question belongs to someone else. The remedy usually proposed, teaching every engineer security, has hardly been measured. What has measurably cut whole classes of vulnerability is specialists building tools that make those bugs impossible to write. What such tools cannot reach is the decision about who may see or do what, and only the engineer making that decision is there to notice that it is a security decision.

Reviewers behave the same way. In a 2022 experiment, 150 developers, most with at least three years of professional experience, reviewed a change containing two vulnerabilities.2 Without instructions, 3% found one and 21% found the other; asked to review for security, 46% and 61% did, which the authors put at eight times the probability of detection.2 A security checklist brought no significant further improvement, and professional experience made no significant difference.2 Three of the reviewers without instructions said that finding the vulnerability was not their responsibility, and one who missed a broken cryptographic algorithm explained, "I am not very familiar with cryptography and I would assume there would be some separate security assessment."2 A reviewer who knows a separate assessment exists can reasonably leave the rest to it, and the assessment arrives after the decisions in the change are made. Whether having a security team makes other engineers less attentive has not been measured.

Microsoft built the arrangement deliberately when it formalised its Security Development Lifecycle in 2004, which required annual security training for engineers on covered software and kept a central security team to train them, advise them and conduct a Final Security Review "by a team independent from its development group".4 Steve Lipner, describing the process, wrote that the aim was "security competence broadly distributed across all product teams", and that a central, highly qualified team was still key, partly because it put the final review outside the product team.4 Scarce expertise and independent sign-off are both sound reasons. Lipner was also plain about what a gate cannot do, writing that "penetration testing is not the way to achieve security" and that a final test which finds many bugs shows that earlier phases were not effective enough.4

A gate's natural output is a list of findings, and a list invites fixing them one at a time. CISA's guidance describes the result in a generic case, in which a manufacturer fixed one input-sanitisation vulnerability and researchers or attackers then found code paths the fix had not reached, because the flaws were fixed singly and the class was never eliminated.3 It also notes that the teams security is delegated to have "limited ability to make structural changes".3

A 2024 review found no research that explicitly measured the effectiveness of secure-coding training, so it could report no effect sizes; of the 962 developers the authors surveyed, 39.6% had ever been offered security or privacy training where they worked.5 In a secure-programming contest analysed in 2020, the researchers observed no difference in the vulnerabilities introduced by teams who had completed a security course sequence and teams who had not, although the course slides covered every control the contest required.6

Microsoft's security response team charted the share of the vulnerabilities it fixed each year that were memory-safety bugs, and from 2006 to 2018 it hovered around 70%.7 In 2019 the team listed what developers already had, from the development lifecycle to "plenty of training".8 A constant share is what training would also produce if it cut every kind of bug in proportion, so the chart cannot show that training failed. It shows that after years of training, tools and review, one kind of mistake was still most of what reached customers.

"A developer's core job is not to worry about security but to do feature work," the team wrote, and a memory-safe language "removes the onus of software security from the feature developer and puts it on the language developer."8 Around 2019 Google's Android team began writing new code in memory-safe languages while most of its code stayed in older ones, and memory-safety bugs fell from 76% of Android's vulnerabilities in 2019 to 24% in 2024.9 The fall came quickly because vulnerabilities concentrate in new code, so changing what new code is written in shuts off most of the supply.9

Google's web teams did the same for one kind of cross-site scripting.10 The company's security engineers changed the JavaScript and TypeScript compilers to reject the browser functions through which that bug enters, and supplied safe replacements.10 In one product, externally reported bugs of that kind went from 10 in the year before adoption to 2 during it and 1 after.10 The share of JavaScript commits that went to a security review stayed below 0.1%.10 The authors describe their evidence as observational.10 Both programmes were measured by the company that ran them.

Every one of these gains was specialists' work, by people who understood a class of attack well enough to make it unwritable. The contest researchers, who observed no difference from training, still recommended expert review for the errors developers made most.6 What changed is the specialists' position. At Google they wrote the compiler check and then reviewed the exceptions, a fraction of a percent of changes, where a gate would have inspected everything at the end.

No language can decide whether one customer may read another's invoice, because that is a decision about the product, and code that gets it wrong can be perfectly safe code doing the wrong thing. MITRE's 2025 ranking of the most dangerous software weaknesses drew on 39,080 vulnerability records published between June 2024 and June 2025.11 Missing Authorization rose five places to fourth, and five of the twenty-five entries concern authorization, access control or authentication.12 Cross-site scripting and SQL injection were first and second.12 Both are classes a safe framework can design out, so the tools work where they have been built and adopted, and most code is still written without them. Software that holds money and identities is made largely of decisions about who may do what, and the more of it there is, the larger this share of what goes wrong may become.

Knowing that a decision concerns security is not enough on its own. In the contest every task was a security task, yet simple slips appeared in 21% of projects and misunderstood security concepts in 78%, and 45% of projects left out an unintuitive requirement entirely.6 The researchers judged that analysis tools would not have applied to the majority of the vulnerabilities, which were "often design-level, conceptual issues".6 How much real-world insecurity comes from design rather than code is estimated, not measured. The estimate that design flaws are half of all security problems appears in a 2014 IEEE press release, in a quotation from Gary McGraw, chief technology officer of Cigital, that also announced a chance "to gather real data".13

The part of security that has to be every engineer's is therefore narrower than expertise. It is recognising that a decision is a security decision, which the instruction did for the reviewers and the task did for the contest teams. Under a gate that recognition arrives when work is routed to the security team, after the decisions are made. The engineer deciding who may read an invoice is the only person present when it is decided, so the recognition has to come from that engineer, and the specialist's depth goes to the decisions it brings to light. Microsoft's security team ranked threat modelling, in which a product team lists the assets its software manages, the interfaces through which they can be reached and the threats to each, as the highest-priority part of its process.4 Threat modelling is that recognition, written down at design time.

A security team doing this well will reach most engineers as a compiler that refuses certain functions and a colleague who answers the questions they have learned to ask. The security work left to everyone else will look like product design, because most of it is.

Did this change how you think about it?

Sources

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13

About this piece

Kind
Argument. A reasoned case. The logic is the evidence; check it.
Evidence
Moderate
Research
Light, 13 sources
Reviewed
Development
Developed in one recorded pass, beginning in November 2026. How it is judged
Record
sha256:8f3e95d9bfbacd193d60b309293785d6b7b01beafbf449ce671c8b88dea86e35

How this was made