Skip to main content

Garnet record ready

The Garnet Runtime Review GitHub App publishes Garnet record ready on the current pull request head SHA for eligible PRs. The installation needs Checks read & write permission; the Garnet Action records jobs but does not publish the check. The App does not publish this check on merge-group commits. Requiring it with a merge queue blocks merges; use native auto-merge without a merge queue instead. Each output title starts with Garnet record: followed by the state below. No pending check appears until a verified sensor registration. For supported fork PRs using the artifact relay, the App can only process the artifact after the workflow completes; do not expect a pending check from a local recording that has not been relayed. A missing check is not the same as a completed neutral check.

Read the result

The output title describes what the App reported. The check’s Details link (details_url) opens the App comment when available, or the Execution Profile if available instead. The output summary is a fenced JSON block. This public check run concluded success with the title Garnet record: new behavior. Here is its summary, formatted for readability with counts omitted:
  • outcome describes the evidence, not the GitHub conclusion. status is recording while pending, finalized for a usable review, or a state such as incomplete, missing, malformed, stale, or unsupported if the review is unusable. A neutral summary can still report observed changes when capture is incomplete.
  • head_sha identifies the commit the check was posted on. On GitHub, verify evidence binding in the current-head App comment. In a coding-agent session, use MCP pr_review for the PR result and profiles for job detail. The check summary does not contain MCP’s bound_to_head or marker_commit, and it calls the classification outcome rather than result.
  • capture_quality, scope, reasons, and counts (jobs, changed, added, removed, incomplete) appear when available. Best-effort evidence is limited to what ran and was recorded.

Require the check in GitHub

First confirm the check appears on an eligible test PR. Then add it alongside CI in the target branch’s ruleset or branch protection and, optionally, turn on GitHub’s native auto-merge. Follow the auto-merge guide for the exact steps. GitHub accepts both success and neutral for required checks; a pending or missing required check still waits. After a new push, this requirement must be satisfied on the new head. Garnet never concludes failure on this check. It is not approval, a guarantee of complete capture, or a policy that blocks new behavior.

Dashboard assertions

Every monitored run is evaluated against a set of assertions — invariants that should hold for a run, like no contacted domain appears on Garnet’s known-bad list. Each result is recorded verbatim — ✅ PASS, 🔴 FAIL, 🟡 ATTENTION — with exact evidence: the process, domain, ancestry chain, and timestamp.
Assertions are separate from Runtime Review. No assertion result appears in the PR comment, job summary, or readiness check. Start at the quickstart to record an Execution Profile on a pull request.
Results live on the run in the dashboard. Slack and HTTP webhook delivery is a runtime-platform surface that the current PR-review product does not document or support. See the archived alerting reference for what it did. The PR comment and the job summary carry the record, not assertion results. Layering: a detection signal (a low-level Jibril event) composes into an assertion, whose result is recorded on the Execution Profile.

How assertions work

Record

Jibril records process spawns, network connections, and file access during the workflow run via eBPF.

Evaluate

The control plane evaluates the resulting Execution Profile against each enabled assertion.

Result

Each assertion records its result verbatim — PASS, FAIL, or ATTENTION — with structured evidence for the dashboard and alerts.
The no_* assertions shipping today are Garnet-managed. User-authored assertions — your own expected-egress or protected-path invariants — are on the roadmap, not configurable yet.

Current assertions

Known bad egress

This check caught the Trivy TeamPCP incident, the Checkmarx KICS compromise, and the Shai-Hulud npm campaign. In each case, the evidence was an outbound connection the diff never revealed. How a FAIL reads in the dashboard:

Code injection via /proc memory

Reading another process’s memory via /proc/<pid>/mem is how CI runner secrets get scraped from memory, then encoded and sent out. It’s invisible to static analysis and workflow logs; only the runtime lineage shows the access. Detection signals:
  • code_modification_through_procfs — process memory modified via procfs
  • environ_read_from_procfs — environment variables read via /proc/<pid>/environ
Evidence — TanStack compromise (May 2026): obfuscated code in 84 @tanstack/* npm packages, injected via a compromised CI release pipeline, read runner secrets from /proc/<pid>/mem in a daemonized child. The install completed normally and the read never appeared in workflow logs; the lineage shows it:

Binary execution and deletion

Drop-and-delete is a common evasion pattern: an attacker downloads a binary, runs it, then removes it to avoid leaving a trace. The eBPF trace records both the execution and the deletion. Detection signals:
  • binary_self_deletion — executable deleted itself after running
  • hidden_elf_exec — execution of a hidden (dot-prefixed) ELF binary
  • exec_from_unusual_dir — process executed from a non-standard directory (e.g. /tmp, /dev/shm)
Evidence recorded on a FAIL:

Upcoming assertions

The assertions below are in development. They roll out with no workflow changes required.

Credential file access

Hidden binary execution


Detection signals

Assertions are built on Jibril’s detection engine; a single assertion may combine multiple detection signals into one recorded result. The full taxonomy, grouped by behavior:

Using assertion results

  • In the dashboard — open any run at app.garnet.ai for per-assertion results, the full process tree, and the egress summary.
  • Via Slack / webhooks — the dashboard’s Settings → Alerting surface, kept for runtime-platform users. It is not part of Runtime Review setup and is described on the archived alerting page.