Skip to content
https://metamask.io

Security

· 12 checks — HTTP headers, CSP, TLS handshake, and cookie hygiene rolled into one auditable list.
SCORE
75
GRADE
C
FIX
3
REVIEW
4
PASS
5
INFO
0
Checks
12
5 PASS 4 REVIEW 3 FIX
D
Security Headers
Action
4 of 10 headers properly configured
FIX
4 of 10 headers properly configured
Warning::
HSTS max-age is too short (15778476s, should be ≥ 31536000s)
A short max-age leaves a window for downgrade attacks. Set max-age to at least 31536000 (1 year).
Got: max-age=15778476; includeSubDomains; preload Expected: max-age=31536000; includeSubDomains
Info::
X-Content-Type-Options is properly configured
Got: nosniff
Info::
X-Frame-Options is properly configured
Got: DENY
Warning::
Referrer-Policy header is missing
Controls how much referrer information is sent with requests. Set to 'strict-origin-when-cross-origin' or stricter.
Expected: strict-origin-when-cross-origin
Warning::
Permissions-Policy header is missing
Controls which browser features (camera, microphone, geolocation) are allowed. Set it to restrict unused features.
Expected: geolocation=(), camera=(), microphone=()
Info::
Content-Security-Policy is present
Got: default-src 'self'; media-src 'self' https://*.twimg.com/ https://videos.ctfasse…
Warning::
Cross-Origin-Opener-Policy header is missing
COOP isolates your browsing context, preventing cross-origin side-channel attacks. Set to 'same-origin'.
Expected: same-origin
Warning::
Cross-Origin-Embedder-Policy header is missing
COEP prevents loading cross-origin resources without explicit permission. Required for SharedArrayBuffer and high-resolution timers.
Expected: require-corp
Warning::
X-Powered-By header reveals technology stack
This header discloses server technology (e.g. Express, PHP), helping attackers target known vulnerabilities. Remove it.
Got: Next.js
Info::
Server header is present without version info
Got: cloudflare

A short max-age leaves a window for downgrade attacks. Set max-age to at least 31536000 (1 year).

Expected: max-age=31536000; includeSubDomains
Why this matters

Short HSTS max-age leaves a downgrade-attack window every time the cache expires — set ≥ 1 year.

Learn more

max-age below 31536000 (1 year) is below industry recommendation. The browser forgets the HSTS policy and re-exposes first-visit downgrade attacks. Set to 63072000 (2 years) and add `includeSubDomains; preload` to qualify for the HSTS preload list.

Source: RFC 6797 / hstspreload.org

Controls how much referrer information is sent with requests. Set to 'strict-origin-when-cross-origin' or stricter.

Expected: strict-origin-when-cross-origin
Why this matters

Default browser behavior leaks full URLs (including query params and tokens) to every third-party resource — set a strict policy.

Learn more

Without a Referrer-Policy header, browsers send the full referring URL with images, scripts, and fonts loaded from third-party origins. URLs containing tokens, user IDs, or session params end up in third-party logs. Set `Referrer-Policy: strict-origin-when-cross-origin` (or stricter) to limit leakage.

Source: MDN / W3C

Controls which browser features (camera, microphone, geolocation) are allowed. Set it to restrict unused features.

Expected: geolocation=(), camera=(), microphone=()
Why this matters

Permissions-Policy locks down browser APIs you don't use — without it, every page can request camera/mic/geolocation if XSS lands.

Learn more

By default every page can request the camera, microphone, geolocation, payment APIs, and dozens more. Permissions-Policy turns off the ones you don't need so a future bug can't quietly start using them. It's a defense-in-depth header — one line, big surface reduction.

Source: MDN / W3C

COOP isolates your browsing context, preventing cross-origin side-channel attacks. Set to 'same-origin'.

Expected: same-origin
Why this matters

COOP isolates your top-level browsing context from cross-origin windows — without it, popup-based side-channel attacks remain possible.

Learn more

Cross-Origin-Opener-Policy: same-origin prevents cross-origin pages from sharing a browsing-context group with yours. This blocks cross-window references that enable Spectre-style timing attacks and tab-nabbing. Required if you want to enable SharedArrayBuffer.

Source: MDN / web.dev

COEP prevents loading cross-origin resources without explicit permission. Required for SharedArrayBuffer and high-resolution timers.

Expected: require-corp
Why this matters

COEP enforces that all embedded resources opt-in to cross-origin embedding — required for cross-origin isolation features.

Learn more

Cross-Origin-Embedder-Policy: require-corp ensures every embedded resource (script, iframe, image) explicitly allows being loaded cross-origin. Combined with COOP, this enables the cross-origin-isolated context that unlocks SharedArrayBuffer, high-resolution timers, and other powerful APIs.

Source: MDN / web.dev

This header discloses server technology (e.g. Express, PHP), helping attackers target known vulnerabilities. Remove it.

Why this matters

X-Powered-By: PHP/7.4.3 advertises your stack to attackers — disable it.

Learn more

X-Powered-By and similar headers (X-AspNet-Version, X-Runtime) tell attackers which versions to target. Disable in your server/framework config: PHP `expose_php=Off`, ASP.NET `<httpRuntime enableVersionHeader="false">`, Express `app.disable('x-powered-by')`.

Source: OWASP

F
Subresource Integrity
Action
0 of 1 external resources have SRI
FIX
0 of 1 external resources have SRI
Warning::
External script from cmp.osano.com lacks integrity attribute
Without SRI, if this CDN is compromised, attackers could inject malicious code.
Got: https://cmp.osano.com/AzZMxHTbQDOQD8c1J/c7397bc9-ede0-4a67-8e99-ac20272a6829/osano.js
SRI Coverage 0 / 1 of external resources have integrity hashes
TagDomainIntegrity
<script>cmp.osano.com Missing
D
Permissions-Policy
Action
No header set
FIX
No header set
Warning::
No Permissions-Policy header
Consider adding a Permissions-Policy header to restrict browser feature access from embedded content.

No Permissions-Policy header set.

Without this header, embedded iframes can request access to sensitive device features.

Suggested header
Permissions-Policy: camera=(), microphone=(), geolocation=(), payment=(), usb=()
C
Cookie Security
Action
3 cookies analyzed, 4 checks passed
REVIEW
3 cookies analyzed, 4 checks passed
Critical::
Cookie 'NEXT_LOCALE' is missing the Secure flag
Without the Secure flag, this cookie can be sent over unencrypted HTTP, exposing it to interception.
Warning::
Cookie 'NEXT_LOCALE' is missing the HttpOnly flag
Without HttpOnly, this cookie can be accessed by JavaScript, making it vulnerable to XSS-based theft.
Info::
Cookie 'NEXT_LOCALE' has SameSite=Lax
Critical::
Cookie 'NEXT_LOCALE' is missing the Secure flag
Without the Secure flag, this cookie can be sent over unencrypted HTTP, exposing it to interception.
Warning::
Cookie 'NEXT_LOCALE' is missing the HttpOnly flag
Without HttpOnly, this cookie can be accessed by JavaScript, making it vulnerable to XSS-based theft.
Info::
Cookie 'NEXT_LOCALE' has SameSite=Lax
Info::
Cookie '__cf_bm' has the Secure flag
Info::
Cookie '__cf_bm' has the HttpOnly flag
Warning::
Cookie '__cf_bm' has no SameSite attribute
Without an explicit SameSite attribute, browser default behavior varies. Set SameSite=Lax or Strict.
3 cookies analyzed 2 critical 3 warnings
NameSecureHttpOnlySameSiteSizeIssues
NEXT_LOCALELax13 B4
NEXT_LOCALELax13 B4
__cf_bm206 B1
B
CORS Configuration
No CORS headers
REVIEW
No CORS headers
Info::
No CORS headers present — secure default
CORS Configuration Secure

No CORS headers detected.

Cross-origin requests are blocked by browser same-origin policy.

Origin reflection test

Some servers mirror the request Origin header, which can be exploited. Test manually:

curl -sI -H "Origin: https://evil.com" <url> | grep -i access-control
C
security.txt
Action
Expired (2023-10-26T13:00:00.000Z) — update Expires field
REVIEW

security.txt

Contact: mailto:metamask.security@consensys.net
Expires: 2023-10-26T13:00:00.000Z
Encryption: https://metamask.io/pgp-key.txt
Policy: https://metamask.io/.well-known/security.txt
B
Transport Security
HTTP/3, HSTS, and TLS version analysis
REVIEW
HTTP/3, HSTS, and TLS version analysis
Info::
HTTP/3 (QUIC) not advertised
HTTP/3 eliminates head-of-line blocking. If your CDN supports it, consider enabling it.
Warning::
HSTS max-age is short: 182 days
HSTS max-age should be at least 1 year (31536000 seconds).
Got: max-age=15778476 (expected 31536000)
Info::
HSTS preload enabled
Info::
TLS 1.3 in use (fastest handshake, 1-RTT)
A+
Content Security Policy
9 of 10 CSP checks passed
PASS
9 of 10 CSP checks passed
Info::
Raw CSP policy
Got: default-src 'self'; media-src 'self' https://*.twimg.com/ https://videos.ctfassets.net/; script-src 'self' 'wasm-unsafe-eval' https://cdn.segment.com https://www.gstatic.com https://platform.twitter.com https://js.hsforms.net/forms/v2.js https://www.google.com/recaptcha/enterprise.js https://*.osano.com https://*.google-analytics.com https://*.hs-banner.com https://www.googletagmanager.com https://app.link https://*.app.link 'nonce-MDYzYTI2ZmUtNzEwZC00Y2Q4LTg0M2UtODQ3MDY5MmUxMmIy' 'strict-dynamic'; worker-src 'self' blob: https://www.gstatic.com https://*.osano.com; style-src 'self' 'unsafe-inline' https://*.osano.com https://www.googletagmanager.com https://fonts.googleapis.com ; img-src 'self' blob: data: https:; font-src 'self' https://fonts.gstatic.com https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2 ; object-src 'none'; base-uri 'self'; form-action 'self' https://forms.hsforms.com/; frame-ancestors 'self' https://app.contentful.com; frame-src 'self' https://platform.twitter.com https://www.youtube.com/ https://player.vimeo.com/ https://www.google.com/ https://forms.hsforms.com/ https://*.lpsnmedia.net https://*.osano.com https://www.googletagmanager.com/ https://share.hsforms.com/ ; upgrade-insecure-requests; connect-src 'self' blob: https://www.gstatic.com https://forms.hsforms.com/ https://forms-na1.hubspot.com https://forms.hubspot.com https://api.lu.ma https://react-tweet.vercel.app/api/tweet/ https://cdn.syndication.twimg.com https://tagassistant.google.com https://*.googletagmanager.com wss://*.googletagmanager.com https://api.segment.io/v1/ https://cdn.segment.com/v1/ https://price.api.cx.metamask.io/ https://account.api.cx.metamask.io/ https://px.ads.linkedin.com/ https://*.osano.com https://*.google-analytics.com https://www.google.com https://*.google.com https://googleads.g.doubleclick.net https://pagead2.googlesyndication.com https://www.googleadservices.com https://js.hs-banner.com https://cta-service-cms2.hubspot.com https://*.reddit.com https://*.redditstatic.com https://api.hubspot.com https://api.hubapi.com https://assets.ctfassets.net/ https://unpkg.com https://api2.branch.io https://polymarket.com https://cdn.segment.com/analytics-next/ https://cdn.segment.com/analytics.js/ https://cdn.jsdelivr.net/npm/@lottiefiles/;
Info::
default-src directive is set
Got: default-src 'self'
Info::
No 'unsafe-inline' in script source
Info::
No 'unsafe-eval' in script source
Info::
No wildcard in script source
Info::
object-src is set to 'none'
Got: object-src 'none'
Info::
base-uri is properly restricted
Got: base-uri 'self'
Info::
frame-ancestors directive is set
Got: frame-ancestors 'self' https://app.contentful.com
Info::
form-action directive is set
Got: form-action 'self' https://forms.hsforms.com/
Info::
upgrade-insecure-requests is enabled

Parsed Policy

default-src 'self'
media-src 'self'https://*.twimg.com/https://videos.ctfassets.net/
script-src 'self''wasm-unsafe-eval'https://cdn.segment.comhttps://www.gstatic.comhttps://platform.twitter.comhttps://js.hsforms.net/forms/v2.jshttps://www.google.com/recaptcha/enterprise.jshttps://*.osano.comhttps://*.google-analytics.comhttps://*.hs-banner.comhttps://www.googletagmanager.comhttps://app.linkhttps://*.app.link'nonce-MDYzYTI2ZmUtNzEwZC00Y2Q4LTg0M2UtODQ3MDY5MmUxMmIy''strict-dynamic'
worker-src 'self'blob:https://www.gstatic.comhttps://*.osano.com
style-src 'self''unsafe-inline'https://*.osano.comhttps://www.googletagmanager.comhttps://fonts.googleapis.com
img-src 'self'blob:data:https:
font-src 'self'https://fonts.gstatic.comhttps://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2
object-src 'none'
base-uri 'self'
form-action 'self'https://forms.hsforms.com/
frame-ancestors 'self'https://app.contentful.com
frame-src 'self'https://platform.twitter.comhttps://www.youtube.com/https://player.vimeo.com/https://www.google.com/https://forms.hsforms.com/https://*.lpsnmedia.nethttps://*.osano.comhttps://www.googletagmanager.com/https://share.hsforms.com/
upgrade-insecure-requests
connect-src 'self'blob:https://www.gstatic.comhttps://forms.hsforms.com/https://forms-na1.hubspot.comhttps://forms.hubspot.comhttps://api.lu.mahttps://react-tweet.vercel.app/api/tweet/https://cdn.syndication.twimg.comhttps://tagassistant.google.comhttps://*.googletagmanager.comwss://*.googletagmanager.comhttps://api.segment.io/v1/https://cdn.segment.com/v1/https://price.api.cx.metamask.io/https://account.api.cx.metamask.io/https://px.ads.linkedin.com/https://*.osano.comhttps://*.google-analytics.comhttps://www.google.comhttps://*.google.comhttps://googleads.g.doubleclick.nethttps://pagead2.googlesyndication.comhttps://www.googleadservices.comhttps://js.hs-banner.comhttps://cta-service-cms2.hubspot.comhttps://*.reddit.comhttps://*.redditstatic.comhttps://api.hubspot.comhttps://api.hubapi.comhttps://assets.ctfassets.net/https://unpkg.comhttps://api2.branch.iohttps://polymarket.comhttps://cdn.segment.com/analytics-next/https://cdn.segment.com/analytics.js/https://cdn.jsdelivr.net/npm/@lottiefiles/
A+
TLS & Certificates
TLS 1.3, 7 checks passed
PASS
TLS 1.3, 7 checks passed
Info::
TLS 1.3 is used
Got: TLS 1.3
Info::
Strong cipher suite is used
Got: TLS_AES_128_GCM_SHA256
Info::
HTTP/2 is not negotiated
HTTP/2 provides multiplexing and header compression for better performance.
Got: http/1.1
Info::
Certificate is valid (expires in 68 days)
Got: 2026-06-30T03:34:59Z
Info::
Certificate chain has 3 certificates
Info::
Certificate uses modern signature algorithm
Got: ECDSA-SHA256
Info::
Certificate covers 2 domain(s)
Got: metamask.io, *.metamask.io
Info::
Certificate is issued by a trusted CA
Got: CN=WE1,O=Google Trust Services,C=US

HTTP/2 provides multiplexing and header compression for better performance.

Why this matters

HTTP/1.1 forces the browser to make sequential requests, multiplying latency on every page.

Learn more

HTTP/2 (and HTTP/3) multiplex many requests over a single connection, eliminating head-of-line blocking. HTTP/1.1 forces the browser to either queue requests or open many parallel connections — both worse. Most modern web servers support HTTP/2 with one config line.

Source: MDN Web Docs

Connection
Protocol
TLS 1.3
Cipher Suite
TLS_AES_128_GCM_SHA256
HTTP Version
HTTP/1.1

Certificate Chain

Leaf Certificate
Subject CN=metamask.ioIssuer CN=WE1,O=Google Trust Services,C=USValid 2026-04-01T02:35:04Z → 2026-06-30T03:34:59ZExpires in 68 days SANs metamask.io, *.metamask.ioSignature ECDSA-SHA256Serial 5e506ef176609d0c1337d43fb42905b5
Intermediate (CA Certificate)
Subject CN=WE1,O=Google Trust Services,C=USIssuer CN=GTS Root R4,O=Google Trust Services LLC,C=USValid 2023-12-13T09:00:00Z → 2029-02-20T14:00:00ZExpires in 1034 days Signature ECDSA-SHA384Serial 7ff31977972c224a76155d13b6d685e3
Intermediate (CA Certificate)
Subject CN=GTS Root R4,O=Google Trust Services LLC,C=USIssuer CN=GlobalSign Root CA,OU=Root CA,O=GlobalSign nv-sa,C=BEValid 2023-11-15T03:43:21Z → 2028-01-28T00:00:42ZExpires in 645 days Signature SHA256-RSASerial 7fe530bf331343bedd821610493d8a1b
A+
JS Library Vulnerabilities
No known vulnerabilities
PASS
No known vulnerabilities
Info::
No known JavaScript library vulnerabilities detected

No known JavaScript library vulnerabilities detected.

A+
Information Leakage
No exposures
PASS
No exposures
Info::
security.txt is present — good practice
Info::
No sensitive files exposed

No sensitive files exposed — all paths returned 404.

PathStatusCategoryRisk
/.git/HEAD Not foundVersion Control
/.git/config Not foundVersion Control
/.svn/entries Not foundVersion Control
/.env Not foundConfiguration
/.env.local Not foundConfiguration
/.env.production Not foundConfiguration
/wp-config.php Not foundConfiguration
/.htaccess Not foundConfiguration
/phpinfo.php Not foundDebug
/server-status Not foundDebug
/server-info Not foundDebug
/.well-known/security.txt ExposedSecurity PolicyInfo
A+
Email Security
DMARC: reject
PASS
DMARC: reject
Info::
DMARC policy is reject — strongest protection
DMARC
Policy reject — strongest protection Record v=DMARC1; p=reject; rua=mailto:re+5a3be5d07465@inbound.dmarcdigests.com
All checks on this page are automated. Results are estimates - run targeted manual reviews when the score affects a release decision.

Send Feedback