Skip to content

Graphicle 0.1.20

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 01:16
· 8 commits to main since this release

Every crate is at 0.1.20, and graphicle --version prints
graphicle 0.1.20 (core). The Python and TypeScript SDKs are at 0.1.20 too.
This is a security release: indexing a repository no longer looks at a
network path the repository names, which on Windows could hand the
user's credentials to another machine. No migration of the store runs.
As after every release, each file is extracted again once (the
extraction cache is kept per version).

Security

  • Indexing a repository no longer looks at a path on another machine
    that the repository itself names (the class of Graphify's
    GHSA-g6c9-j4vm-mwq4, fixed there in 0.9.115 for shell scripts and .git
    files, reported to Graphify by Torch4084). On Windows, looking at a
    path such as \\host\share\x or //host/share/x makes Windows connect
    to that host and offer the user's credentials, so a hostile repository
    could collect them from anyone who synced it, with default settings.
    Such paths could come from a shell script's source line or script
    invocation, a Markdown link, a solution or project file's project
    reference, a tsconfig.json, a .git file or folder (gitdir:,
    commondir, alternates, config includes and values) or a symbolic
    link. Now:
    • every shared reader (file checks, path resolution, the source
      reader) refuses a path on another machine during a scan, unless the
      folder being indexed is itself on a network share and the path is
      inside it; a reference to such a path stays in the graph as text but
      is never opened;
    • a symbolic link to another machine is not followed, unless the path
      being resolved is itself on one;
    • a shell script's paths must also stay inside the folder being
      indexed, so a script's link to a file outside it is no longer made;
    • git is not run in a checkout whose git files (.git file or folder,
      commondir, alternates, config, submodules) lead it to another
      machine, include
      other config files or define a filter command (Git LFS's own filter
      is allowed), looking past a .git folder that is not a repository as
      git does; such a checkout is indexed without git,
      so its info/exclude and core.excludesFile rules are not applied.
      Two path separators of either kind at the start count as another
      machine, as do Windows device and \??\ paths other than a local drive.
      A path is also refused when one of its folders below the folder being
      indexed (or anywhere in it, outside every indexed folder) is a link to
      another machine. Known limits, to be lifted in a later release: a
      repository on a network share whose git files point into the same share
      is indexed without git, and Cargo workspace links between crates on a
      share can be missing.
  • url goes from 2.5.8 to 2.5.9 in every crate (with form_urlencoded
    1.2.3), for RUSTSEC-2026-0592: Url::origin() recursed once per nested
    blob: prefix, so one crafted URL, such as a next-page link from a
    connected server, could overflow the stack and stop the program.
  • A project's status (graphicle status --json, the repository_status
    tool) reports write_lock, the process-wide report of slow
    write-lock holders with their code locations, only to a credential that
    may administer the workspace; reader and other keys get the rest of the
    status without it (reported by @andreimerlescu).

Fixes

  • An empty GRAPHICLE_DATA_DIR or XDG_DATA_HOME counts as unset: an
    empty GRAPHICLE_DATA_DIR made graphicle init fail with
    "not writable", and on Linux an empty XDG_DATA_HOME put the store in
    the folder the command ran from. The Python SDK already read them this
    way (#47, by @leninworld).
  • An empty CLAUDE_CONFIG_DIR or CODEX_HOME counts as unset in
    graphicle sessions import, which failed with "Transcript path not
    found", and in setup and connect codex --hooks, which wrote Codex's
    hooks.json to the current folder (#48, by @leninworld).
  • An empty CARGO_HOME counts as unset, as in Cargo: graphicle update
    and graphicle uninstall did not recognise a cargo install and gave
    the install script and rm commands instead of Cargo's (#49, by
    @leninworld).
  • An empty PGPASSFILE or HOME counts as unset when reading the
    PostgreSQL password file, as in libpq: an empty PGPASSFILE looked for a
    file named "" instead of ~/.pgpass, and an empty HOME read .pgpass
    from the current folder (#50, by @leninworld).

Install

brew install graphicle-ai/tap/graphicle
# or
curl -fsSL https://github.com/Graphicle-AI/graphicle/releases/download/v0.1.20/install.sh | sh -s -- --version 0.1.20

On Windows (x86-64, preview), in PowerShell:

$env:GRAPHICLE_VERSION = '0.1.20'; irm https://github.com/Graphicle-AI/graphicle/releases/download/v0.1.20/install.ps1 | iex

Each archive's SHA-256 sum is in SHA256SUMS and beside it in a .sha256 file.

graphicle.exe and graphicle-graph.exe in the Windows archive carry a signature from a SignPath test certificate. Windows does not trust that certificate, so it treats them as unsigned programs and may warn before it runs them. Code signing policy