Security

The system holds companies' books, payroll and personal data, so security reports are taken seriously.

Reporting a vulnerability

Please don’t report it in public. Email security@mastura.org with what you found, how to reproduce it, the version you tested and what an attacker could do with it.

  • You’ll get a reply within 5 working days.
  • We’ll confirm the problem, fix it and agree a date to disclose it with you, normally within 90 days.
  • The release notes describe the fix and credit you, unless you’d rather not be named.

Security fixes go into the latest release, so upgrade to get them.

How the system protects your data

  • Passwords are stored as bcrypt hashes. Mailbox passwords and other secrets are sealed with a key kept outside the database.
  • Every save is recorded in the activity log, with who made it and when.
  • Access is checked on the server for each page, record and field, not just hidden on screen.
  • API keys are stored only as hashes, shown once, and act with their user’s permissions.

Running it safely

  • Put HTTPS in front of any server reachable from the internet.
  • Keep PostgreSQL off the public internet.
  • Keep .env, .email-key, uploads and backups private, and back them up with the database.

The live demo runs in demo mode: it can’t send email or reach outside systems, and passwords can’t be changed there.