Skip to content

Security: mantisfury/ArkhamMirror

SECURITY.md

ArkhamMirror security policy

Supported use

Use the standard local Docker launcher on a trusted machine for one investigator. Remote access is unsafe and unsupported, including LAN, public hosting, proxies and tunnels. Source development is for disposable data. Upgrading cannot disable a tunnel running elsewhere on your computer.

Keep Docker Engine, your operating system and the browser updated. Use a separate operating system account, a strong owner password, full-disk encryption and tested encrypted backups. Store the database, complete document volume and private configuration together. Never commit credentials or share real case records in a public issue.

Trust boundaries

The operator, host, Docker daemon and locally installed software must be trusted. The application must treat files, file worker replies, saved templates, external content and browser requests as untrusted. Sensitive assets include originals, parsed text, indexes, exports, account records, credentials and background job data. A local deployment still processes material from outside sources.

  • Only the browser relay may publish a port. It binds to IPv4 loopback. The packaged UI and API expect the same local origin. The app and database have no outbound gateway by default. Optional provider mode gives the app general outbound connectivity. It never authorizes remote access.
  • Decoding supported files must use the offline file worker. It must have no case volume, database connection, provider credentials or Docker socket. If the worker cannot produce a bounded result, processing must fail without starting a decoder in the application.
  • Every application API, including newly loaded shards, must require an active account unless explicitly public. First-time setup requires a one-time token obtained on the Docker host. Concurrent requests cannot claim the installation twice.
  • Legacy casework and installation maintenance are reserved for the owner of the original single organization. Shared features must check organization ownership and role. Unknown ownership stays hidden. Maintenance must preserve accounts and installation state.
  • Password and account privilege changes must invalidate prior sign-ins. Sign-out revokes the current sign-in. Background polling must not extend the idle deadline. Protect the browser profile as well as the login password.
  • Cap expensive operations and treat user-authored templates and imported text as data. Restrict generated files and all secondary access through exports, queues and event history. Never send credentials to an unapproved destination.

Access and operation

Known limitations describe the four shared features available to existing accounts and the restrictions on older databases. Selecting a project in the owner workspace changes the view and upload destination. It does not create access controls between projects.

The optional project teams pilot is off by default. Only the installation owner can permanently enable it by confirming the change with their password. On activation, other accounts must sign in again. The server limits them to personal account functions and team casework. Administrators see every active project, analysts need an explicit assignment, and viewers have read-only access to projects delegated by their supervisor. Team access never enables a network listener. Host administrators and people with access to the database, files or backups are outside these account controls.

Each fresh installation should generate unique secrets with python scripts/configure_local.py. Do not replace the database password in an existing installation without rotating it in PostgreSQL. Browser sign-ins use signed tokens and a server-side session record. Keep the signing key private. Save work before the 15-minute inactivity lock or the default one-hour expiry. The browser may show a warning before expiry.

Requests share limits by client address. Activity through the relay may count against the same limit. API responses use cache restrictions. Browser responses restrict connections and scripts to the local origin and prevent framing. See the network guide for checks on a running installation.

Reportable concerns

Report loss of case data, unauthorized reads or changes, unintended external communication, exposure of credentials, or a failure of any boundary above. State the version, setup, input source, required account privileges and actual impact. Explain whether the behavior affects the default installation. Remote access is unsupported. A defect that also matters locally remains reportable.

Regression coverage describes tests for earlier reports. Passing tests, an offline configuration and the worker do not guarantee safe handling of every file. Use a disposable virtual machine with minimal copies for suspected hostile material. The host, exports and backups still need independent protection.

Reporting Vulnerabilities

Use Report a vulnerability to contact the maintainer privately on GitHub. Do not open a public issue. Include the release tag or commit, installation method, affected feature, potential impact and steps to reproduce with synthetic data. Remove passwords, tokens and case records.

We aim to acknowledge reports within 48 hours and address critical issues within 7 days. Timing depends on the scope of the fix and testing. We will coordinate disclosure and credit with the reporter.

Learn more about advisories related to mantisfury/ArkhamMirror in the GitHub Advisory Database