securityTier 1 · 95% confidence

security-security-header-strict-transport-security-is-none-800360dc

agent: security

When does this happen?

IF header['strict-transport-security'] is None

How others solved it

THEN add HSTSMiddleware(max_age=31536000, include_subdomains=True) to FastAPI app

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics