Skip to content

Security: BirchDesignLab/tare

Security

SECURITY.md

Security

What tare can do

tare runs inside Claude Code, on your machine, with your user's permissions. Only the features on at your level (or set on) register hooks; /tare lists them. Before installing, know that it:

  • Runs hooks on every session. tare is a hooks module: code that runs at session start, on each prompt, before and after tool calls, and on a timer.
  • Can refuse or change tool calls. lean-gate refuses MCP and Skill calls for extensions that are off, and hides the fleet skills while fleet-skills is off. tiering-guard sets or refuses a subagent's model and effort. papercut refuses shell commands that would fail, retries a missed Edit with line endings or whitespace relaxed, and adds one-line hints to tool results. radar answers a plain git status or gh pr checks from its own copy instead of running it. usage-meter's budget stop, when you set one, ends a turn. inbox-batcher holds messages between sessions and adds notes to a lane's message.
  • Runs programs. git (radar, shadow-undo, papercut, inbox-batcher, /meter-report, /tare doctor), gh (radar, /meter-report, /tare doctor), node (/meter backfill, /sdd install), and node or powershell to read the time zone. shadow-undo writes commits to hidden refs (refs/gbt/snap/...) in your repository's own .git and restores files only after you confirm; it never writes your index, HEAD, branch or stash.
  • Makes model calls through Claude Code, priced in usage-meter's ledger: tiering-guard sends a dispatch's description and the head of its prompt to Haiku to route it; usage-meter's cache ping forks the session's own transcript when you press Keep warm (or on its own if you set the keeper to auto); /meter ask sends a summary of your ledgers to Haiku; handoff sends the session's transcript to write a handoff.

The fleet skills run no code. The sdd workflows start subagents that run the commands in your repo's profile.

What stays local

tare runs no server, phones home to no one and sends no telemetry. What it records is in files:

What Where
usage-meter's ledger, one file per session, and its reports <Claude config dir>/usage-meter/<YYYY-MM>/, reports in <ledger folder>/reports (both settable)
papercut's hint ledger <Claude config dir>/coach/<YYYY-MM>/
handoff's saved compaction spans <Claude config dir>/handoff/compactions/<session id>/
handoff files your repo's docs/handoffs/ (settable)
/tare check results, when you write them <Claude config dir>/tare/
the sdd workflows, after /sdd install your repo's .claude/sdd-kit/, kept out of git
shadow-undo snapshots hidden refs in the repository's .git, pruned at session end
settings Claude Code's own settings, under tare's options
state (lean-gate's choices, learned cache TTL, check results, ...) Claude Code's per-plugin store, <Claude config dir>/plugins/store/

<Claude config dir> is CLAUDE_CONFIG_DIR when set, else ~/.claude. A ledger holds token counts, prices, model names, repo and branch names, subagent descriptions and timings; not prompts, replies or code. handoff's files and compaction spans do hold conversation text: keep docs/handoffs/ out of a public repo if your sessions are private.

At its first session tare reads the store files of the standalone lean-gate and usage-meter plugins, if they are still installed, to carry their settings over. It never changes or deletes them.

Reporting a vulnerability

Please report privately through GitHub's private vulnerability reporting: on this repository, open Security, then Report a vulnerability. Do not open a public issue for a security problem.

Include the tare version (/tare doctor prints it), the feature, what you did, what happened, and what you expected. Replies come on the report itself, not in public.

Supported versions

Fixes land on the latest version of tare. Update with claude plugin marketplace update tare, then claude plugin update tare@tare.

There aren't any published security advisories