Release
Skarn 0.39.0: Grok Build 2.0 sessions
Skarn 0.39.0 reads the sessions written by Grok Build CLI 2.0 and by Grok Build (formerly
Cursor), the desktop app. The scan also reads the tool results Claude Code saves beside a
session, the curl and wget rules read curl.exe, and skarn setup and
skarn doctor take the other Claude Code config directories in your home folder.
Published 2026-12-03. Updated 2026-12-03.
Grok Build 2.0 sessions
Cursor is now Grok Build. Skarn 0.39.0 reads the sessions written by Grok Build CLI 2.0, the terminal app, and by Grok Build (formerly Cursor), the desktop app. The scan and the recall commands cover them with the commands you already use. Sessions from Grok Build CLI 1.x and from earlier Cursor versions are read as before. One scanned session shows the output.
Measured on macOS with Grok Build CLI 2.0.6 and 2.0.7 and the desktop app 3.33.4.
Terminal app sessions are listed under grok and desktop app sessions under
cursor. A session shows its prompts, the assistant's text, its tool calls with the tool
output the session records, its model and its title, and a terminal app session shows its token usage.
skarn inventory lists the two new session stores.
These sessions are scanned like any other, so a finding in one counts toward the exit code of
skarn check. A session Skarn cannot decode is counted as a store that could not be read,
once per run.
The manual, the README and getskarn.com now title the two hosts Grok Build (formerly Cursor) and Grok
Build CLI. The --cli values cursor and grok and the command
output are unchanged.
Claude Code saved tool results
Claude Code saves a large tool result as a file beside the session and leaves a short preview in the
transcript. skarn check, skarn assess, skarn baseline audit, the
scan in skarn serve, the MCP scan_sessions tool and the guard's session-end
advisory now read those files. A scan of sessions you already scanned can report findings it did not
report before.
- A credential found only in a saved file is one finding. It names the saved file and the line in it, and carries the session id and the project of the session the file belongs to.
- A credential that a transcript preview and its saved file both hold is two findings and counts once in the risk score.
- A saved file over 16 MiB, a binary file and a file Skarn cannot read are skipped and counted in the coverage counts. A session admits at most 64 MiB and 512 saved files.
The recall commands select and show what they did before, and they mask a value the scan first detected in a saved file.
Credentials in curl.exe commands and Authorization headers
- The curl and wget credential rules read
curl.exeandwget.exein any letter case, quoted or not, with or without a directory, as PowerShell sessions write them. Before, a command that named the program that way was not flagged by the scan or by the guard. A name such aslibcurl.exestays silent. - A new rule,
auth-header-bearer, reports a Bearer token in anAuthorizationheader wherever the header is written: a PowerShell-Headerstable, or a header option ofwgetorcurl. Each finding is high. wget-authalso reads the wget password options for HTTP, FTP and proxy authentication, when the value follows an equals sign.
The bundled rules now number 255.
If you gate on a baseline. A curl command that carries a Bearer token still reports
under bearer-token-in-curl, with the fingerprint it had. auth-header-bearer
matches the same value and has its own fingerprint. When your baseline already accepted the curl finding,
Skarn suppresses it and reports the value under auth-header-bearer, so a run gated with
--baseline can fail after the update. Accept the new fingerprint once you have confirmed it
is the value you accepted before:
The fingerprint is in the SARIF output under partialFingerprints and in the NDJSON output
as skarn.fingerprint.
Claude Code config directories and managed settings
skarn setuphonoursCLAUDE_CONFIG_DIRfor Claude Code. An absolute value moves the settings file that setup wires, updates, removes and prints.skarn setup --config-dir <dir|all>wires the guard into other Claude Code config directories.alltakes every.claudeor.claude-<name>directory in your home folder that holds asettings.json, a.claude.jsonor aprojectsfolder.skarn doctorreads the server-managed settings Claude Code caches on the machine, as the highest managed source. Hooks found there report as wired through organization managed settings.- A new doctor check,
claude_config_dirs, reports the guard wiring of each Claude Code config directory.
Gemini CLI under the macOS sandbox
Gemini CLI 0.61.0 and later writes the sessions of a run under the macOS Seatbelt sandbox to
~/.cache/.gemini/. Skarn now reads the chats and the prompt log there. Measured on macOS
with Gemini CLI 0.71.1.
Corrections
- Cost figures:
gpt-6.2-astraandgpt-6.2-solare priced, andgemini-4-argonmoves to its published rate from 2026-12-01. - JSON output and
skarn serveresponses replace invalid UTF-8 bytes in a string, so the output stays valid JSON.
Every command and option is in the manual.
Get 0.39.0
Install or update, then run skarn assess to scan the AI coding sessions
on the machine.