Security #
EthicsPortal handles sensitive whistleblower data. This page documents the specific technical and organizational measures we have in place. It is written for compliance officers, DPOs, and legal teams evaluating the platform.
Last updated: 2026-11-26.
Data encryption #
The sensitive database fields listed below are encrypted at rest using Rails ActiveRecord Encryption with non-deterministic encryption (each encryption produces a unique ciphertext, preventing pattern analysis). Field encryption does not cover whole database dumps or file attachments; those are encrypted separately, as described under file attachments and backups.
| Field | Encrypted | Deterministic |
|---|---|---|
| Report description | Yes | No |
| Reporter name | Yes | No |
| Reporter contact details | Yes | No |
| Structured intake answers (relationship, source, timing, prior reporting, retaliation concern) | Yes | No |
| Message body (reporter–handler communication) | Yes | No |
| Internal case notes | Yes | No |
| Handler two-factor secrets and backup codes | Yes | No |
Non-deterministic encryption means these fields cannot be queried by value at the database level. Even with full database access, an attacker cannot search for a specific reporter name across records.
File attachments #
Files attached to reports, messages and internal notes, and case data exports are encrypted at rest in Hetzner Object Storage with AES-256, under a separate random key for every file (server-side encryption with customer-provided keys). The key is sent with each storage request, and Hetzner refuses any read made without it. EthicsPortal stores it in the database under the ActiveRecord Encryption described above, so the storage credentials alone cannot read a file: the database and the application’s encryption keys are needed as well. Files reach authorised users by streaming through the application, never through a direct storage link.
Files uploaded before 6 October 2026 were re-encrypted on that date, and their unencrypted copies, including retained prior versions, were deleted. Files that are not report data, such as profile pictures and organisation share images, are not encrypted this way. None of this protects against a compromise of the application server, which holds the storage credentials, the database and the keys together.
All connections to EthicsPortal use HTTPS/TLS. Unencrypted HTTP requests are redirected.
Anonymity and privacy #
IP addresses #
EthicsPortal does not record a reporter’s IP address with reports, messages or audit records, and the application’s logs for the whistleblowing channel contain no IP addresses.
Rate limiting on the whistleblowing channel (report submission, case lookup, messaging) keys on a truncated, keyed SHA-256 hash of the request IP. The hash is pseudonymous, not anonymous: it cannot be read back as an address, but anyone holding the application secret could test candidate addresses against it. It is used only for the rate-limit window (at most 10 minutes), and a job deletes it from the cache within 5 minutes after the window ends.
The TLS proxy in front of the application keeps its own request log: IP address, request path, user agent and response status. The path of a reporter’s report page contains its Case ID, so an entry for that page can be tied to the report. They are held in a single 10 MB log file that is overwritten as it fills, currently after about two days; the 7-day server snapshots described under backups can contain a copy.
File metadata stripping #
Uploaded files are automatically stripped of identifying metadata before storage:
| File type | Metadata removed | Method |
|---|---|---|
| Images (JPEG, PNG, WebP, GIF, AVIF) | EXIF data: GPS coordinates, camera model, device serial number, author, timestamps | Vips image processing |
| PDF documents | Author, creator application, modification history. Not removed: comment author names, and the metadata of photos embedded in the PDF | exiftool + qpdf in the standard production setup |
| Video files | GPS, device info, recording software | exiftool in the standard production setup |
| Audio files | Recording device, GPS, software tags | exiftool in the standard production setup |
Metadata removal is performed server-side before storage. For file types handled by exiftool, this depends on the standard production tooling being present.
Inside a PDF, the names on comments and the metadata of embedded photos, such as GPS position and camera serial number, are kept. A reporter who wants these gone should upload photos as separate image files and remove comments before uploading a PDF.
Virus scanning #
Files attached to reports, messages and internal notes are automatically scanned for malware using ClamAV, an open-source antivirus engine. Scanning happens server-side in a background process after upload. Files that have not passed scanning are blocked from delivery, and infected files are removed automatically.
Files are scanned on EthicsPortal infrastructure — no file data is sent to third-party scanning services.
Reports by email #
Every whistleblowing channel has its own email address on report.ethicsportal.eu. An email sent to it becomes a case in that channel, the same as a report through the online reporting form. Email reports are on by default. An organization can switch them off in the channel settings, and the address then refuses new mail within a minute.
- Own mail server. Mail for these addresses is received by EthicsPortal’s own mail server on the same infrastructure in Germany, not by a third-party email provider. It accepts mail only for channel addresses, refuses every other address, and relays nothing.
- Transport encryption. The server offers TLS 1.2 or later with a Let’s Encrypt certificate. TLS is opportunistic: a sending server that does not support it delivers unencrypted.
- Sender address hidden from handlers. The sender’s address is stored encrypted and is never shown to case handlers, in the case, its PDF or exports. EthicsPortal uses it only to send the reporter’s receipt and new-message notices.
- Access without email. The receipt contains the Case ID and a one-time password for the secure inbox, replaced at first sign-in. Follow-up questions and answers stay in the inbox, not in email. When the sender’s own domain rejects the address in its DMARC policy, the report is kept but no password is sent. After 10 emailed reports to one organization, or 50 across EthicsPortal, within 24 hours, further emailed reports are kept but no email is sent: no receipt to the reporter and no email notice to administrators, who still see the case in the app.
- Attachments. Files get the same metadata stripping and virus scanning as uploads through the form. Files that cannot be accepted (another type, too large, or impossible to clean) are left out, and the reporter is told how many.
- Copies. A message waits in the mail server’s queue on the same server only until the application accepts it. The application keeps the raw email encrypted until the case is saved, then deletes it. Mail-server logs record channel addresses, never the sender’s address.
- Sender checks. SPF, DKIM and DMARC are checked on EthicsPortal infrastructure. No message data is sent to an outside spam or reputation service.
Email is not anonymous: the reporter’s own mail provider, and the organization’s mail systems if they write from a work account, can keep copies and records of the message. The receipt says so and links to the online reporting form for reporters who want to stay anonymous.
Email for updates #
The online reporting form has an optional email field for updates. The address receives the receipt and a notice when a handler writes, never the report content. It is stored encrypted and, like the sender address of an emailed report, no handler page, PDF or export shows it. It stays available when the reporter submits anonymously. Only a reporter who turns off anonymous submission and ticks “also show my email address to the case handlers” turns it into a contact address that handlers see.
Handler anonymity #
Whistleblowers never see the real names or email addresses of the people handling their report. All messages from handlers are displayed as “Case handler”. This protects handler identity and prevents social engineering.
No tracking #
EthicsPortal does not use third-party tracking cookies, advertising pixels, or fingerprinting scripts. We use Plausible Analytics on the marketing website only, served through our own domain. It sets no cookies and does not store IP addresses. Cloudflare, which delivers the marketing website, processes request metadata including IP addresses, as described in the Privacy Notice. The whistleblowing channel itself has no analytics.
Current assurance status #
EthicsPortal does not currently claim accredited ISO 27001 certification on this site. It also does not currently publish an independent third-party audit of the anonymity architecture. If that changes, the scope and date will be published here.
Security review materials #
Customers that require procurement or legal review materials can request them during procurement. Available materials may include a signed DPA, registry and tax evidence, a completed security questionnaire, and written answers covering backup and restore procedures, privileged production access, and incident-response handling.
Access control #
Authorization is enforced at the application level using Pundit policies.
| Role | Can view reports | Can manage organization settings | Can assign handlers |
|---|---|---|---|
| Admin | All reports | Yes | Yes |
| Handler | Reports they are assigned to or participating in | No | No |
| Viewer | Read-only, for auditors and legal counsel | No | No |
- Handlers cannot see reports they are neither assigned to nor participating in. Participants are explicitly added by an admin or the primary assignee (for example, looping in legal or HR).
- Reporters have no user account — they open their report with a Case ID (
WB-XXXX-XXXX) and a password that the system generates when the report is submitted. - Every controller action checks authorization. Unauthorized access attempts are blocked and logged.
Two-factor authentication #
Handler and admin accounts can enable TOTP-based two-factor authentication via any standard authenticator app (Google Authenticator, 1Password, Authy, and compatible alternatives). Once enabled, sign-in requires both the primary credential and a rotating 6-digit code.
Reporter sign-in #
Reporters sign in with their Case ID and a password. The Case ID identifies the case and is not secret. The password is 16 random digits, generated by the system when the report is submitted; the reporter does not choose it. It is stored only as a bcrypt digest, so nobody can recover it, and EthicsPortal has no feature that lets the reporter, the case handler or the operator reset it. A reporter who loses it submits a new report and mentions the Case ID. Reports submitted before 18 October 2026 keep the 6-digit password the reporter chose at the time, and it still works. The follow-up inbox and message-posting are session-gated behind this check, so a leaked Case ID alone cannot read the report or impersonate the reporter.
Right after submission, a receipt page shows the address of the secure inbox, the Case ID and the password. It stays available on that browser only until the inbox locks after 30 minutes without activity, or until the reporter exits. On the sign-in page the password field is a visible text field with autocomplete off, rather than a masked password field, so that browsers do not offer to save the password, which a work-managed browser could otherwise sync to the employer’s account. Pasting works, and spaces are ignored.
When staff log a report received by phone, at an in-person meeting, by letter or by email, and the reporter wants to follow the case online, the system generates a one-time password for the handler to pass on. It works once: at the reporter’s first sign-in it is replaced, on the server, by a new password that only the reporter sees.
A reporter’s access ends when they select Exit, or after 30 minutes without activity. About two minutes before the lock, a warning offers to keep the inbox open; if nobody responds, the case is removed from the screen. Access is held in an encrypted cookie in the reporter’s browser, and the server keeps no reporter session.
Session lifecycle #
Each authenticated session records last_seen_at on every request (debounced). Users can review their active sessions, see when each was last active, revoke any session individually, or sign out of all other sessions at once from the account settings.
Sessions expire automatically after 14 days of inactivity. The next request from an idle session destroys the server-side record, clears the cookie, and forces re-authentication via a fresh magic link. A nightly job sweeps abandoned sessions on the same timeout, so user_agent and ip_address are not retained beyond the idle window even when the user never returns.
Magic-link authentication limits the blast radius of long-lived sessions: a stolen session cookie does not yield a reusable credential, and re-authentication requires email access.
One account is an exception. Reviewers from AI app directories cannot receive email, so the review account signs in with a fixed code that we change from time to time. It is a member only of a demo organisation with made-up data.
Member access and offboarding #
Organization access is enforced at the request boundary. When a member is deactivated:
- Access to the organization is rejected immediately, including on previously bookmarked URLs.
- Open report assignments are unassigned.
- Participantships are removed.
- The audit-log history attributable to the member is preserved.
- The deactivated member is notified.
- Reactivation does not automatically restore prior case access.
The organization owner, the last active admin, and the designated compliance officer for the whistleblowing channel cannot be deactivated. All deactivation and reactivation events are written to the append-only audit log.
Removing a member deactivates the membership rather than deleting it, so the audit trail and report history stay resolvable. A membership is hard-deleted only when the member’s own account or the organization itself is erased.
Account erasure #
A member who closes their own account has their email address replaced with a non-routable placeholder and their avatar, two-factor credentials, sessions, API tokens, and preferences permanently removed; the account can no longer authenticate or be contacted. If the account never acted inside an organization, the record is deleted outright. If it did, the member’s name remains while their memberships are deactivated so retained case notes, messages, and audit entries stay attributable. The Controller determines the retention period under its documented instructions and applicable law; GDPR erasure rights remain subject to any applicable exceptions for legal obligations or legal claims.
A scrubbed account cannot authenticate by any route: magic link, SSO assertion, or API token.
Rate limiting #
Public endpoints of the whistleblowing channel are rate-limited to prevent abuse and enumeration attacks:
| Endpoint | Limit |
|---|---|
| Report submission | 5 per 10 minutes per hashed IP |
| Case lookup (Case ID + password) | 10 per 3 minutes per hashed IP |
| Case lookup (Case ID + password) | 10 per 10 minutes per Case ID and hashed IP |
| Message submission | 10 per 3 minutes per hashed IP |
Rate limiting uses the keyed IP hash described above — no IP address is stored for it. The per-Case-ID limit keys on the Case ID itself, which is deleted from the same cache within 15 minutes.
Audit and compliance #
Append-only audit trail #
Defined report and account events are logged with:
- Timestamp (UTC)
- Actor (which user or system process performed the action)
- Action type (for example, report created, status changed, message sent, handler assigned, report exported or report deleted). Each handler’s view of a given report is logged, deduplicated to one entry per handler per report per 24 hours, and reporter follow-up views are logged the same way. Reads of other resources are not logged.
Audit log entries are append-only. No user, including an organization admin, can edit an entry or delete one selectively: PostgreSQL triggers reject modification and truncation at the database level. Entries are removed only by the retention lifecycle or when the organization itself is deleted, and privileged database intervention remains a documented residual risk (risk register R-08). The full audit trail is included in PDF case exports for regulatory review.
Data retention #
Organizations configure their own retention period: 12, 24, 36, 48, or 60 months after a report is closed. When the retention period expires, a background job deletes the report and associated data from production; backup copies expire under the separate documented lifecycle.
Emails to a reporter leave no record in EthicsPortal’s send history, so no reporter address remains after the report is deleted.
The Controller remains responsible for selecting a period that satisfies GDPR storage limitation and applicable national record-keeping rules.
CSRF protection #
All form submissions are protected against cross-site request forgery using Rails’ built-in CSRF tokens.
Secure development lifecycle #
EthicsPortal follows a documented development lifecycle for changes that touch the Service. The stages are stated here so a procurement reviewer can map them to ISO/IEC 27001:2022 controls A.8.25–A.8.29 (see the control map for the full mapping).
| Stage | Practice |
|---|---|
| Architecture and design | Features that introduce new personal-data flows, sub-processors, or authorization scopes are evaluated against the encryption, access-control, and audit-trail commitments documented on this page before implementation. |
| Change review | Every production change is checked against a written checklist (encryption coverage, authorization scope, audit-log emission, input validation, secret handling) before deploy. Enforcement is automated rather than discretionary: the full test suite and static analysis run on every change and block the deploy on failure. The suite runs on a hosted CI runner, or on a developer workstation with the completed run recorded as a commit status the pipeline verifies before it will skip the hosted run. Change-approval roles are described during procurement review. |
| Secure coding | The codebase uses framework-level defenses by default — parameterized queries via ActiveRecord, strong parameters, output escaping in views, CSRF tokens, attribute-level encryption, Pundit authorization at the controller boundary. Deviations require a written justification. |
| Security testing in development | Static analysis (Brakeman, bundler-audit, importmap audit) runs on every change. Tests cover authorization paths, encryption-at-rest invariants, audit-log emission, and rate-limit enforcement. See dependency and patch management for the full toolchain. |
| Environment separation | Production and non-production environments are isolated. No production personal data is used outside production; staging and development use synthetic fixtures. |
| Vulnerability response | Reports acknowledged within 2 business days (see responsible disclosure). Targets: critical issues remediated within 7 days, high within 30, medium within 90. Confirmed issues affecting deployed customers are reported through the incident register when they meet the register’s scope criteria. |
Dependency and patch management #
EthicsPortal does not deploy end-of-life software components. The application runs on actively supported releases of Rails, Ruby, PostgreSQL, and the underlying operating system; upstream security releases are applied on a rolling basis.
Dependencies are scanned continuously in continuous integration:
- Brakeman flags Rails-specific vulnerabilities on every change.
- bundler-audit checks the Gemfile against the Ruby Advisory Database on every change and again on a daily schedule, so newly disclosed advisories are caught even when no code has changed.
importmap auditscans JavaScript imports for known vulnerabilities on every change and again on a daily schedule.- Dependabot opens pull requests weekly for outdated Ruby gems and GitHub Actions, grouped by minor/patch updates.
Supply-chain controls limit what a compromised dependency release can reach:
- Release cooldown. New gem versions are adopted only after they have been public for three days; Dependabot version updates wait 3, 7 or 14 days for patch, minor and major releases. Hijacked releases are usually yanked within that window.
- Pinned CI actions. Every GitHub Actions step is pinned to a full commit SHA, so a re-pointed tag cannot change what runs.
- Verified downloads. Binaries fetched while building the container image are checked against a pinned SHA-256 checksum.
- Gated automatic updates. Dependabot pull requests merge automatically only after the full test suite and static analysis pass.
Components reaching end-of-life upstream are replaced or upgraded before their support window closes.
Infrastructure #
| Component | Provider | Location |
|---|---|---|
| Application server and database | Hetzner | Nuremberg, Germany (EU) |
| File storage | Hetzner Object Storage | Nuremberg, Germany (EU) |
| File attachment backup copy | Hetzner Object Storage | Falkenstein, Germany (EU) |
| Transactional email | Mailjet | France (EU) |
| Payment processing | Stripe | Ireland; other countries under applicable safeguards — see Privacy Notice |
- Core report and case-data storage is in the European Union. Email delivery and application telemetry have separate downstream supplier chains; see the DPA.
- No credit card numbers or payment credentials are stored on EthicsPortal servers. All payment data is handled by Stripe.
- Mailjet sends handler notifications and optional reporter receipts and new-message notices. Reporter notices contain the recipient email address, the Case ID and a link, but not the report narrative. The receipt for a report sent by email also contains a one-time password for the secure inbox, which is replaced when the reporter first signs in. Mailjet’s downstream support chain may involve access outside the EEA; see the DPA.
- The marketing site is served via Cloudflare (CDN, United States); the whistleblowing channel and handler portal are not. This separate public-site processing and its transfer safeguards are described in the Privacy Notice, not the customer DPA subprocessor list.
Backups and restore #
EthicsPortal operates three complementary backup layers, all retained within the EU:
| Layer | What | Where | Retention |
|---|---|---|---|
| Database | Daily PostgreSQL dumps via a Kamal accessory, encrypted with GnuPG symmetric AES-256 on the host before upload | Hetzner Object Storage, Nuremberg (EU) | 21 days for current versions; deleted versions expire after 7 additional days |
| Server | Full disk snapshots of the application host | Hetzner Cloud, Nuremberg (EU) | 7 days |
| File attachments | Every encrypted attachment copied, under its own per-file key, to a second bucket with versioning | Hetzner Object Storage, Falkenstein (EU) | For as long as the attachment exists; prior versions 28 days |
Recovery objectives. Recovery point objective (RPO) is 24 hours. Recovery time objective (RTO) is 4 hours. These objectives also appear in the service level agreement.
Restore testing. A restore drill runs automatically every month via a CI workflow, and on demand, restoring the latest dump into a disposable environment. It decrypts the dump, restores it, compares every table against live production, and then boots the application against the restored database to confirm an encrypted column still decrypts, that one encrypted file attachment opens with the key held in the restored dump, and that every attachment older than an hour has a copy in the backup location, with one copy opened and checked against its checksum — row counts alone cannot distinguish a usable backup from ciphertext whose key no longer matches. Backup freshness is monitored continuously (alert if the most recent dump is older than 36 hours).
Encryption. Hetzner states that Object Storage does not encrypt objects at rest by default, so database dumps are encrypted before they leave the host: GnuPG symmetric AES-256, with the passphrase held only by the backup process and escrowed off-machine. Application-layer fields encrypted under Rails ActiveRecord Encryption remain separately encrypted inside each dump. File attachments are encrypted at rest with per-file keys (see file attachments). Those keys exist only in the database, so each encrypted dump carries them. The files themselves are not copied into the dump. Each one is stored in Nuremberg and copied, under the same key, to a second bucket in Falkenstein; both keep prior versions for 28 days.
Operational review #
Some operational materials are shared during procurement review rather than published in full on the open web, because they contain infrastructure and response detail that is more appropriate for controlled disclosure.
Topics available on request during procurement include:
- Privileged production-access summary
- Incident-response workflow and escalation contacts
- Business continuity and customer offboarding/export responses
Responsible disclosure #
If you discover a security vulnerability in EthicsPortal, please report it to security@ethicsportal.eu. We ask that you:
- Do not publicly disclose the vulnerability before we have had a chance to address it.
- Provide enough detail for us to reproduce and fix the issue.
- Do not access or modify other customers’ data.
- Do not run denial-of-service attacks or high-volume automated scans, attempt social engineering against our staff, or submit reports to a customer’s whistleblowing channel.
We will acknowledge your report within 2 business days and aim to resolve confirmed vulnerabilities promptly.
No paid bug bounty. Disclosure is unrewarded: we do not pay for vulnerability reports, and we do not sign NDAs, agree commercial terms, or take calls as a precondition to receiving one. Send the affected asset, reproduction steps, and the impact you have established to the address above.
Last updated: