Repository navigation
Releases: huntbase-io/hunt-md
Releases · huntbase-io/hunt-md
Release list
hunt.md 0.7
Format (SPEC)
- §5.7 Prevalence and baseline —
prevalence: {key, by, rare_below}andbaseline: {window, compare}: the stack-count-and-compare pattern. A runtime capable of native first-seen or prior-window calculation executes them directly; others run the query as written. Both travel as namedprimitive_configkeys. Quality profile warns when no query declares prevalence or aggregates. - §3.7 Typed parameters and indicator provenance —
type:supports scalar primitives (string,duration,cidr,regex, etc.) and typed listslist[<member>](list[domain],list[ip],list[url],list[hash],list[path]). Volatile indicator lists declarefrom: {kind, ref, observed}. Quality profile warns on volatile indicators observed over 365 days ago. - §5.8 Query role and paired portable form —
role=info-string attribute (scoping,baseline,enrichment,triage,detection-candidate). A secondary fenced code block flaggedportable(sigma,yara,yara-l,stix,suricata,snort) attaches as the query's portable twin rather than redefining the step.hunt.handoff: promote-to-detectionwithout adetection-candidatequery is an info note by default and a warning underquality. - §3.8 Related hunts and series —
series: {slug, index, total, title}for multi-part investigation chains, andrelated: [{hunt, relation, reason}](precedes,follows,sibling,alternative,supersedes,superseded-by,out-of-scope-alternative). CLI--split -o <dir>splits multi-hypothesis MISP events into series-wired hunt files. - §8.2 Agent context budget and citation demand —
context:entries accept{step, rows}objects to bound evidence input tokens alongside bare step names;cite: required | optionalstates explicit citation demands at the step level. - MISP hygiene (#11) — Stricter
is_misp_eventshape verification prevents non-event YAML/JSON from being misidentified. CLI--dateargument (orcreated:frontmatter) pins the event date for reproducible, byte-stable fixtures.misp-galaxy:mitre-attack-patterntags emitted from named ATT&CK references;workflow:statemirrors context status; sigma logsource target derivation replaces SIEM guesses; multi-event restSearch responses parsed and split cleanly.
Tooling & Compatibility
- Backward compatibility promise (0.6 → 0.7): Frozen copies of the 0.6 repo hunts added under
tools/tests/fixtures/*-0.6.md;check.pyasserts they lint with identical errors and warnings underformatandhuntbaseprofiles. - JSON & CACAO export serialization: CLI
convertpassesdefault=strtojson.dumpsfor--to cacaoand--to jsonsodatetime.dateobjects serialize without error. - CLI
--dateflag: Wired through_cmd_converttomarkdown_to_misp. - Portable rule export/import: In MISP, portable twins export as standard
sigma/yaraobjects linkedtests→ hypothesis andderived-from→ the query step; re-import restores them as twins. In CACAO, twins ride inx_hunt_portable.
See CHANGELOG.md for complete details.