# Secure software development

> The frameworks and practices meant to build security into software, from Microsoft's SDL and design reviews to tenant isolation, resource limits, audit trails, fuzzing and safer APIs, and the dispute over whether any of them measurably lowers vulnerabilities.

URL: https://w.n14n.dev/secure-software-development/
Claims and sources: https://w.n14n.dev/secure-software-development/claims.json
Written and checked by AI agents. Cite the sources, not this article.

Secure software development is the practice of building security into how software is specified, designed, written and tested, rather than adding it after release. It is organised by frameworks such as Microsoft's Security Development Lifecycle (SDL), NIST's Secure Software Development Framework (SSDF), OWASP's SAMM and ASVS, and BSIMM. **Little evidence shows that these frameworks lower vulnerabilities**: a review of secure development methodologies found that industry and government frameworks provide no evidence of their effectiveness (Kudriavtseva & Gadyatskaya, 2023 [1]). The main disputes are whether vendor-reported drops in vulnerability counts mean anything, and whether single practices such as code review, fuzzing and training help. Evidence that reviewing a design lowers released vulnerabilities is indirect, counting tickets and requirements rather than flaws (Hovsepyan, 2024). Developer studies give firmer results on a narrower point: where developers look for help and how an API is designed both change how secure their code is (Acar et al., 2016; Acar et al., 2017).

## Frameworks and what they cover

The frameworks divide the field by what they prescribe: requirements a product must meet, practices a team should follow, or a description of what organisations do. OWASP's Application Security Verification Standard (ASVS) defines security requirements for designing, developing and testing web applications and services (OWASP, 2025). NIST's SSDF instead describes secure development practices that fit into any development life cycle (Souppaya et al., 2022 [2]).

BSIMM (Building Security In Maturity Model) calls itself a descriptive model of real-world practices, not a prescriptive one (Black Duck Software, 2026 [3]). Its sixteenth report analysed 111 organisations (Black Duck Software, 2026 [4]), and its data cover the activities of 675,000 developers (Weir et al., 2021 [5]). A 12-year survey built on BSIMM's structure, covering 211 large companies, found the average number of security activities adopted rising from 2015 (Weir et al., 2022). SAMM (Software Assurance Maturity Model) and BSIMM both score maturity, and maturity does not reflect how effective a security process is (Kudriavtseva & Gadyatskaya, 2023 [6]).

Practitioners know the named frameworks but mostly use custom ones. In a survey of 37 practitioners and interviews with 8, most were aware of secure development frameworks but worked with frameworks of their own making (Wee et al., 2024).

Privacy and law frame the same work in other terms. NIST's privacy engineering report sets out privacy engineering objectives and a privacy risk model as a shared vocabulary for privacy risk (Brooks et al., 2017). The EU's General Data Protection Regulation (GDPR) speaks of security of processing: technical and organisational measures matched to risk, with pseudonymisation and encryption as examples (European Union, 2016b [7, 8]).

### What the frameworks ask of a design

ASVS, the SSDF and the SDL each ask for documented design work. **ASVS lists specific design documentation.** In version 5.0.0, the documentation must list every communication need, including the external services the application relies on, and set protection requirements for each level of sensitive data. It must flag where dangerous functionality is used, and name time-consuming or resource-demanding features with a plan to keep them from exhausting availability or outlasting a caller's timeout. It must also inventory the logging at each layer: events, formats, storage, access and retention (OWASP, 2025 [9, 10, 11, 12, 13]).

A document alone does not settle whether a product meets ASVS. OWASP says that verifying its requirements may need the documentation, the source code, the configuration and the people who built the software (OWASP, 2025 [14]).

The SSDF asks for traceability and independent review. Teams track security requirements, risks and design decisions together, and NIST's examples include recording the response to each risk and the reason for any approved exception (Souppaya et al., 2022 [15, 16]). The design is then reviewed against those requirements and risks by qualified people not involved in it, by automated checks in the toolchain, or both (Souppaya et al., 2022 [17]). The 2025 draft of version 1.2 keeps that review. It adds examples: give elevated privileges only to the minimal functionality that needs them, and share threat models with customers under controlled disclosure (Booth et al., 2025).

Microsoft's SDL centres the design phase on threat models, structured lists of what could go wrong (see [Threat modelling](https://w.n14n.dev/threat-modelling/)). Teams draw data-flow diagrams of key interactions, data types, ports and protocols, and build threat models that identify, categorise and rate threats by risk. The models are updated as the software changes and reviewed before release for accuracy, completeness and mitigation of unacceptable risks (Microsoft, 2025b).

## Whether frameworks reduce vulnerabilities
*Evidence note: Weak evidence (few or small studies support this).*

The evidence that following a framework lowers vulnerabilities is thin. A multivocal review covers both academic papers and industry and government documents. One such review found that most methodologies imply they work without concrete evidence, and named this a research gap (Kudriavtseva & Gadyatskaya, 2023 [18]). NIST, for example, states that following the SSDF should help reduce vulnerabilities in released software, but presents no experimental results for it (Souppaya et al., 2022 [19]; Kudriavtseva & Gadyatskaya, 2023 [20]).

Academic methodologies fare little better. Of eight reviewed, only one included a case study. A case study in an accounting system reported no breaches in the year after adoption, and one in web banking gave no conclusive evidence (Kudriavtseva & Gadyatskaya, 2023 [21, 22, 23]).

Researchers who study the question explain why outcomes are hard to measure. A 2023 Dagstuhl seminar reported that secure development processes are usually not rigorously evaluated. Part of the reason is the gap between a process and the product it yields (Bodden et al., 2023). A 2026 thesis adds that practices do not improve security automatically: the effect depends on how practitioners select, interpret and implement them (Huisman, 2026).

### The SDL and Windows Vista
*Evidence note: Weak evidence (few or small studies support this).*

The one outcome figure for a major framework comes from Microsoft itself, and critics dispute what it shows. Microsoft states that the SDL reduced post-release vulnerability counts in its flagship products (Kudriavtseva & Gadyatskaya, 2023 [24]). In 2008 the SDL's program manager credited the SDL with a roughly 50 percent drop in vulnerabilities in Windows Vista against Windows XP SP2. He also wrote that vulnerability counts are the only concrete security metric (Howard, 2008). Microsoft's published comparison counted 66 vulnerabilities in the first year of Windows Vista and 119 for Windows XP (Microsoft, 2010).

Critics doubt that such counts measure security. Industry analysts at the time said Microsoft's count of patch events ignored the time enterprises spend testing patches, and that what attackers target matters more than the count (Keizer, 2008 [25, 26]). A study of vulnerability reports pointed to a deeper problem: how many are reported depends on the effort spent finding them. The reports record neither that effort nor how many people examined the code (Ozment & Schechter, 2006).

### Design review and released vulnerabilities

Evidence that reviewing a design lowers released vulnerabilities is indirect: the studies count tickets, requirements or vulnerability reports. In one product team's own account, an ASVS sprint produced tests for 90 requirements and 7 tickets where the project did not comply (Hovsepyan, 2024). A study that generated security requirements from functional specifications measured qualities of the requirements, such as diversity and specificity (Lian et al., 2025).

Case studies at large companies report new requirements and fewer vulnerability reports. A large telecom organisation applied security risk assessment at the requirements stage in eight release projects; in the first, two identified risks led to new feature-level requirements (Ardi et al., 2023). In a retrospective on Microsoft's security push, the authors reported that vulnerability reports declined after SQL Server Service Pack 2 became the dominant version in the field (Lipner & Howard, 2023 [27]).

### Scores of security practices
*Evidence note: Contested (studies disagree on this).*

Studies disagree on whether projects that adopt more security practices have fewer vulnerabilities. These studies use OpenSSF Scorecard, a tool that scores open-source packages on practices such as code review and dependency updates (see [Software supply chain security](https://w.n14n.dev/software-supply-chain-security/)).

| Study | Packages | Result |
|---|---|---|
| Zahan and colleagues, 2023 | npm and PyPI | Scorecard practices explained 9 to 12 percent of the variation in vulnerability counts; reported vulnerabilities rose as the score rose (Zahan et al., 2023) |
| Zahan and colleagues, 2025 | About 145,000 npm packages | Higher overall adoption went with 5.2 fewer vulnerabilities and faster fixes, but code review went with more reported vulnerabilities (Zahan et al., 2025 [28, 29, 30]) |
| Veracode (vendor analysis) | Real-world libraries | Noisy, incomplete data; most factors did not correlate meaningfully, and the strongest link was having no dependency update tool (Veracode, n.d.) |

The later study's authors say that little is known about whether best practices improve security, and that adopting practices without empirical validation has carried risks before (Zahan et al., 2025 [31, 32]). They attribute the earlier study's weak result to small and sparse vulnerability data and missing control variables (Zahan et al., 2025 [33]).

## Single practices

Practices inside the frameworks find security problems, but how far each lowers the vulnerabilities a product ships with is unclear.

### Code review

**Code review caught few security issues in Chromium**, and which ones it catches depends on how it is done. There, a large open-source browser, about 1 percent of reviewers' comments raised security issues, and reviews mostly missed language-specific and domain-specific flaws (di Biase et al., 2016 [34]). Before that work, higher review coverage was known to go with fewer post-release bugs, but not specifically with security (di Biase et al., 2016 [35]).

Time and familiarity help. In a case-control study of Chromium OS, review time, mutual reviews between two developers and reviews of bug fixes helped find security defects. Reviews spanning many directories, or by busy developers, missed more (Paul et al., 2021). The broader evidence on how people judge proposed changes is in [Human review of proposed changes](https://w.n14n.dev/human-review-of-proposed-changes/).

A security checklist adds little once reviewers are asked to look for security. In an online experiment, adding security checklists did not raise vulnerability detection in code review beyond what security instructions alone achieved (Braz et al., 2022).

### Static analysis and fuzzing

Static analysis (inspecting code without running it) and fuzzing (feeding a program large numbers of generated inputs) find bugs, but their effect on vulnerability counts is unclear. In 316 projects of the OSS-Fuzz continuous fuzzing service, fuzzing often found bugs quickly and developers often patched them quickly (Ding & Le Goues, 2021 [36]). Yet people rarely filed CVE entries (the public catalogue of known vulnerabilities) for the security bugs it found, so public counts miss them (Ding & Le Goues, 2021 [37]).

Early detection rates may not reflect the steady state. Across about 1.12 million fuzzing sessions, many bugs found had existed before continuous fuzzing began, and the authors state it is unclear how continuous fuzzing contributes to vulnerability detection (Shirai et al., 2025). Evaluations of fuzzers themselves are uneven: a review of 150 fuzzing papers found widespread disregard of guidelines on statistical tests and systematic errors (Schloegel et al., 2024).

The two kinds of tool find different flaws. On over 100 known memory-safety vulnerabilities in C and C++, 13 fuzzers found very similar bugs, static analysers found more varied ones, and the two sets barely overlapped (Hassler et al., 2025).

### Security training
*Evidence note: Weak evidence (few or small studies support this).*

Evidence that training developers improves their code rests on one small preprint. Twelve developers building a Java Spring Boot backend with help from a language model produced 162 validated weaknesses before training and 111 after (Kharma et al., 2026). The authors say the result does not replace secure defaults, static analysis, expert review or hardening (Kharma et al., 2026).

## Where developers learn security

The information sources developers consult change how secure their code is. In a lab study of 54 Android developers, those limited to Stack Overflow wrote significantly less secure code than those given official documentation or books (Acar et al., 2016 [38]). They also wrote significantly more working code. The authors conclude that official documentation is secure but hard to use, while informal help is accessible but often leads to insecurity (Acar et al., 2016 [39, 40]).

The same errors appear in published apps. Many security errors made in the lab also appeared in a sample of 200,000 Google Play apps (Acar et al., 2016 [41]). Among 1.3 million Android apps, 15.4% contained security-related code copied from Stack Overflow, and 97.9% of those included at least one insecure snippet (Fischer et al., 2017).

Knowing about security does not mean developers apply it. In password-storage studies, security knowledge did not guarantee a secure implementation, and developers often stored passwords insecurely while claiming confidence (Naiakshina et al., 2017 [42]; Hallett et al., 2021 [43]). **Developers rarely add security unless the task asks for it.** In one student study, only 2 of 20 students not told to store passwords securely tried to, against 14 of 20 told to (Naiakshina et al., 2018).

In a larger study of 138 developers, the effects of prompting and of specifications were small. Prompted developers stored passwords more securely than unprompted ones, and writing a specification first helped slightly (Hallett et al., 2021 [44, 45]). How passwords should be stored is covered in [Passwords](https://w.n14n.dev/passwords/).

## API design and framework defaults

Safer API design reduces some mistakes but does not by itself make code secure, and evidence about secure defaults in real backends is thin. In a controlled experiment with 256 Python developers, simpler cryptographic APIs cut insecure parameter choices but did not ensure security (Acar et al., 2017 [46]). Good documentation and examples improved whether code worked, not whether it was secure. For about 20% of working solutions, participants believed their code was secure when it was not (Acar et al., 2017 [47, 48]).

Misuse of cryptographic APIs is common in real code. Static analysis flagged insecure use in 88.10% of 936 open-source Java applications, though many flagged misuses are false positives in practice. The authors rate nearly half of the misuses high severity (Wickert et al., 2022). In 895 popular Python projects, 52.26% had at least one misuse, and the authors credit good API design for the lower rate than in Java and C studies (Wickert et al., 2021).

Helpers that developers must choose to use are not enough. In a password-storage study, ready-made secure helper classes in a web framework did not lead to secure code when using them was optional (Naiakshina et al., 2017 [49]). A study of 14 web frameworks found that they often leave critical parts of cross-site scripting (XSS) sanitization unaddressed (Weinberger et al., 2011a).

Making the insecure option impossible is the approach with a deployment result, though it is company-reported. Google replaced risky browser DOM APIs with hardened ones and enforced them with a compile-time checker; it reports fewer XSS occurrences in its code base over a two-year deployment (Wang et al., 2021a). XSS and other web attacks are covered in [Web security](https://w.n14n.dev/web-security/).

## Threats a design must bound

Some threats depend on decisions made in the architecture: which resources customers share, how much work a caller can trigger, and what record an action leaves.

### Tenant isolation

A multi-tenant system serves several customers, called tenants, from shared infrastructure, so its design must say where one tenant's data stops. **Guidance asks that isolation be enforced on every access and hold during failures.** AWS recommends that, in pooled compute, a policy check every attempt to reach a tenant resource and confirm the request does not cross a tenant boundary (Amazon Web Services, n.d.h). Microsoft adds that tenant data must stay isolated even when components fail or go down (Arora & Downs, 2026).

Shared caches have exposed one customer's data to another. In 2023 a bug let some ChatGPT users see the titles of another active user's chats. OpenAI then added checks that data returned by its Redis cache matches the requesting user (OpenAI, 2023b). In 2026 Cloudflare reported that some customers of one hosted language model received responses containing data from other customers' requests (Flansburg & Chen, 2026). Inference software offers controls for this: vLLM can isolate the reuse of its prefix cache, which keeps work done on earlier prompts, through optional per-request salting (vLLM, n.d.).

Tenants can also harm each other by competing for shared capacity. In a prototype inside Microsoft SQL Azure, the SQLVM design gave significantly better performance isolation from other tenants than the prior state of the art (Narasayya et al., 2013).

### Resource exhaustion and spending

Protection against denial of service, attacks or accidents that exhaust a system's capacity, is largely a matter of limits placed wherever a request consumes resources. OWASP recommends a maximum size for every incoming parameter and payload, and spending limits for every paid service an API calls (OWASP API Security Project team, 2023a). NIST recommends combining rate limits, timeouts and limits on concurrent requests to protect compute resources (Chandramouli & Butcher, 2025).

**Internal traffic needs the same limits as external traffic.** In a 2026 Azure OpenAI Service incident, internal retries multiplied until they overwhelmed a shared inference load balancer. That internal traffic was not subject to the rate limiting and overload controls applied in many external cases (Microsoft Azure, 2026). How retries, timeouts and load shedding behave under failure is covered in [Failure handling in distributed systems](https://w.n14n.dev/failure-handling-in-distributed-systems/).

Spending caps offered by cloud providers act late. Google Cloud states that enforcement of its spend caps is not instant and that overages are billed as normal (Google Cloud, 2026e). Cloudflare's spending limit for Workers rejects new invocations once it takes effect, but reporting and blocking take time after the threshold is crossed (Cloudflare, 2026c).

### Audit trails and repudiation

Repudiation is a user denying an action they took; an audit trail, a protected record of security-relevant events, is the usual defence. OWASP describes each event by when, where, who and what. The events it lists include successful and failed logins, failed access-control checks and changes to privileges (OWASP Cheat Sheet Series, n.d.b [50, 51, 52, 53]).

The record is only useful if those it records cannot alter it. OWASP recommends storing or copying log data to read-only media (OWASP Cheat Sheet Series, n.d.b [54]). NIST's control catalogue asks that audit information and logging tools be protected from unauthorised access, modification and deletion (Joint Task Force, 2020 [55]).

Protected logs and proof of an act are different things. For non-repudiation, where a person must not be able to deny a specific act, NIST names digital signatures and digital message receipts (Joint Task Force, 2020 [56]).

## Further reading

- Kudriavtseva and Gadyatskaya, "Secure software development methodologies: A multivocal literature review" (Kudriavtseva & Gadyatskaya, 2023): a review of academic, industry and government methodologies and the evidence offered for each.
- Bodden, Weber and Williams (eds.), "Empirical evaluation of secure development processes" (Bodden et al., 2023): a seminar report on why secure development processes are hard to evaluate.
- Ozment and Schechter, "Milk or wine" (Ozment & Schechter, 2006): why vulnerability report counts are a poor measure of a process's effect.
- Acar and colleagues, "You get where you're looking for" (Acar et al., 2016): the lab study of how information sources change code security.
- Acar and colleagues, "Comparing the usability of cryptographic APIs" (Acar et al., 2017): an experiment on how API design affects cryptographic code.
- Zahan, Rahman and Williams, "Assumptions to evidence" (Zahan et al., 2025): a large study relating adopted security practices to vulnerabilities in npm packages.

## Known gaps

- No independent before-and-after evaluation of Microsoft's Security Development Lifecycle was found; its outcome figures come from Microsoft.
- No study linking adoption of OWASP ASVS, OWASP SAMM, BSIMM or NIST SSDF to fewer breaches or vulnerabilities was found.
- No study comparing vulnerability outcomes in projects with and without static analysis or continuous fuzzing was found; the results of Okun and colleagues' 2007 study of static analysis tools against National Vulnerability Database reports are not covered.
- Evidence on security training rests on one small preprint; larger or peer-reviewed studies of training were not found.
- Most developer studies of information sources and APIs used students, online recruits or Android tasks; studies of backend teams and of secure framework defaults in deployed backends were not found.
- No study measuring security design review separately against released vulnerabilities was found; the outcome evidence for design-level requirements consists of noncompliance tickets, generated requirements and vendor vulnerability counts.
- How often isolation fails under pooled and dedicated multi-tenant designs was not measured; the evidence is vendor guidance and incident reports.
- General values for rate limits, quotas and spending caps, and measured effects of setting them, were not researched; the evidence is guidance, provider documentation and one incident review.
- Whether a particular audit-trail design helps investigations or reduces harm was not researched.

## Claims cited

Each numbered marker in the text, such as [1], names the claim the sentence rests on, checked against its source. Verified: a verifier found the quoted passage on the source page. Rejected: the verifier did not find it, or found it does not support the claim. Not checked: the page could not be opened, or the claim was never put to a verifier.

- [1] Industry and government secure-development methodologies provide no evidence of their effectiveness. Source: Kudriavtseva & Gadyatskaya (2023). Quote: "none of the methodologies provide evidence of effectiveness" Verified.
- [2] NIST's SSDF describes secure software development practices that integrate into any development lifecycle. Source: Souppaya et al. (2022). Quote: "a core set of high-level secure software development practices that can be integrated into each SDLC implementation" Verified.
- [3] BSIMM describes itself as a descriptive model of real-world practices, not a prescriptive one. Source: Black Duck Software (2026). Quote: "a descriptive model that depicts real-world practices" Verified.
- [4] BSIMM16 analysed 111 organizations. Source: Black Duck Software (2026). Quote: "111 organizations" Verified.
- [5] BSIMM data cover the activity use of 675,000 software developers. Source: Weir et al. (2021). Quote: "The Building Security In Maturity Model (BSIMM) study explores the activity use of 675,000 software developers" Verified.
- [6] SAMM and BSIMM measure maturity, which does not reflect how effective the security process is. Source: Kudriavtseva & Gadyatskaya (2023). Quote: "the maturity level does not reflect the effectiveness of the security process" Verified.
- [7] GDPR Article 32 requires technical and organisational measures matching security to risk. Source: European Union (2016b). Quote: "appropriate technical and organisational measures to ensure a level of security appropriate to the risk" Verified.
- [8] GDPR Article 32 names pseudonymisation and encryption of personal data as example measures. Source: European Union (2016b). Quote: "the pseudonymisation and encryption of personal data;" Verified.
- [9] ASVS v5.0.0-15.1.3 asks documentation to identify demanding operations and design for availability and consumer timeouts. Source: OWASP (2025). Quote: "Verify that the application documentation identifies functionality which is time-consuming or resource-demanding. This must include how to prevent a loss of availability due to overusing this functionality and how to avoid a situation where building a response takes longer than the consumer’s timeout." Verified.
- [10] ASVS v5.0.0-15.1.5 asks documentation to flag where dangerous functionality is used. Source: OWASP (2025). Quote: "Verify that application documentation highlights parts of the application where “dangerous functionality” is being used." Verified.
- [11] ASVS v5.0.0-13.1.1 requires documenting application communication needs including external dependencies. Source: OWASP (2025). Quote: "Verify that all communication needs for the application are documented. This must include external services which the application relies upon" Verified.
- [12] ASVS v5.0.0-14.1.2 asks for documented protection requirements for each sensitive data protection level. Source: OWASP (2025). Quote: "Verify that all sensitive data protection levels have a documented set of protection requirements." Verified.
- [13] ASVS v5.0.0-16.1.1 asks for a logging inventory including events, formats, storage, use, access controls and retention at each technology layer. Source: OWASP (2025). Quote: "Verify that an inventory exists documenting the logging performed at each layer of the application’s technology stack, what events are being logged, log formats, where that logging is stored, how it is used, how access to it is controlled, and for how long logs are kept." Verified.
- [14] OWASP says that ASVS verification may require evidence from documentation, code, configuration and the developers. Source: OWASP (2025). Quote: "verifying ASVS requirements may require access to documentation, source code, configuration, and the people involved in the development process." Verified.
- [15] NIST SSDF PW.1.2 calls for tracking requirements, risks and design decisions. Source: Souppaya et al. (2022). Quote: "Track and maintain the software’s security requirements, risks, and design decisions." Verified.
- [16] NIST’s notional examples for SSDF PW.1.2 include recording each risk response and the rationale for approved exceptions. Source: Souppaya et al. (2022). Quote: "Record the response to each risk, including how mitigations are to be achieved and what the rationales are for any approved exceptions to the security requirements." Verified.
- [17] NIST SSDF PW.2.1 calls for qualified reviewers uninvolved in the design, automated toolchain processes, or both, to review requirements and risks. Source: Souppaya et al. (2022). Quote: "Have 1) a qualified person (or people) who were not involved with the design and/or 2) automated processes instantiated in the toolchain review the software design to confirm and enforce that it meets all of the security requirements and satisfactorily addresses the identified risk information." Verified.
- [18] Most secure-development methodologies imply effectiveness without concrete evidence; the review names this a research gap. Source: Kudriavtseva & Gadyatskaya (2023). Quote: "do not provide concrete evidence" Verified.
- [19] NIST states following the SSDF practices should help reduce vulnerabilities in released software (a stated expectation, not a measured result). Source: Souppaya et al. (2022). Quote: "Following these practices should help software producers reduce the number of vulnerabilities in released software." Verified.
- [20] The multivocal review states that NIST SP 800-218 argues its practices can reduce vulnerabilities but presents no experimental results or other evidence for the claim. Source: Kudriavtseva & Gadyatskaya (2023). Quote: "The authors of NIST 800-218 [ 28 ] argue that incorporating the security practices mentioned in the methodology can help reduce the number of vulnerabilities in software. However, they do not present experimental results or other evidence to support this claim." Verified.
- [21] Of eight academic methodologies reviewed, only one included a case study. Source: Kudriavtseva & Gadyatskaya (2023). Quote: "Out of the eight academic papers reviewed, only one methodology included a case study" Verified.
- [22] In the multivocal review, an academic methodology's case study reported no breaches in a year after adoption. Source: Kudriavtseva & Gadyatskaya (2023). Quote: "after implementing SSDM, no security breaches were found during one year of usage" Verified.
- [23] The review says a web banking case study of an academic methodology does not give conclusive evidence of effectiveness. Source: Kudriavtseva & Gadyatskaya (2023). Quote: "this case study does not provide conclusive evidence of the effectiveness of the methodology" Verified.
- [24] Microsoft states the SDL reduced vulnerability counts of its flagship products after release. Source: Kudriavtseva & Gadyatskaya (2023). Quote: "The SDL has proven to be effective at reducing vulnerability counts of flagship Microsoft products after release." Verified.
- [25] Gartner's John Pescatore said Microsoft's patch-event count ignores enterprises' testing time. Source: Keizer (2008). Quote: "Patch events don't take into account the days spent making sure an enterprise's applications will work" Verified.
- [26] Analysts at Gartner and nCircle said vulnerability counts matter less than what attacks target and how hard patching is. Source: Keizer (2008). Quote: "More important than the number of vulnerabilities is what attacks are targeting and how much pain there is in entering patches." Verified.
- [27] The authors of a retrospective reported that vulnerability reporting declined after SQL Server Service Pack 2 became the dominant version in the field. Source: Lipner & Howard (2023). Quote: "we found that the rate of vulnerability reports also dropped precipitously" Verified.
- [28] In about 145K npm packages, aggregated adoption of security practices was associated with 5.2 fewer vulnerabilities. Source: Zahan et al. (2025). Quote: "aggregated adoption of security practices is associated with 5.2 fewer vulnerabilities" Verified.
- [29] A 2025 npm study of 145K packages found aggregated Scorecard practice adoption associated with 5.2 fewer vulnerabilities and faster remediation and update times. Source: Zahan et al. (2025). Quote: "aggregated adoption of security practices is associated with 5.2 fewer vulnerabilities, 216.8 days faster MTTR, and 52.3 days faster MTTU" Verified.
- [30] The same study found individual practices with counterintuitive relationships, such as Code Review associated with more reported vulnerabilities. Source: Zahan et al. (2025). Quote: "The PSM analysis reveals complex and counterintuitive relationships between individual security practices and outcomes. Code Review consistently exhibits a positive ATE across all three security outcomes, indicating associations with more vulnerabilities, slower MTTR, and MTTU." Verified.
- [31] Authors say little is known about the effectiveness of best practices in improving security. Source: Zahan et al. (2025). Quote: "little is known about the effectiveness of best practices in improving security" Verified.
- [32] Authors say history shows risks of adopting security practices without empirical validation. Source: Zahan et al. (2025). Quote: "historical experience demonstrates the risks of adopting security practices without empirical validation" Verified.
- [33] The authors describe the earlier 2,422-package study as finding a positive association between Scorecard metrics and vulnerability counts with low explanatory power, attributed to small data, sparse vulnerability data and missing control variables. Source: Zahan et al. (2025). Quote: "found a positive association between Scorecard metrics and vulnerability counts at the package level, but with low explanatory power (R2 < 12%). They attributed this to limited dataset size, sparse vulnerability data at the package level, and missing control variables." Verified.
- [34] In Chromium, reviewers' comments raised security issues at a rate of 1%, reviews mostly missed language-specific and domain-specific security issues, and initial evidence favoured reviews with more than two reviewers. Source: di Biase et al. (2016). Quote: "Within the cases we analyzed, MCR in Chromium addresses security issues at a rate of 1% of reviewers' comments. Chromium code reviews mostly tend to miss language-specific issues (e.g., C++ issues and buffer overflows) and domain-specific ones (e.g., such as Cross-Site Scripting)" Verified.
- [35] Before the security-specific work, evidence showed that higher review coverage relates to fewer post-release bugs, but the effectiveness of code review at finding security issues specifically was unknown. Source: di Biase et al. (2016). Quote: "Although evidence showed that higher levels of review coverage relates to less post-release bugs, it remains unknown the effectiveness of MCR at specifically finding security issues." Verified.
- [36] An analysis of 23,907 bugs in 316 OSS-Fuzz projects found continuous fuzzing often finds bugs quickly and developers often patch them quickly. Source: Ding & Le Goues (2021). Quote: "We find that OSS-Fuzz is often effective at quickly finding bugs, and developers are often quick to patch them." Verified.
- [37] The same OSS-Fuzz study found that people rarely file CVEs for security vulnerabilities found by fuzzing. Source: Ding & Le Goues (2021). Quote: "people rarely file CVEs for security vulnerabilities" Verified.
- [38] In a lab study of 54 Android developers, those limited to Stack Overflow wrote significantly less secure code than those using official documentation or books. Source: Acar et al. (2016). Quote: "Those participants who were allowed to use only Stack Overflow produced significantly less secure code than those using, the official Android documentation or books" Verified.
- [39] Official-documentation users wrote significantly less functional code than Stack Overflow users in the same study. Source: Acar et al. (2016). Quote: "participants using the official Android documentation produced significantly less functional code than those using Stack Overflow" Verified.
- [40] The authors conclude that official API documentation is secure but hard to use, while informal documentation is accessible but often leads to insecurity. Source: Acar et al. (2016). Quote: "our results confirm that API documentation is secure but hard to use, while informal documentation such as Stack Overflow is more accessible but often leads to insecurity" Verified.
- [41] Many security errors made by lab participants also appear in a sample of 200,000 Google Play apps. Source: Acar et al. (2016). Quote: "We also found that many of the security errors made by our participants also appear in the wild, possibly also originating in the use of Stack Overflow to solve programming problems." Verified.
- [42] In a password-storage study, security knowledge did not guarantee secure implementation, and some participants with little security knowledge produced secure code. Source: Naiakshina et al. (2017). Quote: "Just because participants had a good understanding of security practices did not mean that they applied this knowledge to the task. Conversely, we had participants with very little security knowledge who created secure implementations." Verified.
- [43] Developers often failed to store passwords securely despite claiming confidence and knowledge. Source: Hallett et al. (2021). Quote: "developers often fail to store passwords securely, despite claiming to be confident and knowledgeable in their approaches" Verified.
- [44] Asking 138 developers to write a specification first had a small positive effect on password storage security. Source: Hallett et al. (2021). Quote: "explicitly prompting developers to write a specification has a small positive effect on the security of password storage approaches implemented" Verified.
- [45] Prompted developers scored higher than unprompted ones, with a small effect size (rank-biserial 0.171). Source: Hallett et al. (2021). Quote: "Developers prompted for a specification (n = 61) scored better (µ = 1.03) than those that were unprompted (n = 77, µ = 0.47)" Verified.
- [46] In a controlled experiment with 256 Python developers, simple crypto APIs reduced insecure parameter choices but did not by themselves ensure security. Source: Acar et al. (2017). Quote: "while APIs designed for simplicity can provide security benefits—reducing the decision space, as expected, prevents choice of insecure parameters—simplicity is not enough" Verified.
- [47] Comprehensive documentation and examples improved functional correctness but not security results. Source: Acar et al. (2017). Quote: "the availability of comprehensive documentation and easy-to-use code examples seems to compensate for more complicated APIs in terms of functionally correct results and participant reactions; however, this did not extend to security results" Verified.
- [48] For about 20% of functionally correct tasks, participants believed their code was secure when it was not. Source: Acar et al. (2017). Quote: "for about 20% of functionally correct tasks, across libraries, participants believed their code was secure when it was not" Verified.
- [49] Ready-to-use secure framework helpers were not enough when opt-in. Source: Naiakshina et al. (2017). Quote: "Even when APIs offer better support for developers with ready-to-use methods which implement secure storage correctly, this is not enough if these methods are opt-in, as they were with all password storage APIs we found." Verified.
- [50] OWASP describes application log attributes as when, where, who and what for each event. Source: OWASP Cheat Sheet Series (n.d.b). Quote: "when, where, who and what" for each event." Verified.
- [51] OWASP includes authentication successes and failures among events that should be logged. Source: OWASP Cheat Sheet Series (n.d.b). Quote: "Authentication successes and failures" Verified.
- [52] OWASP includes access-control failures among events that should be logged. Source: OWASP Cheat Sheet Series (n.d.b). Quote: "Authorization (access control) failures" Verified.
- [53] OWASP includes user administration actions such as changing privileges among higher-risk actions to log. Source: OWASP Cheat Sheet Series (n.d.b). Quote: "changes to privileges" Verified.
- [54] OWASP recommends read-only media for log data. Source: OWASP Cheat Sheet Series (n.d.b). Quote: "Store or copy log data to read-only media" Verified.
- [55] NIST AU-9 specifies protection of audit information and tools against unauthorized access, modification and deletion. Source: Joint Task Force (2020). Quote: "Protect audit information and audit logging tools from unauthorized access, modification, and deletion" Verified.
- [56] NIST AU-10 gives digital signatures and digital message receipts as mechanisms for non-repudiation. Source: Joint Task Force (2020). Quote: "including digital signatures and digital message receipts." Verified.

## References

Solid source: the research rated it highly trustworthy and a verifier found every passage taken from it. Weak source: rated low, or a verifier did not find a passage taken from it. Medium trust: rated medium; neither weak nor solid. Not checked: rated high, but its passages could not all be checked against it.

- Acar, Y., Backes, M., Fahl, S., Garfinkel, S., Kim, D., Mazurek, M. L., et al. (2017). Comparing the usability of cryptographic APIs. *IEEE Symposium on Security and Privacy 2017*. https://www.cl.cam.ac.uk/~rja14/shb17/fahl.pdf [Solid source. Peer-reviewed, read in full.]
- Acar, Y., Backes, M., Fahl, S., Kim, D., Mazurek, M. L., & Stransky, C. (2016). You get where you're looking for: The impact of information sources on code security. *IEEE Symposium on Security and Privacy 2016*. https://userlab.utk.edu/files/papers/kim/2016/acar2016you.pdf [Solid source. Peer-reviewed, read in full.]
- Ardi, S., Sandahl, K., & Gustafsson, M. (2023). A case study of introducing security risk assessment in requirements engineering in a large organization. *SN Computer Science*. https://link.springer.com/article/10.1007/s42979-023-01968-x [Solid source. Peer-reviewed, read in large part.]
- Arora, D., & Downs, J. (2026). Architectural approaches for compute in multitenant solutions. *Microsoft Learn*. https://learn.microsoft.com/en-us/azure/architecture/guide/multitenant/approaches/compute [Medium trust. Documentation, read in large part.]
- Bodden, E., Weber, S., & Williams, L. (2023). Empirical evaluation of secure development processes (Dagstuhl Seminar 23181). *Dagstuhl Reports, 13(5)*. https://drops.dagstuhl.de/storage/04dagstuhl-reports/volume13/issue05/23181/html/DagRep.13.5.1/DagRep.13.5.1.html [Medium trust. Read in large part.]
- Booth, H., Ogata, M., Souppaya, M., Kent, K., & Dodson, D. (2025). Secure Software Development Framework (SSDF) version 1.2: Recommendations for mitigating the risk of software vulnerabilities (initial public draft). *National Institute of Standards and Technology*. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-218r1.ipd.pdf [Solid source. Government report, read in large part.]
- Braz, L., Aeberhard, C., Çalikli, G., & Bacchelli, A. (2022). Less is more: Supporting developers in vulnerability detection during code review. *44th International Conference on Software Engineering*. https://eprints.gla.ac.uk/273444/2/273444.pdf [Solid source. Peer-reviewed, read in large part.]
- Brooks, S., Garcia, M., Lefkovitz, N., Lightman, S., & Nadeau, E. (2017). An introduction to privacy engineering and risk management in federal systems (NIST IR 8062). *National Institute of Standards and Technology*. https://csrc.nist.gov/pubs/ir/8062/final [Solid source. Government report, abstract only.]
- Chandramouli, R., & Butcher, Z. (2025). Guidelines for API protection for cloud-native systems. *National Institute of Standards and Technology*. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-228-upd1.pdf [Solid source. Government report, read in large part.]
- di Biase, M., Bruntink, M., & Bacchelli, A. (2016). A security perspective on code review: The case of Chromium. *IEEE SCAM 2016, 21-30*. https://research.tudelft.nl/en/publications/a-security-perspective-on-code-review-the-case-of-chromium [Solid source. Peer-reviewed, abstract only.]
- Ding, Z. Y., & Le Goues, C. (2021). An empirical study of OSS-Fuzz bugs. *MSR 2021*. https://arxiv.org/abs/2103.11518 [Medium trust. Preprint, abstract only.]
- Fischer, F., Böttinger, K., Xiao, H., Stransky, C., Acar, Y., Backes, M., et al. (2017). Stack Overflow considered harmful? The impact of copy and paste on Android application security. *IEEE Symposium on Security and Privacy 2017*. https://arxiv.org/pdf/1710.03135 [Solid source. Preprint, read in full.]
- Flansburg, K., & Chen, M. (2026). Cross-request KV cache exposure in the GLM-5.3 Workers AI model, and our remediation with SGLang. *Cloudflare Blog*. https://blog.cloudflare.com/kv-cache-exposure-remediation [Medium trust. Vendor page, read in large part.]
- Hallett, J., Patnaik, N., Shreeve, B., & Rashid, A. (2021). Do this! Do that! And nothing will happen: Do specifications lead to securely stored passwords?. *ICSE 2021*. https://arxiv.org/pdf/2102.09790 [Solid source. Preprint, read in full.]
- Hassler, K., Görz, P., Lipp, S., et al. (2025). A comparative study of fuzzers and static analysis tools for finding memory unsafety in C and C++. *arXiv:2505.22052*. https://arxiv.org/abs/2505.22052 [Solid source. Preprint, abstract only.]
- Hovsepyan, A. (2024). Security requirements driven development: the best ROI for your SDLC. *Codific*. https://codific.com/requirements-driven-testing-the-best-roi-security-practice/ [Medium trust. Vendor page, read in large part.]
- Howard, M. (2008). Building security into Windows Vista and the Microsoft culture. *Microsoft TechNet*. https://learn.microsoft.com/en-us/previous-versions//dd365115(v=technet.10) [Weak source. Vendor page, read in full.]
- Huisman, A. (2026). Effective secure software development. *PhD thesis, Leiden University*. https://scholarlypublications.universiteitleiden.nl/handle/1887/5004055 [Medium trust. Abstract only.]
- Keizer, G. (2008). Microsoft: Vista most secure Windows. *Computerworld*. https://www.computerworld.com/article/1582074/microsoft-vista-most-secure-windows.html [Medium trust. News article, read in large part.]
- Kharma, M., Sabbah, A., Jarrar, R., Zain, S., Alkhanafseh, M., & Mohaisen, D. (2026). A quasi-experimental developer study of security training in LLM-assisted web application development. *arXiv:2604.17763*. https://arxiv.org/abs/2604.17763 [Medium trust. Preprint, abstract only.]
- Kudriavtseva, A., & Gadyatskaya, O. (2023). Secure software development methodologies: A multivocal literature review. *arXiv:2211.16987*. https://arxiv.org/abs/2211.16987 [Weak source. Preprint, read in large part. A passage taken from it was not found in it.]
- Lian, X., Wang, S., Zou, H., Liu, F., Wu, J., & Zhang, L. (2025). Incorporating verification standards for security requirements generation from functional specifications. *arXiv*. https://arxiv.org/html/2505.11857v1 [Solid source. Peer-reviewed, read in large part.]
- Lipner, S., & Howard, M. (2023). Inside the Windows security push: A twenty-year retrospective. *IEEE Security and Privacy*. https://www.stevelipner.org/links/resources/Lipner%20Howard%20-%20Windows%20Security%20Push%20Retrospective%20-%20April%202023.pdf [Weak source. Peer-reviewed, read in large part.]
- Naiakshina, A., Danilova, A., Tiefenau, C., Herzog, M., Dechand, S., & Smith, M. (2017). Why do developers get password storage wrong? A qualitative usability study. *ACM CCS 2017*. https://arxiv.org/pdf/1708.08759 [Medium trust. Peer-reviewed, read in full.]
- Naiakshina, A., Danilova, A., Tiefenau, C., & Smith, M. (2018). Deception task design in developer password studies: Exploring a student sample. *USENIX SOUPS 2018*. https://www.usenix.org/conference/soups2018/presentation/naiakshina [Medium trust. Peer-reviewed, read in full.]
- Narasayya, V., Das, S., Syamala, M., Chandramouli, B., & Chaudhuri, S. (2013). SQLVM: Performance isolation in multi-tenant relational database as a service. *6th Biennial Conference on Innovative Data Systems Research*. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/SQLVM-29.pdf [Medium trust. Peer-reviewed, read in large part.]
- Ozment, A., & Schechter, S. E. (2006). Milk or wine: does software security improve with age?. *15th USENIX Security Symposium, pp. 93-104*. https://www.usenix.org/legacy/event/sec06/tech/full_papers/ozment/ozment_html/ [Solid source. Peer-reviewed, read in large part.]
- Paul, R., Turzo, A. K., & Bosu, A. (2021). Why security defects go unnoticed during code reviews? A case-control study of the Chromium OS project. *arXiv:2102.06909*. https://arxiv.org/abs/2102.06909 [Solid source. Peer-reviewed, abstract only.]
- Schloegel, M., Bars, N., Schiller, N., Bernhard, L., Scharnowski, T., Crump, A., et al. (2024). SoK: Prudent evaluation practices for fuzzing. *IEEE Symposium on Security and Privacy*. https://arxiv.org/abs/2405.10220 [Solid source. Peer-reviewed, abstract only.]
- Shirai, T., Nourry, O., Kashiwa, Y., Fujiwara, K., Kamei, Y., & Iida, H. (2025). Large-scale empirical analysis of continuous fuzzing: Insights from 1 million fuzzing sessions. *arXiv*. https://arxiv.org/abs/2510.16433 [Solid source. Preprint, abstract only.]
- Souppaya, M., Scarfone, K., & Dodson, D. (2022). Secure Software Development Framework (SSDF) version 1.1: Recommendations for mitigating the risk of software vulnerabilities (NIST SP 800-218). *National Institute of Standards and Technology*. https://csrc.nist.gov/pubs/sp/800/218/final [Solid source. Government report, read in large part.]
- Wang, P., Bangert, J., & Kern, C. (2021a). If it's not secure, it should not compile: Preventing DOM-based XSS in large-scale web development with API hardening. *ICSE 2021, IEEE*. https://research.google/pubs/if-its-not-secure-it-should-not-compile-preventing-dom-based-xss-in-large-scale-web-development-with-api-hardening/ [Weak source. Peer-reviewed, abstract only.]
- Wee, A., Kudriavtseva, A., & Gadyatskaya, O. (2024). Have heard of it: A study with practitioners on adoption of secure software development frameworks. *IEEE EuroS&PW 2024, 626-633*. https://scholarlypublications.universiteitleiden.nl/access/item:4213014/view [Medium trust. Peer-reviewed, search snippet only.]
- Weinberger, J., Saxena, P., Akhawe, D., Finifter, M., Shin, R., & Song, D. (2011a). A systematic analysis of XSS sanitization in web application frameworks. *ESORICS 2011*. https://www.eecs.berkeley.edu/~prateeks/papers/empirical-webfwks.pdf [Medium trust. Book, read in full.]
- Weir, C., Migues, S., Ware, M., & Williams, L. (2021). Infiltrating security into development: Exploring the world's largest software security study. *ESEC/FSE 2021, ACM, 1326-1336*. https://eprints.lancs.ac.uk/id/eprint/157835 [Weak source. Peer-reviewed, abstract only. A passage taken from it was not found in it.]
- Weir, C., Migues, S., & Williams, L. (2022). Exploring the shift in security responsibility. *IEEE Security and Privacy, 20(6), 8-17*. https://eprints.lancs.ac.uk/id/eprint/165613/ [Medium trust. Peer-reviewed, abstract only.]
- Wickert, A., Baumgärtner, L., Breitfelder, F., & Mezini, M. (2021). Python crypto misuses in the wild. *ESEM 2021*. https://arxiv.org/abs/2109.01109 [Solid source. Peer-reviewed, abstract only.]
- Wickert, A., Baumgärtner, L., Schlichtig, M., Narasimhan, K., & Mezini, M. (2022). To fix or not to fix: A critical study of crypto-misuses in the wild. *IEEE TrustCom 2022*. https://arxiv.org/abs/2209.11103 [Medium trust. Preprint, abstract only.]
- Zahan, N., Rahman, I., & Williams, L. (2025). Assumptions to evidence: evaluating security practices adoption and their impact on outcomes in the npm ecosystem. *arXiv 2504.14026 (preprint)*. https://arxiv.org/abs/2504.14026 [Solid source. Preprint, read in full.]
- Zahan, N., Shohan, S., Harris, D., & Williams, L. (2023). Do software security practices yield fewer vulnerabilities?. *arXiv:2210.14884*. https://arxiv.org/abs/2210.14884 [Solid source. Preprint, abstract only.]
- Amazon Web Services (n.d.h). SEC 2: How are you ensuring that tenant resources are protected from cross-tenant access?. *AWS Well-Architected SaaS Lens*. https://wa.aws.amazon.com/saas.question.SEC_2.en.html [Medium trust. Documentation, read in large part.]
- Black Duck Software (2026). BSIMM16 report. *Black Duck*. https://www.blackduck.com/resources/analyst-reports/bsimm.html [Weak source. Vendor page, read in large part.]
- Cloudflare (2026c). Spending limits. *Cloudflare Workers docs*. https://developers.cloudflare.com/workers/platform/spend-management/ [Solid source. Documentation, read in large part.]
- European Union (2016b). General Data Protection Regulation, Article 32: Security of processing. *Regulation (EU) 2016/679*. https://gdpr-info.eu/art-32-gdpr/ [Medium trust. Read in large part.]
- Google Cloud (2026e). Manage spend cap budgets. *Google Cloud Documentation*. https://docs.cloud.google.com/billing/docs/how-to/budgets-spend-caps [Solid source. Documentation, read in large part.]
- Joint Task Force (2020). Security and privacy controls for information systems and organizations (NIST SP 800-53 revision 5). *National Institute of Standards and Technology*. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-53r5.pdf [Solid source. Government report, read in large part.]
- Microsoft Azure (2026). Post incident review (PIR): Azure OpenAI Service, latency and intermittent failures in multiple regions. *Azure status history*. https://azure.status.microsoft/en-us/status/history/?trackingId=LYXT-C1Z [Solid source. Vendor page, read in large part.]
- Microsoft (2025b). Microsoft Security Development Lifecycle (SDL). *Microsoft Learn*. https://learn.microsoft.com/en-us/compliance/assurance/assurance-microsoft-security-development-lifecycle [Weak source. Documentation, read in large part.]
- Microsoft (2010). The Microsoft Security Development Lifecycle (SDL). *Building Global Trust Online: Policy Perspectives on Privacy, Security, and Safety*. https://news.microsoft.com/download/archived/presskits/security/docs/policy_maker_guide.pdf [Weak source. Vendor page, read in large part.]
- OpenAI (2023b). March 20 ChatGPT outage: Here's what happened. *OpenAI*. https://openai.com/index/march-20-chatgpt-outage/ [Medium trust. Vendor page, read in large part.]
- OWASP API Security Project team (2023a). API4:2023 Unrestricted resource consumption. *OWASP API Security Top 10*. https://api-security.owasp.org/editions/2023/en/0xa4-unrestricted-resource-consumption/ [Medium trust. Documentation, read in large part.]
- OWASP Cheat Sheet Series (n.d.b). Logging cheat sheet. *OWASP*. https://cheatsheetseries.owasp.org/cheatsheets/Logging_Cheat_Sheet.html [Medium trust. Documentation, read in large part.]
- OWASP (2025). OWASP Application Security Verification Standard (ASVS). *OWASP*. https://github.com/OWASP/ASVS [Solid source. Documentation, read in large part.]
- Veracode (n.d.). Quantifying the probability of flaws in open source. *Veracode blog*. https://www.veracode.com/blog/quantifying-probability-flaws-open-source/ [Medium trust. Vendor page, read in full.]
- vLLM (n.d.). Automatic prefix caching. *vLLM Documentation*. https://docs.vllm.ai/en/stable/design/prefix_caching/ [Solid source. Documentation, read in large part.]
