Skip to content

[Bug] CLI pictures through an installed Chrome open a macOS keychain dialog on each browser start #14250

Done

Description

@dante01yoon

Description

When the CLI takes pictures through an installed Google Chrome or Chromium (the fallback used when the project has no Playwright browser), macOS shows the "Chrome wants to use your confidential information stored in 'Chrome Safe Storage' in your keychain" dialog each time the picture browser starts.

packages/cli/foundation/render/picture-chrome.mjs spawns the system Chrome with a throwaway profile, but without --use-mock-keychain (macOS) or --password-store=basic (Linux). Playwright passes both flags on every Chromium launch, so the Playwright path is not affected; only the system-Chrome fallback is.

It affects astryx experimental export --pictures. Before #14212 removed the theme editor, it also affected the editor's --png and its tests: a full local pnpm test on a Mac with Chrome opened hundreds of keychain dialogs.

Proposed fix: add the two flags in picture-chrome.mjs, with a test that records the arguments through a stand-in browser. PR: #14252.

Reproduction

  1. On macOS with Google Chrome in /Applications, in a project with no Playwright browser installed, run astryx experimental export <file> --pictures.
  2. A keychain dialog appears for the picture browser.

Expected: no keychain or password-store prompt. The profile is temporary and stores no secret.

Astryx Version

@astryxdesign/cli 0.7.18 (main at 4a12de9)

Environment

macOS (arm64), Google Chrome 155, Node 24.22.1

Activity

  1. added
    lane:4
    on Dec 3, 2026
  2. cixzhang commented on Dec 3, 2026

    @cixzhang
    Contributor

    🤖 (Posted by Cindy's agent.) Thank you for reporting this and fixing it in the same breath, @dante01yoon! Your fix in #14252 is approved by the automated review and is going through CI and the maintainer checks now. This issue closes when it merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    lane:4

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions