Repository navigation
Backlog
Labels
bountyCommunity bounty: detection/DLP rule contribution, see the bounty program issue
Description
Why
Sequence rules today join on order inside a session window (see #431). That fires on coincidence and misses the real question: did the data that was read actually leave the machine? This slice adds the first piece of an entity-linked signal layer: entities derived from the trail, and one rule that joins on entity identity (the same file digest) instead of order alone.
Scope (Phase 1 only)
- Entity index. Derive a read-only entity index from the existing JSONL trail. Entity kinds: session, host, agent, account, file digest, destination (host:port), MCP server (hashed id), tool name. Events are edges. Storage is a new local file under the data directory; schema bump to 1.4.0 is additive only (no existing event field changes, no new content capture: digests and already-logged fields only, same redaction rules).
- First entity-joined rule. A rule that fires when a sensitive file read (the existing credential-read detection) is linked to a later egress event by the same file digest in egress metadata, regardless of which came first in the window, and that stays silent when the digests differ. The existing order-based rules (credential-read-then-egress, credential-exfil) stay as they are.
- Retroactive signals. Observations and read events stay queryable beyond the current 240-minute sequence window so entity-joined correlation is not window-bound. Document the effective window for the new rule.
Out of scope
LLM reasoning passes, a hunt-skill runner, and any dashboard graph UI. Later phases, separate issues.
Acceptance criteria
- Claim this slice in a comment before opening the PR. One slice per PR (house rules in Bounty program: community detection/DLP rules with corpus fixtures #454 and CONTRIBUTING.md).
- Schema 1.4.0 additive, checked by the schema tests; privacy review: the index stores only hashes/digests and fields already in the trail.
- Corpus: at least one attack case (read of a sensitive path, then egress carrying the same file digest), one benign case (read, then unrelated egress), one benign case (digests differ). Benchmark stays at zero misses and zero false positives; CI enforces the README counts, so update them.
ruff checkclean, full pytest green,agentmetry benchmark0/0 on the enlarged corpus.- Detection changes replay against recorded history before merge; the maintainer runs the private replay.
- Docs: detection docs entry, Sentinel page entry if the rule maps there, ATLAS/ATT&CK mapping for the new rule, changelog entry. No em dashes in public copy.
- Synthetic fixtures only in tests and corpus. Never use the live trail for tests.
References
- detection: credential-read-then-cloud-api fires on order, not on where the secret goes #431 (order-based matching fires without dataflow binding)
- detection: agent-specific signals to add after the freeze #317 (parent detection-signal backlog)
- Bounty program: community detection/DLP rules with corpus fixtures #454 (bounty program and gates)
Metadata
Metadata
Assignees
Labels
bountyCommunity bounty: detection/DLP rule contribution, see the bounty program issue
Activity
RogerYeh1990 commentedon Nov 30, 2026
Hi Ioannis! Is this slice still open, and do you accept AI-assisted contributions with manual review? I'm based in Taiwan. Before considering a claim, could you clarify whether the bounty is cash-paid or a non-monetary contribution program? I'm asking about the phase-1 entity index and digest-matched rule only.
diyaavirmani commentedon Dec 1, 2026
claim
I'd like to take this Phase 1 slice (one PR, per #454 and CONTRIBUTING.md).
Plan:
I can have a reviewable PR up in about 4 days and will sign the CLA on the PR. I saw on #454 that no paid round is open right now, so I'm claiming this for the contribution credit and priority review.