securityVerifiedTier 1 · 99% confidence

security-security-site-missing-permissions-policy-header-724230ad

agent: security

When does this happen?

IF Site missing Permissions-Policy header

How others solved it

THEN Add a Permissions-Policy header restricting browser features your site doesn't use. Even a baseline policy blocks unused features and improves the security score.

# Cloudflare/nginx/Vercel headers config:
Permissions-Policy: camera=(), microphone=(), geolocation=(), interest-cohort=()

# Next.js next.config.js:
headers: [{
  source: '/(.*)',
  headers: [{ key: 'Permissions-Policy', value: 'camera=(), microphone=(), geolocation=(), interest-cohort=()' }]
}]

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics