Interactive Reference18 Versioned GraphsBounded CEL + Calibrated Judge

Decision Graphs Catalog

Each graph routes kernel events through deterministic CEL read steps and optional pinned judge probability evaluations before proposing an operator-sealed action.

Embedded defaultrev 1jev (jev-1.14.0)

Exec in container (built-in default)

This graph checks programs started inside containers. For executables under /tmp, /var/tmp or /dev/shm, it asks whether the same session placed the program there and ran it.

Live CEL & Judge Simulatorno ≤ 0.15 · yes ≥ 0.85
RING 0 EVENT3sBOUNDED CELmatched <1msJUDGE GAUGEp = 0.91GATE BLOCKEDHUMAN SEALisolate-containerp=0.91 >= 0.85 → BLOCKED AT SEAL GATE

Graph proposes "isolate-container" and stops cleanly at the Human Seal Gate until an operator approves.

Entry CEL predicate
event.kind == "exec" && process.container_id != ""
Settle window & required watch policies
3s
Decision route (7 steps)
writable-path
read
Was the program started from a directory anyone can write to?
process.binary.startsWith("/tmp/") || process.binary.startsWith("/dev/shm/") || process.binary.startsWith("/var/tmp/")
dropped
judged
Was it put there and then executed by the same session?

Within the entries shown, a program was copied or downloaded into a world-writable directory, made executable, and then executed.

no ≤ 0.15uncertain bandyes ≥ 0.85
called-out
read
Did it open a connection to the outside?
entries.exists(e, e.kind == "kprobe" && e.hook == "tcp_connect" && e.binary == process.binary)
confident
check
Is the route confidence 0.90 or more?
route_confidence >= 0.90
propose-isolate
actionpropose: isolate-container
Propose to isolate the container
propose-kill
actionpropose: kill-process
Propose to kill the process
to-a-person
actionpropose: review
Bring it to a person
exec-in-container.yaml
graph: exec-in-container
revision: 1
about: This graph checks programs started inside containers. For executables under /tmp, /var/tmp or /dev/shm, it asks whether the same session placed the program there and ran it.
judge: {name: jev, version: jev-1.14.0}
enter:
  when: event.kind == "exec" && process.container_id != ""
  settle: 3s
start: writable-path
steps:
  writable-path:
    kind: read
    ask: Was the program started from a directory anyone can write to?
    expr: process.binary.startsWith("/tmp/") || process.binary.startsWith("/dev/shm/") || process.binary.startsWith("/var/tmp/")
    yes: dropped
    no: close
    says: {yes: ran from a writable directory, no: not from a writable directory}
  dropped:
    kind: judged
    ask: Was it put there and then executed by the same session?
    proposition: Within the entries shown, a program was copied or downloaded into a world-writable directory, made executable, and then executed.
    evidence: {scope: process-tree, window: 60s, max_entries: 40}
    no_at: 0.15
    yes_at: 0.85
    yes: called-out
    no: close
    uncertain: to-a-person
    says: {yes: put there and executed, no: not dropped by this session, uncertain: may have been dropped}
  called-out:
    kind: read
    ask: Did it open a connection to the outside?
    expr: entries.exists(e, e.kind == "kprobe" && e.hook == "tcp_connect" && e.binary == process.binary)
    yes: confident
    no: propose-kill
    says: {yes: called out, no: made no connection}
  confident:
    kind: check
    ask: Is the route confidence 0.90 or more?
    expr: route_confidence >= 0.90
    yes: propose-isolate
    no: to-a-person
    says: {yes: confident route, no: not confident enough}
  propose-isolate: {kind: action, ask: Propose to isolate the container, propose: isolate-container}
  propose-kill: {kind: action, ask: Propose to kill the process, propose: kill-process}
  to-a-person: {kind: action, ask: Bring it to a person, propose: review}