Skip to content

Security: AffixIO/postquantum-https

Security

SECURITY.md

Security Policy

Cryptographic Design Principles

  1. Standard library primitives only: All cryptographic algorithms (ML-KEM, ML-DSA, SLH-DSA, X25519, ECDSA, Ed25519, HKDF-SHA-512, AES-256-GCM, and TLS 1.3 framing) are delegated directly to Node.js node:crypto and node:tls backed by OpenSSL 3.5+. No custom cryptographic primitives are implemented in JavaScript.
  2. Defence in depth across mathematical families:
    • Transport confidentiality pairs elliptic-curve Diffie-Hellman (X25519, P-256, P-384) with module-lattice KEM (ML-KEM-768, ML-KEM-1024).
    • Authentication can combine module-lattice signatures (ML-DSA), stateless hash-based signatures (SLH-DSA), and classical elliptic-curve signatures (Ed25519).
    • Symmetric encryption defaults to 256-bit keys (AES-256-GCM, ChaCha20-Poly1305) and 384/512-bit hashes (SHA-384, SHA-512).
  3. Fail-closed strict profiles: hybrid-strict, cnsa-2, and lattice-only enforce TLS 1.3 only and configure OpenSSL ecdhCurve exclusively with post-quantum groups so classical-only handshakes are rejected at the TLS layer.
  4. Private key hygiene: Generated private keys written by writePkiFiles use file mode 0600 inside 0700 directories. Ephemeral shared-secret buffers inside src/envelope.mjs are zeroed after key derivation.

Supported Versions

Version Supported Minimum Runtime
1.x Yes Node.js >=24.7.0 (OpenSSL >=3.5.0)

Reporting a Vulnerability

Do not open public GitHub issues for security vulnerabilities.

Use GitHub Private Vulnerability Reporting on the AffixIO/postquantum-https repository, or contact the maintainers via security@affix-io.com with:

  • Affected version and postquantum-https info output
  • Minimal reproduction steps or proof of concept
  • Impact assessment (for example TLS downgrade, signature bypass, header parsing issue, or proxy SSRF/traversal)

Reports are acknowledged within 48 hours and coordinated disclosure follows a standard 90-day remediation window.

There aren't any published security advisories