grith

agent
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: MPL-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 6 GitHub stars
Code Basarisiz
  • exec() — Shell command execution in .github/ISSUE_TEMPLATE/bug_report.yml
  • rm -rf — Recursive force deletion command in .github/workflows/ci.yml
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

OS-level security supervisor for AI coding agents. Gates security-relevant syscalls on Linux and pauses ambiguous actions for human review.

README.md

grith is an OS-level security supervisor for AI coding agents. It intercepts every syscall your agent makes and decides what actually runs.

Claude Code running under grith: routine file reads, writes and tests are allowed, then an attempt to POST .env to an external host is denied

Claude Code ships the feature, then tries to POST .env to an outside host. grith denies it at the kernel boundary.
grith.ai  ·  Documentation  ·  Security model


Quickstart

Install on Linux (x86_64 or arm64):

curl -fsSL https://grith.ai/install | sh

Wrap the agent you already use:

grith exec -- claude-code "fix the failing test"

Or run grith's own agent, with the same filters in front of every tool call:

grith run "list every TODO in this repo"

Every file read, shell command, network call, and process spawn is scored before the kernel executes it:

Score Verdict What happens
under 3.0 allow the call proceeds
3.0 to 8.0 queue the process freezes until you approve or deny it
over 8.0 deny the call never runs

Nothing runs on a maybe. Eleven built-in profiles (claude-code, codex, aider, cursor, cline, copilot, goose and others) auto-allow each tool's routine work, so the queue only sees the calls worth your attention.

Supported platforms, other install methods, and building from source
Platform Architecture Status
Linux x86_64 supported (kernel 4.8+)
Linux aarch64 supported (kernel 5.3+)
macOS Apple Silicon / Intel v2.0 - needs an Endpoint Security backend
Windows x86_64 v2.0 - needs an ETW backend

The installer auto-detects your platform, verifies the SHA-256 checksum, and installs to ~/.local/bin. Pass --global to install to /usr/local/bin, or --version <version> to pin a release:

curl -fsSL https://grith.ai/install | sh -s -- --global

You can also download a binary directly from the latest release, or build from source with Rust 1.88+ and Node 22+:

git clone https://github.com/grith-ai/grith.git && cd grith && make dist

Full build instructions are in the documentation.

Verifying a release

Every release ships a static musl binary with a SHA-256 checksum, a cosign keyless signature, a CycloneDX SBOM (itself signed), and SLSA build provenance. If cosign is on your PATH, the installer verifies the signature against the release workflow's identity automatically - no flags needed. To verify by hand, see release verification.

What leaves your machine

By default, nothing. The free tier runs entirely offline: no account, no telemetry, and the audit log stays in local SQLite. Paid tiers validate their licence against grith.ai roughly once a day, and sync aggregated analytics - counts, verdicts, risk and filter attribution, never commands, file paths, prompts or payloads - until you turn that off with general.audit_sync = false (licence validation continues; air-gapped deployments disable it too). The raw audit log never leaves your machine.

Supervision-escape enforcement is on by default as of v0.2.5: spawning something that hands work to an unsupervised peer (systemd-run, docker, tmux) reaches the review queue rather than running unseen. Non-interactive sessions have no one to ask, so they fail safe and deny - if a CI script legitimately delegates, permit the binary in its profile or set supervisor.enforce_authority_delegating_spawn = false.

Documentation

Contributing

Pull requests are welcome - start with CONTRIBUTING.md, which covers the CLA and the local setup. grith is developed in a private monorepo and exported here per release, so this repository's history is one commit per export rather than per change; PRs are reviewed on GitHub and applied upstream with attribution.

Found a security issue? Please follow SECURITY.md rather than opening a public issue.

Licence

Repository code: MPL-2.0

Pro and Enterprise capabilities ship in the same binary and are unlocked by signed licenses. Hosted billing, license issuance, and cloud sync infrastructure are not part of this repository.

Yorumlar (0)

Sonuc bulunamadi