Skip to content

Security: Serotops/dotnet-api-template

Security

SECURITY.md

Security Policy

Reporting a vulnerability

Please do not open a public issue for security vulnerabilities.

Instead, report them privately via GitHub Security Advisories, or by email to the maintainer. You can expect an initial response within a few days.

Scope

This is a project template. The most security-relevant areas are:

  • Secrets managementJwt:SigningKey and connection strings must come from environment variables, user-secrets, or a secret manager. Nothing secret should be committed.
  • Authentication/authorization — JWT validation in ApplicationServicesExtensions.
  • Request loggingRequestResponseLoggingMiddleware redacts known credential/PII fields.
  • Security headersSecurityHeadersMiddleware.

When you generate a project from this template, review and adjust these for your threat model before deploying.

There aren't any published security advisories