This is the record of an abcd-managed repository

abcdBetav0.16.2 · 2026-11-06

Development record

abcd creates its home folder ~/.abcd with different permissions depending on which command creates it first: the credential store makes it private to the account (0o700), while ahoy's history store and owned copy make it readable by other accounts on the computer (0o755). On a Mac shared by several accounts, whichever runs first decides whether others can list abcd's home. Found by the dashboard design's security review.

issueresolvedminoriss-2610032205304585

abcd creates its home folder ~/.abcd with different permissions depending on which command creates it first: the credential store makes it private to the account (0o700), while ahoy's history store and owned copy make it readable by other accounts on the computer (0o755). On a Mac shared by several accounts, whichever runs first decides whether others can list abcd's home. Found by the dashboard design's security review.

Grounds

  • pursued: TestEveryHomeWriterMakesTheHomePrivate holds every home-creating call (14 judged) to abcdhome.DirMode with an armed twin, TestHomeWritersMakeTheHomePrivate and TestBootstrapMakesTheHomePrivate assert 0700/0600 on a fresh home, TestAnEarlierIndexIsNarrowedAtItsNextWrite the narrowing; a home created 0755 by any command first, or a record left 0644 after its rewrite, would show it wrong. Two security reviews (Fable) closed every finding.

Frontmatter

idiss-2610032205304585
typeissue
lifecycleresolved
severityminor

mentions1