trackslash
VAULT-113 P1 For an agent

Mac app: security review, and the security model's Mac rows

0
Sub-issue of VAULT-101 P2 A native Mac app

Description

Part of VAULT-101. It needs VAULT-106 to VAULT-112.

A security review of the Mac app before it ships, done the same way as VAULT-82's review of the iOS app.

  • Check the Mac app against MANIFESTO.md C1–C10, docs/security-model.md, docs/mac-app.md and the FAQ, with read-only review agents for: locking and the password; the vault file and keychain; the clipboard and text; windows and capture; backups and transfers; AutoFill; and the sandbox and entitlements.
  • Disclosure: neutral PR titles and descriptions for fixes, and no exploitable detail in public until it's fixed (SECURITY.md).
  • Isolation: confirm the vault has no way in from outside the app and its AutoFill extension. That covers no XPC services, no URL schemes that read items, no App Intents or Shortcuts that return item data, no AppleScript, and no shared files outside the App Group.
  • Security model:
    • every promise the Mac app makes has a row, with its code and the test that pins it;
    • every G row that doesn't apply on the Mac says so;
    • the Mac's limits are listed under Accepted limits.
  • A hands-on check on a real Mac: inspect the App Group container and keychain items, and confirm nothing readable is left there while locked.

Done when

The review's findings are fixed or accepted with a reason, and docs/security-model.md covers the Mac app completely.

Linked issues

0

GitHub

0

No branches or pull requests linked.

Comments

1
Bradley

Fixed in https://github.com/badbundle/vault-app/pull/723 (merged as 142c5a2c).

Seven read-only reviews checked the Mac app against MANIFESTO.md, docs/security-model.md, docs/mac-app.md and the FAQ. They covered locking and the password, the vault file and keychain, the clipboard and text, windows and capture, backups and transfers, AutoFill, and the sandbox and entitlements. They found no way into the vault from outside the app and its AutoFill extension. The PR fixes what they found, or records it under Accepted limits with the reason:

  • Locking:
    • closing the main window locks Vault, whatever else is open;
    • locking clears the clipboard, closes Open, Save and Print panels and resets the sidebar;
    • the lock screen forgets a password typed before Vault locked again;
    • minimising hides a window's contents.
  • Settings and text:
    • Vault's settings are read only from its own preferences;
    • single-line fields keep no undo history, and a note's undo history is its own;
    • Look Up shows nothing.
  • AutoFill:
    • the sheet locks when the user goes to another app;
    • it offers time-based codes only;
    • it empties the system's list of codes.
  • Backups:
    • a transfer stopped while its codes are being made never shows them;
    • panels start in Documents, and an erase forgets the folders they showed;
    • only real prints count as backups;
    • Auto-Backup says when it's waiting.
  • docs/security-model.md now covers the Mac completely: the rows with a Mac version, the rows that don't apply, the Mac's threat model and the new accepted limits. RELEASE.md gains the Mac's hand checks (capture, locking, clipboard history, AutoFill).

Follow-ups: VAULT-117 (Auto-Backup timing, a decision for Bradley) and VAULT-118 (private).