Skip to content

Application Security Statistics 2026

Suphi Cankurt

Written by Suphi Cankurt

Key Takeaways
  • 25.7% of AI-generated code samples contained at least one confirmed vulnerability across 522 samples from 6 LLMs tested with 87 prompts each in a February 2026 study.
  • Only 27.3% of the top 7,510 websites deploy Content-Security-Policy headers, and 48.8% of those that do use unsafe-inline, undermining XSS protection.
  • 64 open-source AppSec tools collectively have 608,000+ GitHub stars, with Ghidra (64,368), Jadx (47,291), and mitmproxy (42,289) as the most popular.
  • HSTS is the most adopted security header at 51.7%, while COEP is the least adopted at 7.4% among the top 7,510 websites scanned.
  • 52% of open-source AppSec tools are written in Go or Python, and 43% use the Apache-2.0 license.

Application security statistics measure the state of software security across tools, practices, and vulnerabilities. This page presents 50+ original data points from three studies AppSec Santa conducted in February 2026.

Every statistic on this page comes from original research I conducted in February 2026. I tested 6 LLMs for code security, scanned 7,510 websites for security headers, and analyzed GitHub data for 64 open-source AppSec tools.

Chart from Sonatype State of the Software Supply Chain 2024 showing 13 percent of Log4J downloads still targeting vulnerable versions between January 2022 and July 2024, illustrating how long supply chain vulnerabilities persist in active application security use
3 original studies covering 3 dimensions of application security: AI Code Security with 522 samples from 6 LLMs showing 25.7% vulnerability rate, Security Headers scanning 7,510 websites with only 27.3% CSP adoption, and Open Source Tools analyzing 64 projects with 608K+ GitHub stars

Key statistics at a glance#

25.7%
AI-Generated Code Vulnerability Rate
7,510
Websites Scanned for Security Headers
64
Open-Source AppSec Tools Analyzed
608K+
Combined GitHub Stars
247+
Security Tools Compared
27.3%
CSP Adoption Rate

AI-generated code security#

I gave 6 large language models 87 identical coding prompts β€” building login forms, handling file uploads, querying databases β€” without mentioning security. Then I scanned all 522 code samples with 5 SAST tools (four open-source plus CodeQL) and validated every finding. Source: AI-Generated Code Security Study 2026 .

Vulnerability rates#

  • 25.7% of AI-generated code samples contained at least one confirmed vulnerability
  • 522 total code samples tested across 6 LLMs (87 prompts per model)
  • 154 confirmed vulnerabilities found after validation of 926 deduplicated SAST findings
  • GPT-5.2 had the lowest vulnerability rate at 19.5% (17 out of 87 samples)
  • Claude Opus 4.6, DeepSeek V3, and Llama 4 Maverick tied for the highest rate at 29.9%
  • Gemini 2.5 Pro came in at 23.0%, Grok 4 at 21.8%
  • The gap between the safest and least safe model was roughly 10 percentage points

Most common weaknesses#

  • SSRF (CWE-918) was the single most common vulnerability with 32 confirmed instances
  • Path traversal (CWE-22/23) was second with 30 confirmed findings
  • Injection-pattern weaknesses (SSRF, command injection, NoSQL injection, path traversal) accounted for roughly half of all findings
  • Under OWASP Top 10:2025, A01 Broken Access Control led with 65 findings (path traversal + SSRF rolled in), followed by A05 Injection and A10 Mishandling of Exceptional Conditions tied at 22
  • Flask debug-on (CWE-215/489) was the second most common pattern after path traversal at 18 findings
  • Deserialization of untrusted data (CWE-502) contributed 14 findings

Language comparison#

  • GPT-5.2 showed the widest language gap: 11.6% vulnerability rate in Python vs 27.3% in JavaScript
  • Claude Opus 4.6 was the only model where Python performed worse (32.6%) than JavaScript (27.3%)
  • Grok 4 had the tightest cross-language gap at 1.7 percentage points
The full AI-Generated Code Security Study 2026 includes OWASP category heatmaps, per-model deep dives, and all 87 prompt examples.

Security headers adoption#

I scanned the Tranco Top 10,000 websites in February 2026 and recorded every security header in their HTTP responses. 7,510 sites returned valid responses. Source: Security Headers Adoption Study 2026 .

Adoption rates#

  • 51.7% of top websites have HSTS (Strict-Transport-Security) enabled β€” the most adopted security header
  • 49.5% deploy X-Frame-Options
  • 44.4% set X-Content-Type-Options
  • 28.4% have a Referrer-Policy
  • 27.3% deploy Content-Security-Policy (CSP)
  • 14.0% use Permissions-Policy
  • 10.0% set Cross-Origin-Opener-Policy (COOP)
  • 7.4% deploy Cross-Origin-Embedder-Policy (COEP) β€” the least adopted header

CSP configuration quality#

  • 48.8% of sites with CSP use unsafe-inline, undermining XSS protection
  • 42.5% of sites with CSP use unsafe-eval
  • Only 16.7% of CSP-adopting sites use nonce-based policies
  • Only 12.8% use strict-dynamic β€” the modern best practice
  • 2,049 sites enforce CSP, while 296 use report-only mode

HSTS configuration#

  • 71.8% of HSTS sites set a max-age of at least 1 year
  • 54.7% include the includeSubDomains directive
  • 35.7% include the preload directive
  • 238 sites set a max-age of less than 1 day β€” too short for meaningful protection

Grade distribution#

  • Average Observatory-compatible score: 58 out of 100
  • 726 sites earned an A+ grade (9.7%)
  • 0.3% received an F grade β€” down from 55.6% in a 2023 academic study (Kishnani & Das, 3,195 sites)
  • The most common grade was D (2,085 sites, 27.8%)

Adoption by site rank#

  • Top 100 sites: 41.7% CSP adoption, 68.1% HSTS adoption
  • Sites ranked 5,001-10,000: 23.9% CSP adoption, 47.7% HSTS adoption
  • CSP adoption drops by nearly half between the top 100 and sites ranked 5,001-10,000

Information leakage#

  • 27.1% of sites still send the deprecated X-XSS-Protection header
  • 8.6% set Cross-Origin-Resource-Policy (CORP)
See the full Security Headers Adoption Study 2026 for interactive charts, rank-tier breakdowns, and the 2023 vs 2026 comparison.

Open-source AppSec ecosystem stats#

I pulled GitHub data for 64 open-source application security tools across 8 categories and analyzed stars, forks, contributors, release cadence, issue resolution times, and package downloads. Source: State of Open Source AppSec Tools 2026 .

Community traction#

  • 608,000+ combined GitHub stars across all 64 tools
  • Ghidra is the most-starred open-source AppSec tool with 64,368 stars
  • Jadx (47,291), mitmproxy (42,289), and Trivy (31,910) round out the top four
  • Secrets detection tools punch above their weight: Gitleaks (24,912) and TruffleHog (24,563) both rank in the top 10
  • Promptfoo (10,463 stars) is the only AI security tool in the top 20

Maintenance health#

  • Median health score across all tools: 58 out of 100 (fair)
  • 7 tools score above 70 (good): Renovate, Trivy, Nuclei, TruffleHog, Promptfoo, ZAP, and Grype
  • 4 tools are flagged as at-risk (health score below 20): Dastardly, w3af, Rebuff, and detect-secrets
  • No tool scored above 90
  • SCA tools have the highest average category health score at 61.6

Contributors and releases#

  • Trivy leads in contributor count with 444 contributors
  • Renovate (432) and Kyverno (415) also have 400+ contributors
  • Nikto has the fastest median issue resolution at 0.7 days
  • Renovate resolves issues in a median of 0.9 days
  • 52% of open-source AppSec tools are written in Go or Python
  • Go leads with 30.8% (20 tools), followed by Python at 21.5% (14 tools)
  • 43% of tools use the Apache-2.0 license
  • TypeScript now powers two top-20 tools (Promptfoo and Renovate)

Category breakdown#

  • Mobile security tools lead in raw star count (203,997) due to Ghidra, Jadx, mitmproxy, and Frida
  • IaC Security has 13 tools with 100,000 combined stars
  • SAST has the most tools (16) with 119,881 combined stars
  • DAST has the lowest average health score at 40.7
The full State of Open Source AppSec Tools 2026 covers download numbers, Docker Hub pulls, at-risk project details, and health score methodology.

AppSec Santa editorial coverage#

This section is a self-disclosure, not industry data. It records the editorial scope of AppSec Santa research, including both open-source and commercial tools, so readers can see which categories are in the dataset.

247+ application security tools compared across 12 categories on AppSec Santa, with 98 comparison and alternatives guides and 3 original research studies

For deeper dives into specific topics with industry-wide data, see my statistics compilation pages: Software Vulnerability Statistics (60+ stats on CVE trends, exploitation, and remediation), Supply Chain Attack Statistics (65+ stats on malicious packages and open source risk), API Security Statistics (55+ stats on API attacks and breaches), and AI Security Statistics (70+ stats on LLM vulnerabilities and AI threats).

Sources & methodology#

Three studies, all conducted in February 2026. No third-party data is used without attribution.

Prior academic work supports why this data matters. Pearce et al. (2021) found that roughly 40% of GitHub Copilot’s output contained security vulnerabilities in their NYU study “Asleep at the Keyboard?” β€” my 2026 results show the rate has dropped to 25.7% across newer models, but the problem is far from solved.

AI-Generated Code Security Study 2026 522 code samples from 6 LLMs (GPT-5.2, Claude Opus 4.6, Gemini 2.5 Pro, DeepSeek V3, Llama 4 Maverick, Grok 4), tested via OpenRouter API with 87 prompts covering OWASP Top 10 vulnerability classes. Scanned with 5 SAST tools (four open-source plus CodeQL). Every finding validated; final mapping uses OWASP Top 10:2025.

Security Headers Adoption Study 2026 Top 10,000 websites from the Tranco Top Sites list scanned for 10 security headers. 7,510 returned valid HTTP responses (75.1% success rate). Scoring follows the Mozilla HTTP Observatory methodology.

State of Open Source AppSec Tools 2026 GitHub API data for 64 open-source AppSec tools across 8 categories. Metrics include stars, forks, contributors, commit activity, release cadence, issue resolution times, and package downloads from PyPI, npm, and Docker Hub. All data collected February 2026.

Frequently Asked Questions

How often is this data updated?
I update this page quarterly as new data becomes available from my ongoing research.
Can I cite these statistics?
Yes. Please cite as: ‘Application Security Statistics 2026, AppSec Santa (appsecsanta.com).’ Each statistic links to its source study with full methodology.
Where does this data come from?
All statistics come from original research conducted by AppSec Santa β€” including my AI Code Security Study (522 code samples, 6 LLMs), Security Headers Study (7,510 websites scanned), and State of Open Source AppSec Tools report (64 projects analyzed).
Suphi Cankurt

Written & maintained by

Suphi Cankurt

Eight years on the vendor side of application-security sales β€” thousands of evaluations and demos. I started AppSec Santa in 2022 to put that insider view to work for buyers. Independent of any vendor, paid by none, and honest about what fits whom.