Skip to content

Harden local Docker access and file processing, repair casework, and gate releases - #15

Closed
mantisfury wants to merge 48 commits into
mainfrom
fix/casework-and-tests
Closed

mantisfury wants to merge 48 commits into
mainfrom
fix/casework-and-tests

Conversation

@mantisfury

@mantisfury mantisfury commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

Superseded by PR #17. It includes this branch’s full history and reconciles both drafts. The original description below records an earlier candidate.


This draft brings the casework repairs and the expanded release checks together for review. The supported use remains one investigator on a trusted machine.

  • Keep uploaded files and page text when indexing fails. Show the error in Documents and the ingest queue, and retry on the same document. Search warns if an index is incomplete.
  • Make older scans selectable in OCR. Split long pages into bounded passages at their original positions. Keep the selected project and avoid duplicating derived evidence on retries.
  • Repair analysis, settings, export and worker behavior alongside their tests.
  • Require first-pass search and dates, an indexing outage and retry, a browser upgrade from 2.2.0, backup restoration, the backend suites and both image reports.
  • Separate publishing from building. A manual release uses the reviewed image pair from a successful main run. The default action is a dry run.

Older projects with unknown ownership require manual review. Existing scans and passages may need OCR or reindexing. See known limitations and recovery instructions.

Local privacy and compatibility

  • The supported launcher requires a local Docker Engine 28 or newer. Only the relay publishes a loopback port. Remote hosting is unsafe and unsupported. The Traefik deployment was removed.
  • By default, the application and database have no external route. Provider credentials are omitted. The explicit providers option allows general outbound connections, including to a local AI server. Trusted embedding models can be preloaded and used offline. Online map tiles have been replaced with bundled land outlines.
  • File processing requires a separate disconnected worker with bounded resources and no case volume or provider keys. Archive intake and advanced OCR modes are unavailable. Do not use real case files for testing suspected hostile documents.
  • Existing accounts retain their passwords and must sign in again. Sign-ins are revocable, with a 15-minute idle lock and default one-hour lifetime. New accounts default to viewer. New passwords require 12 characters.
  • The project team draft Pilot supervised project teams with read-only viewers and explicit assignments #16 is separate and would need integration and new tests before any further consideration.

Local deployment · Regression coverage

Verification on 06c7c53

GitHub release checks passed for both images. All 2,906 ArkhamMirror backend tests ran across 27 packages without failures, errors or skips. Installed tests covered compressed TIFF, Office and PDF imports, offline OCR, browser sessions, PostgreSQL encryption and text ordering, upgrades, restore and image reload.

Disposition of the 12 advisories. Neither curl library is installed in the app. The PostgreSQL image no longer includes SQLite. Critical package matches fell from 24 across 12 IDs to 7 across 3 IDs. The app has 2 Critical and 132 High matches. PostgreSQL has 5 Critical and 106 High. No new package/advisory matches appeared. System XML and database glibc remain open. The TIFF match concerns a utility absent from the image. No findings were suppressed. These results cover package advisories and do not close the independent application review.

Poppler's own tests passed 70 of 71 suites. The same OpenPGP signer check failed against the standard Debian library. The build allows only that exact matching failure. Use independent signature verification. Building the app from source now takes longer and requires the pinned Poppler test files. No public image or release has been updated.

Previous verification on 102a6b0

GitHub release checks passed on the draft. All 2,906 backend tests ran across 27 packages with zero failures, errors or skips. The browser, populated upgrade from 2.2.0, backup restore and image export and import checks passed.

Additional tests cover OCR access, ownership of stored originals and search results, and who can read or cancel Dashboard jobs. Checksums of two synthetic 2.2.0 originals matched after restart. Older search entries with incomplete ownership records may need rebuilding. The Dashboard queue is still shared internally. Only local use by one trusted owner is supported.

The two image reports contain the same package and advisory matches as the previous run. The 24 Critical matches span 12 distinct advisory IDs. No vendor fix was listed for any High or Critical match. Whether the affected components are used in local workflows still needs review. Daybreak has not independently retested this revision. No release or Docker image was published.

Previous verification on 8604d48

GitHub release checks passed. All 2,884 backend tests ran across 27 packages with no failures, errors or skips. Installed Linux amd64 checks covered restricted networking, disconnected processing, a missing worker, synthetic offline embedding inference, session expiry and revocation, independent tabs, legacy OCR, populated upgrades, backup restore and reloading both images. A separate local rehearsal kept the original 2.2.0 Compose settings and test accounts when switching to the new launcher.

Package/advisory matches include 18 Critical and 178 High in the app, and 6 Critical and 110 High in PostgreSQL. The scanner reported zero with an available fix at those severities. A match alone does not establish exposure. Independent reassessment remains pending. No public images were updated.

@mantisfury mantisfury changed the title Repair casework and evidence recovery, and require a reviewed Docker release Harden local Docker access and file processing, repair casework, and gate releases Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant