---
url: "https://almanac.httparchive.org/en/2025/security"
titulek: "Security | 2025 | The Web Almanac by HTTP Archive"
h1: "Security"
popis: "Security chapter of the 2025 Web Almanac covering Transport Layer Security, content inclusion (CSP, SRI, Permissions Policy), web defense mechanisms (tackling XSS, XS-Leaks), drivers of security mechanism adoptions and security misconfigurations."
jazyk: "en"
kanonicka: "https://almanac.httparchive.org/en/2025/security"
drobecky: ["en", "2025"]
zdroj: "live"
wayback_snapshot: ""
stazeno: "2026-09-13 20:14:28"
znaku: 92319
slov: 13859
kodovani: "utf-8"
sha256: "340790173022a06625c2143461f1e5da1090896e758a644e9f90461c5c1ce923"
---
Part II Chapter 9
# Security
Date published: 2026/01/15
Last updated: 2026/01/16
Written by
[Vik Vanderlinden](/en/2025/contributors#vikvanderlinden)
and
[Gertjan Franken](/en/2025/contributors#GJFR)
Reviewed by
[Anirudh Duggal](/en/2025/contributors#anirudhduggal) ,
[Martina Kraus](/en/2025/contributors#martinakraus) ,
[Gertjan Franken](/en/2025/contributors#GJFR) ,
[Brian Clark](/en/2025/contributors#clarkio) ,
[Jannis Rautenstrauch](/en/2025/contributors#JannisBush) ,
and
[Vinod Tiwari](/en/2025/contributors#securient)
Analyzed by
[Daan Vansteenhuyse](/en/2025/contributors#vsdaan)
Edited by
[Barry Pollard](/en/2025/contributors#tunetheweb)
## Introduction
While more and more parts of many people’s lives have moved online, so does their private data, which makes web security ever more important. Many systems we use on a daily basis remain appealing to attackers trying to steal data or cause disruptions. This year has once more demonstrated the scale and complexity of modern threats. The number of DDoS attacks have continued to increase in size and frequency, with the largest attack recorded [reaching 31.4 Tbps in November](https://blog.cloudflare.com/radar-2025-year-in-review/#hyper-volumetric-ddos-attack-sizes-grew-significantly-throughout-the-year). Supply chain vulnerability grew to unprecedented sizes, with the [Shai-Hulud 2.0 attack](https://www.hackerone.com/blog/shai-hulud-2-npm-worm-supply-chain-attack) reportedly compromising over 1,000 npm packages and infecting over 27,000 GitHub repositories. And a critical vulnerability in React known as [React2Shell](https://www.microsoft.com/en-us/security/blog/2025/12/15/defending-against-the-cve-2025-55182-react2shell-vulnerability-in-react-server-components/) had developers working hard to quickly update their applications.
In this chapter, we analyze the mechanisms that aim to protect the web, and how in some cases they fail to protect the web due to a variety of reasons. We explore core elements of web security such as Transport Layer Security (TLS) and protections against third-party content inclusions. We discuss how the adoption of these security measures evolves, how they help prevent attacks and how misconfigurations can prevent their proper functioning. We further analyze some well-known URIs relating to security.
Beyond measuring adoption, we also explore the drivers behind the adoption of security mechanisms, such as location, technology stack and website industry. By comparing the results to data from previous editions of the Web Almanac, we can notice long-term trends and changes in the state of web security.
## Transport security
[HTTPS](https://developer.mozilla.org/docs/Glossary/https) uses [Transport Layer Security (TLS)](https://www.cloudflare.com/en-gb/learning/ssl/transport-layer-security-tls/) to secure the connection between client and server. Over the years, more and more websites started using HTTPS, thereby better securing their users. This year, the share of all requests sent over HTTPS rose again compared to last year, reaching over 98.8% for mobile connections.
98.8%
Figure 9.1. The percentage of requests that use HTTPS (mobile).
The share of requests that are being sent using HTTPS rather than using plain HTTP creeps ever closer to 100%, rising by another 0.74% on mobile compared to [the 2024 edition of Web Almanac](../2024/security#fig-1).
Bar chart displaying the adoption rate of secure connections across desktop and mobile devices. Security is near-universal, with 97.5% of desktop sites and 97.3% of mobile sites utilizing HTTPS to protect user data. This indicates a highly secure web landscape where non-encrypted HTTP connections have been relegated to a tiny fraction (less than 3%) of total traffic.
Figure 9.2. The percentage of homepages using HTTPS.
Another positive evolution is visible in the number of homepages served over HTTPS. This number rises from 95.6% to 97.3% on mobile. Because many websites send a number of third-party requests to many (often secure) sites, this number tends to be lower than the share of requests sent over HTTPS, but luckily also keeps rising year after year.
It is good to see that the positive trends in these metrics continues and that the share of sites using HTTPS keeps closing in to 100%. Part of these high numbers can be explained by the decision of browser vendors ([Chrome](https://blog.chromium.org/2021/07/increasing-https-adoption.html#:~:text=Beginning%20in%20M94%2C%20Chrome%20will%20offer%20HTTPS%2DFirst%20Mode), [Firefox](https://support.mozilla.org/en-US/kb/https-first) and [Safari](https://webkit.org/blog/16301/webkit-features-in-safari-18-2/#security-and-privacy)) to try to communicate over HTTPS first before falling back to plain HTTP and often showing a security warning to users, thereby encouraging site owners to adopt TLS.
### Protocol versions
For a few years now, [TLS1.3](https://www.rfc-editor.org/rfc/rfc8446) has been the recommended protocol version to have the highest security. The latest version has deprecated some [algorithms that were found to contain flaws](https://www.cloudflare.com/en-in/learning/ssl/why-use-tls-1.3/#:~:text=A%20number%20of%20outdated%20cryptography%20features%20resulted%20in%20vulnerabilities%20or%20enabled%20specific%20kinds%20of%20cyber%20attacks) in TLS1.2 and provides some stronger security guarantees like forward secrecy. QUIC uses TLS internally as well, thereby providing [similar security guarantees as TLS1.3 does](https://community.cloudflare.com/t/how-is-quic-a-direct-comparison-to-tls-1-3-and-tls-1-2/543349/6#:~:text=TLS%201.2%2C%20TLS%201.3%2C%20and%20QUIC%20share%20similar%20security%20characteristics%20but%20they%20are%20different).
Bar chart showing the market share of different encryption protocols used to secure web traffic on desktop and mobile devices. TLS 1.3 is the clear standard, powering roughly 76% of all web pages, followed by TLS 1.2, which accounts for approximately 13-15% of the share. Notably, the modern QUIC protocol (often associated with HTTP/3) represents a growing segment of secure traffic, maintaining a slightly higher presence on mobile (10.8%) compared to desktop (9.5%).
Figure 9.3. The distribution of TLS versions in use.
Like in the [2024 edition of the Web Almanac](../2024/security#protocol-versions), we find that both QUIC and TLS1.3 see an increase in use. Again we can assume that some sites using TLS1.2 have moved to TLS1.3 and some sites that were using TLS1.2 or TLS1.3 have moved to QUIC. TLS1.2 decreased by another 4.5% this year. We can see that the adoption of QUIC has slowed down a bit this year, with the share of sites using QUIC only rising by 0.8%. In the future, it can be expected that TLS1.2 will slowly phase out over (a long) time and QUIC will continue rising.
### Cipher suites
To start communicating over an encrypted channel, both parties need to use the same cryptographic algorithm (or [cipher suite](https://learn.microsoft.com/en-au/windows/win32/secauthn/cipher-suites-in-schannel)) to understand each other. In order to do so, they agree upon a cipher suite to use before communication. We can see that most requests happen over a connection using a [Galois Counter Mode (GCM)](https://www.wikipedia.org/wiki/Galois/Counter_Mode) cipher, which is often preferred because of its resilience against [padding attacks](https://blog.qualys.com/product-tech/2019/04/22/zombie-poodle-and-goldendoodle-vulnerabilities) and because it provides [Authenticated Encryption with Associated Data (AEAD)](https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=2628d946bda9f3d3b087e5c4846e76ae0fb07b6b), which is [required in TLS1.3](https://www.rfc-editor.org/rfc/rfc8446#:~:text=Those%20that%0A%20%20%20%20%20%20remain%20are%20all%20Authenticated%20Encryption%20with%20Associated%20Data%0A%20%20%20%20%20%20(AEAD)%20algorithms). In addition, we see that the use of 128-bit keys has grown by 4% since last year, instead of the more secure 256-variant. Although the [128-bit cipher suites are considered secure by NIST](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar3.ipd.pdf), 256-bit variants provide even more security guarantees. The dataset of this year’s Almanac includes more requests than last year’s, so it is possible that this change can be attributed to the growing dataset. The cipher suites in use are not very diverse, in fact there are only five cipher suites that were found to be used in the dataset. This can be the case because TLS1.3 [only allows GCM or modern block ciphers](https://datatracker.ietf.org/doc/html/rfc8446#page-133) to be used.
Bar chart, showing the overwhelming dominance of the AES_128_GCM encryption standard, which secures 82.8% of all HTTPS requests on both desktop and mobile platforms. `AES_256_GCM` serves as the second most common suite, accounting for approximately 16.1% of traffic, while modern alternatives like `CHACHA20_POLY1305` and legacy modes like `AES_256_CBC` represent only a tiny fraction (less than 1%) of web connections.
Figure 9.4. The distribution of cipher suites in use.
TLS1.3 only allows the use of algorithms that support [forward secrecy](https://www.wikipedia.org/wiki/Forward_secrecy). Because of the high adoption of TLS1.3, we expect a large share of requests to fulfill the forward secrecy requirement.
Bar chart, showing that approximately 75.8% of desktop and 75.1% of mobile HTTPS requests utilize forward secrecy.
Figure 9.5. The percentage of requests supporting forward secrecy.
Contrary to our expectations, we see a relatively low number of requests that are sent over connections that are forward secret. There is a 20% decrease in forward secret requests [since the 2024 Web Almanac](../2024/security#fig-5). Currently, it seems our metric only includes the forward secret ciphers in TLS1.2 and TLS1.3, but does not include TLS in QUIC which can explain the decline we observer.
### Certificate Authorities
In order to use TLS, sites must request a certificate from a [Certificate Authority (CA)](https://www.ssl.com/faqs/what-is-a-certificate-authority/). Because the browser trusts a number of CAs, a site’s certificate can be identified by the browser as a valid certificate. The certificate can then be used for secure communication between the browser and the site’s server going forward.
| Issuer | Desktop | Mobile |
| --- | --- | --- |
| R11 | 20.80% | 21.86% |
| R10 | 20.75% | 21.73% |
| WE1 | 16.35% | 17.24% |
| E6 | 4.50% | 4.65% |
| E5 | 4.31% | 4.42% |
| Sectigo RSA Domain Validation Secure Server CA | 3.60% | 3.52% |
| Go Daddy Secure Certificate Authority - G2 | 1.77% | 1.60% |
| WR1 | 1.16% | 1.40% |
| Amazon RSA 2048 M02 | 1.37% | 1.33% |
| Amazon RSA 2048 M03 | 1.30% | 1.25% |
Figure 9.6. The percentage of certificates issued per issuer (top 10)
Compared to last year, we can see that the then popular R3 intermediate certificate from [Let’s Encrypt](https://letsencrypt.org/) has disappeared as an issuer. This was expected because it has since [expired (in September 2025)](https://crt.sh/?id=3334561879) so even last year the replacement with other intermediates had already started. The [R10 and R11 intermediate certificates](https://letsencrypt.org/2024/03/19/new-intermediate-certificates.html) are the new certificates that are taking over from R3. There are now two intermediate RSA certificates (R10 and R11) and two intermediate ECDSA certificates (E5 and E6) with the [explicit goal of trying to prevent intermediate key pinning](https://letsencrypt.org/2024/03/19/new-intermediate-certificates.html#rotating-issuance). The only certificate in the top 5 issuers that is not from Let’s Encrypt is WE1, which is part of [Google Trust Services (GTS)](https://pki.goog/). Also from GTS in the list is WR1. These certificates seem part of the new generation of intermediate certificates from GTS, expiring among others the GTS CA 1P5 issuer seen last year.
52.6%
Figure 9.7. Percentage of mobile pages that are issued by Let’s Encrypt.
The total share of sites using a certificate from Let’s Encrypt has gone down slightly to 52.6% from 56% in the last edition. One of the contributing factors, as can be seen in the data, is the larger share of certificates issued by the WE1 certificate from GTS. However, the total share by GTS-issued certificates (WE1 and others) has not been calculated.
### HTTP Strict Transport Security
[HTTP Strict Transport Security](https://developer.mozilla.org/docs/Web/HTTP/Headers/Strict-Transport-Security) is a response header through which servers can instruct browsers to only visit pages on this domain over HTTPS, instead of trying HTTP first and following the redirect to HTTPS.
36%
Figure 9.8. The percentage of pages using the HSTS header on mobile.
We see a continuing increase in the number of pages using an HSTS header, with a rise of 6 percentage points [compared to last edition](../2024/security#fig-8), up to 36% of all pages visited on mobile.
Servers can include a number of directives in the header to communicate additional preferences to the browser. For example, the `max-age` directive tells the browser how long it is required to continue using only HTTPS. The other directives, `includeSubDomains` and `preload`, are optional.
Bar chart, showing the configuration of security headers across desktop and mobile platforms. A near-universal 96% of these websites utilize a valid `max-age` directive to specify how long the browser should enforce secure connections, while only 4% use a zero max-age to disable the policy. Adoption remains significantly lower for advanced security features, with roughly 40% of sites protecting their subdomains and only about 22% utilizing the preload directive to ensure a secure connection from the very first visit.
Figure 9.9. The usage of specified HSTS directives.
The share of responses with a valid `max-age` has increased slightly to 96%. The `includeSubdomains` and `preload` directives saw an increase of about 4% each, possibly indicating that certain sites started setting both directives together. The [unofficial](https://developer.mozilla.org/docs/Web/HTTP/Headers/Strict-Transport-Security#preloading_strict_transport_security) `preload` directive requires the `includeSubdirectories` to be set and the `max-age` to have a value of at least 1 year. When using the `preload` directive, a site can make sure that a browser will always visit the domain and its subdomains over HTTPS, even when connecting for the first time (which is not necessarily the case when using HSTS without preload).
Bar chart showing the distribution of duration settings for HTTP Strict Transport Security (HSTS) across desktop and mobile platforms. The median (50th percentile) value is 365 days for both device types, indicating that most administrators enforce secure connections for exactly one year. At the 90th percentile, this value doubles to 730 days, while the lower end of the spectrum shows a minimum standard of 91 days at the 10th percentile.
Figure 9.10. The distribution of HSTS `max-age` values by percentile.
The distribution of valid `max-age` values remains largely the same with the exception of the lower percentiles. At the 10th percentile, we see a large increase from 30 days to 91 days, indicating that less sites are setting very low `max-age` values. The median remains at one year or 365 days.
## Cookies
Cookies are a vital part of the web. They allow websites to save information for use over multiple stateless requests. In order to secure sites’ cookies, there are many features built into browsers that are further reported on in the [Cookies](./cookies) chapter. We specifically refer to the [Cookie attributes](./cookies#cookie-attributes), [Cookie prefixes](./cookies#cookie-prefixes) and [Persistence (expiration)](./cookies#persistence-expiration) sections in this chapter.
## Content inclusion
Content inclusion is a core component of the web. Being able to include other pages, CSS or JavaScript from a [Content Distribution Network (CDN)](./cdn) or images from shared sources is one of the building blocks on which the web was built. It does however introduce certain risks such as sites including content from third parties which places significant trust in those third-party resources. Of course, there is no guarantee that said resource is not malicious or compromised by a malicious actor which can lead to a number of serious attacks such as supply chain attacks. To reduce this risk, it is important to use security policies to control content inclusion.
### Content Security Policy
The [Content Security Policy (CSP)](https://developer.mozilla.org/docs/Web/HTTP/CSP) allows websites to have fine-grained control over the content that will be loaded on its page. By setting the `Content-Security-Policy` response header or defining it in a `` html tag, websites can communicate the policy in use to the browser, which will enforce it. The policy has many available directives that allow a website to define from which sources content can be loaded or not.
CSP can be used to block specific resources from being loaded, which can help reduce the impact of potential cross-site scripting (XSS) attacks. In addition CSP can also serve other purposes, such as enforcing the use of encrypted communication channels by means of the `update-insecure-requests` directive or controlling on which pages the current page can load as a subresource using the `frame-ancestors` directive. This allows websites to defend against clickjacking attacks.
+18%
Figure 9.11. Relative increase in adoption of the `Content-Security-Policy` header from 2024.
The adoption of CSP continued increasing [from 18.5% last year](../2024/security#content-security-policy) to 21.9% this year, an increase of close to 20%. As predicted in the last edition of the Web Almanac, the adoption has now risen above 20%, indicating the adoption is still steadily rising.
#### Directives
Bar chart showing the adoption frequency of various Content Security Policy (CSP) directives on desktop and mobile web pages. The most prevalent directives are `upgrade-insecure-requests` and `frame-ancestors` , both appearing in approximately 50-55% of CSP headers to manage secure connections and prevent clickjacking. While desktop sites generally lead in traditional directive usage, mobile sites show significantly higher adoption for modern security features like `trusted-types` and `report-uri` .
Figure 9.12. Most common directives used in CSP.
Once again, most websites use CSP for the `upgrade-insecure-requests` and `frame-ancestors` directives. The relative share of mobile sites using these directives has decreased slightly, which can be attributed to the higher number of CSP headers scanned. The absolute number has risen by 400,000 and 800,000 CSP headers on desktop and mobile respectively.
The `block-all-mixed-content` directive which has been replaced by `upgrade-insecure-requests` has continued to slightly decrease like it has been over the last few years. This is good news because the directive is [deprecated](https://developer.mozilla.org/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/block-all-mixed-content).
| Policy | Desktop | Mobile |
| --- | --- | --- |
| `upgrade-insecure-requests` | 21.45% | 22.79% |
| `block-all-mixed-content; frame-ancestors 'none'; upgrade-insecure-requests;` | 19.92% | 18.06% |
| `require-trusted-types-for 'script';report-uri /checkin/_/AndroidCheckinHttp/cspreport` | 2.67% | 12.10% |
| `frame-ancestors 'self'` | 7.55% | 6.38% |
| `upgrade-insecure-requests;` | 4.92% | 4.30% |
| `frame-ancestors 'self';` | 2.53% | 2.29% |
Figure 9.13. Most prevalent CSP headers
The same header values we saw last year in the top three appear in this year’s top four again. The third most common CSP header this year is a new one, however. This change occurs because this year, we sorted the most common headers by mobile usage instead of by desktop usage like last year. We can see a trusted types policy with a specific `report-uri` endpoint relating to Android appear at the third place.
[Trusted types](https://w3c.github.io/trusted-types/dist/spec/) can be used to restrict the parameters passed into injection sinks (like `element.innerHTML`) such that they only allow properly typed values to be passed instead of plain strings. By restricting the values passed to injection sinks, many possible DOM XSS vulnerabilities can be prevented. The trusted types header we observe appears on more than 12% of the mobile pages. We don’t have a direct explanation for the high usage of this specific CSP policy value.
In fifth and sixth place we once again see the `upgrade-insecure-requests` and `frame-ancestors 'self'` directives, but this time with a trailing semicolon. A semicolon is used to separate directives but if there is only one directive defined [it can be discarded](https://w3c.github.io/webappsec-csp/#grammardef-serialized-policy), both header values are therefore valid CSP policies with the same effect.
#### Keywords for `script-src`
One of the most important directives included in the CSP is `script-src`. Through the use of this directive, websites can control which scripts can run on their pages. This can hinder attackers because it can disallow them from running arbitrary scripts. `script-src` has multiple potential keywords.
Bar chart showing the usage of `script-src` attributes. An overwhelming 92% of websites use the `unsafe-inline` attribute on both desktop and mobile, `unsafe-eval` is present in 77% of policies, with nonces used on approximately 20% of sites and `strict-dynamic` only on approximately 10%.
Figure 9.14. Prevalence of CSP `script-src` keywords per request.
We find that the `unsafe-inline` and `unsafe-eval` keywords are used very often. These keywords significantly reduce the security impact of CSP’s `script-src` as they allow any inline script to be executed or allow the use of the `eval`-function in JavaScript respectively.
Compared to [last year](../2024/security#keywords-for-script-src) we barely see any changes to the usage of `script-src` keywords. An important note to make is that the presence of `unsafe-inline` does not necessarily mean that inline scripts can be executed. In some cases and following the [CSP specification](https://w3c.github.io/webappsec-csp/) `unsafe-inline` will be ignored. This is for instance the case when a nonce and `strict-dynamic` keywords are added to the CSP policy.
Bar chart showing the usage of `script-src` attributes per header. An overwhelming 92% of headers use the `unsafe-inline` attribute on both desktop and mobile, `unsafe-eval` is present in 77% of policies, with nonces used on approximately 20% of sites and `strict-dynamic` only on approximately 10%
Figure 9.15. Prevalence of CSP `script-src` keywords per header.
We also check the use of keywords per header instead of per page. In CSP, multiple CSP headers can be present in one response and may define different directives. If a directive is defined multiple times, [the policies will be combined to create the the most restrictive policy to be used by the browser](https://content-security-policy.com/examples/multiple-csp-headers/).
We see a very similar distribution compared to the values per request, indicating that either most pages only use one CSP header or only use `script-src` in one of the CSP headers that they set, meaning there are no conflicting `script-src` directives on most pages.
#### Allowed hosts
CSP is a complex security policy to thoroughly understand and correctly use. When looking at the length of the CSP headers in use, we can see a wide variety in policy sizes.
Bar char showing the distribution of Content Security Policy header sizes in bytes across various percentiles for both desktop and mobile platforms. The data shows that header lengths remain relatively consistent and small between the 10th and 75th percentiles, ranging from 23 to 86 bytes, with desktop and mobile values being nearly identical. A significant spike occurs at the 90th percentile, where the desktop header length jumps to 583 bytes while the mobile length reaches 354 bytes.
Figure 9.16. CSP header length.
Out of all observed headers, 75% are 86 bytes or less in length. This is slightly more than last year where this was 75 bytes or less. We can see that there are more longer policies in use and in the 90th percentile. The desktop policies have gotten longer while the mobile policies have gotten slightly shorter, increasing the difference between the policy lengths.
| Host | Desktop | Mobile |
| --- | --- | --- |
| `https://www.googletagmanager.com` | 0.74% | 0.62% |
| `https://fonts.gstatic.com` | 0.61% | 0.49% |
| `https://fonts.googleapis.com` | 0.60% | 0.48% |
| `https://www.google.com` | 0.54% | 0.46% |
| `https://www.google-analytics.com` | 0.47% | 0.38% |
| `https://www.youtube.com` | 0.41% | 0.34% |
| `https://*.google-analytics.com` | 0.35% | 0.31% |
| `https://*.google.com` | 0.31% | 0.30% |
| `https://connect.facebook.net` | 0.33% | 0.29% |
| `https://www.gstatic.com` | 0.35% | 0.27% |
Figure 9.17. Most frequently allowed HTTP(S) hosts in CSP policies
The most commonly loaded HTTPS origins included in CSP headers are those used for ads, fonts and other CDN resources.
| Host | Desktop | Mobile |
| --- | --- | --- |
| `wss://*.hotjar.com` | 0.18% | 0.15% |
| `wss://*.intercom.io` | 0.07% | 0.07% |
| `wss://booth.karakuri.ai` | 0.08% | 0.06% |
| `wss://www.livejournal.com` | 0.04% | 0.05% |
| `wss://*.quora.com` | 0.03% | 0.05% |
| `wss://tsock.us1.twilio.com/v3/wsconnect` | 0.02% | 0.04% |
| `wss://api.smooch.io` | 0.05% | 0.03% |
| `wss://*.zopim.com` | 0.05% | 0.03% |
| `wss://*.pusher.com` | 0.04% | 0.03% |
| `wss://cable.gumroad.com` | 0.04% | 0.03% |
Figure 9.18. Most frequently allowed WSS hosts in CSP policies
For the secure websocket (`wss://`) origins, we see Hotjar take the first position, doubling in occurrences. Other origins remain low in occurrence.
Hotjar is used for website analytics, indicating a continuing interest in analytical information of websites while Intercom is used for customer services. We also see AI-first companies entering these statistics with karakuri, a Japanese AI company that is closing the top three.
### Subresource Integrity
In order to protect themselves from loading tampered resources, developers can make use of [Subresource Integrity (SRI)](https://developer.mozilla.org/docs/Web/Security/Subresource_Integrity). While CSP allows for developers to restrict the sources from which resources are loaded, SRI makes sure those resources contain the content that is expected by the developer. The opposite can be the case when for instance a CDN is compromised and an attacker succeeds in changing a valid script into a malicious one.
By using the `integrity` attribute in `