Skip to content

Releases: Hawk-API/hawkapi-mail

v0.3.0

10 Jun 11:39

Choose a tag to compare

Security hardening.

  • Jinja2 templating uses a sandboxed environment, preventing SSTI/RCE via render_string (CWE-94/1336)
  • All HTTP backends validate subject/sender/recipients and custom headers for CRLF/NUL (CWE-93)
  • SNS notifications verify the message RSA signature against the AWS signing certificate (CWE-345)
  • Secret config fields excluded from dataclass repr (CWE-532)
  • validate_certs=False emits a warning before disabling TLS verification
  • Provider error response bodies truncated in debug logs (CWE-532)

v0.2.0 — security hardening

16 May 14:11

Choose a tag to compare

Full OWASP review fixes. See CHANGELOG.md for details.

v0.1.0

16 May 09:11

Choose a tag to compare

Initial release.

Backends: SMTP (aiosmtplib), AWS SES (boto3, extras [ses]), SendGrid v3, Mailgun v3, Resend, in-memory.

Extras: Jinja2 templates, persistent outbox (SQLite) with retry worker, webhook signature verification + normalized events for all providers.

init_mail(app, ...) + Depends(get_mailer).