iSMAIL / security & compliance
ISO/IEC 27001 — what we are not
ISO/IEC 27001 certifies an organization's information-security management system (ISMS): documented policies, risk assessments, supplier management, internal audits, management review — maintained over years and checked by an accredited auditor. It is not a software property, and no product "has" it: an open-source project run by one person cannot honestly claim certification, and printing the logo without a certificate is self-disqualifying. iSMAIL is not certified and does not claim to be.
What we do instead
The parts of Annex A (ISO/IEC 27001:2022) that a software project itself can actually implement, we implement and verify in code and CI; the organizational parts we list as gaps. Every line below is checkable in the public repo. This page is the artifact an assessor or a cautious sysadmin would start from — that, not a badge, is the "preparation" we claim.
| Annex A control | state | evidence / what it means here |
|---|---|---|
| A.5.15 / A.8.2 access control | implemented | Bearer-token auth on every API endpoint (constant presence required once set); server binds to 127.0.0.1 unless explicitly published |
| A.5.17 / A.8.24 cryptography (protocols) | implemented | TLS 1.2/1.3 via rustls with certificate-chain and hostname validation always on (no opt-out flag — unlike the Perl original, whose default is SSL_VERIFY_NONE); embedded trust roots (webpki-roots); with --sslN set there is no plaintext fallback: implicit TLS on 993 or mandatory STARTTLS, hard error otherwise |
| A.8.24 cryptography (keys/credentials) | partial | Redaction of credentials in transcripts, run logs and ISMAIL_DEBUG trace; token file instead of process-args; gap: the schedule file stores sync passwords in cleartext (documented; OS-level protection is operator responsibility) |
| A.8.28 / A.8.29 secure coding & SDLC | implemented | Memory-safe Rust; clippy -D warnings; 47 tests incl. mock-IMAP-server end-to-end, failure-injection and the login/OIDC surface; pinned toolchain image (no floating tags); CI image build + full API/UI smoke test on every push; OCI revision labels tie every image to its exact commit |
| A.8.8 vulnerability management | partial | Every CI run queries OSV.dev for every crate in Cargo.lock (254 today; scripts/osv-check.py) and fails on unaccepted hits; accepted risks live in a dated register (scripts/osv-allow.toml — today: paste RUSTSEC-2024-0436, a compile-time proc-macro from Leptos, and rsa RUSTSEC-2023-0071, a dev-dependency used only to sign throwaway test id_tokens; both review-by 2027-03-01. chrono's RUSTSEC-2026-0543 was closed in v0.6.0 by switching to the maintained time crate); gap: no SBOM or attestation yet |
| A.8.9 / A.8.31 secure configuration | implemented | scratch base image: no shell, no package manager, no dependencies; runs as uid 65534; documented loopback-first deployment behind a TLS-terminating proxy |
| A.8.12 data leakage prevention | implemented | Passwords never appear in API transcripts, schedule-run logs or the debug trace (CI asserts it with an injected canary) |
| A.8.15 / A.8.16 logging & monitoring | partial | Full per-run transcripts with statistics; scheduler fires are auditable as runs; gap: runs are in-memory only (restart loses them), no syslog/forwarding — deliberate for one-binary simplicity, stated in docs |
| A.8.13 information backup | operator's side | The schedule file is the durable state; backing it up (and protecting it) is the operator's job — documented in the security notes |
| A.8.7 / A.8.25 patch & key mgmt (ops) | operator's side | Image updates, app-password rotation: documented practice, not automated |
| Organizational controls (policies, risk assessment, supplier register, internal audit, management review, HR, incident response as a process) | not done | A hobby project does not run an ISMS. A disclosure channel exists (SECURITY.md / GitHub private vulnerability reporting); everything else is honestly absent |
So, prepared for ISO 27001?
Prepared means the organization can face an audit. We can't — and we'd rather show you the control list above, gaps and all, than sell you the word. What you can say precisely, and what we say: iSMAIL is not ISO/IEC 27001 certified; it implements the Annex A controls that are in a project's own hands, in public, and documents the ones that aren't.