Please do not open public issues for security vulnerabilities.
Report privately via GitHub's vulnerability reporting on this repository: Security → Report a vulnerability (https://github.com/LuxAlgo/trade-journal/security/advisories/new).
You can expect an acknowledgment within a few business days. Please include reproduction steps and the affected version or commit.
Trade Journal is self-hosted software: it stores broker credentials (encrypted at rest) and trading history on the machine that runs it. Reports about credential handling, the encryption layer (apps/web/src/server/crypto.ts), authentication (JOURNAL_PASSWORD sessions), and the statement importers (untrusted file parsing) are especially valuable.
Security fixes target the latest release on main.