Huntable v7.8.1: Codex enrichment, two stored-XSS fixes, and one eval system retired


Huntable CTI Studio v7.8.1 “Europa” shipped today, September 2. It covers everything since v7.8.0 (August 19): 76 commits, 266 files, and a long list of fixes. It is a patch release by number, but there is real substance in it. Here are the deets:

What’s new

Sigma rule enrichment on a Codex subscription. The Codex provider landed in v7.8.0 for the workflow agents. This release brings it to queued rule enrichment, so you can enrich rules without an OpenAI API key. Every enrichment now stores its provider, model, and a rule-scoped transcript, and a Start Chat button reopens that transcript after a reload with the same provider. The chat is deliberately boxed in: it will revise the current rule or discuss earlier turns, and it refuses unrelated research, tool use, or anything that looks like an external action. That was a deliberate choice. An enrichment chat that can wander is an injection surface.

Prompt drift now shows up without clicking. The prompt validator was accurate. It was also three panels deep, so a CmdlineExtract prompt sat broken for two days behind a button that would have flagged it instantly. It now runs on every config load and badges the failing agent on the collapsed header. Amber for warnings, red for a missing system, instructions, or json_example section. Warnings never block a save or a run.

Workflow Config history has a retention policy. The workflow config revision table had no pruning at all. It now keeps 60 days or 2,000 revisions, whichever is more. The floor is the part that matters: that table is your undo history, and I recovered a prompt from config id 7224 once. The busiest day on record wrote 863 rows. Both windows live in app_settings and can be changed through the settings API. There is no UI field for them yet.

Two small ones. The SIGMA Queue summary has a fifth card for needs_review. It was 414 of 808 rules, 51% of the queue, and had no one-click filter. The articles page now shows an “N filters active” badge when the filter panel is collapsed, so 279 of 7,741 articles is never a mystery.

Removed: the Sigma eval subsystem

I removed the end-to-end Sigma rule benchmark. Trying to create this end-to-end eval lead to a realization: How a blue team practitioner chooses to author rules is not strictly a "pass/fail" exercise for at least two reasons:

  • Any given technique leaves traces in various telemetry sources and the chosen placement of a rule is not something I can predict
  • How literal you want your rule to be (e.g. where you place your wildcards or which strings you include) is a matter of professional judgement.

So we can't predict all the "accurate" outputs well enough to make and eval at the level of "did the system emit the correct Sigma rules."

It measured resemblance to one rule set, not detection quality, and expanding the corpus would have bought statistical power on the wrong number. Everything it still usefully signaled is covered by the extractor evals and the rule-validity gate. So I cut it rather than keep publishing a metric I could not defend.

Fixes that change your output

  • One near-duplicate rule was discarding its whole batch. The queue-promotion gate used the batch max similarity. If one rule cleared the threshold, every novel sibling generated alongside it was dropped, silently, and nothing recorded why. It also defeated the fail-open routing to needs_review. Each rule is now judged on its own score.
  • Articles were silently dropped on re-scrape. Re-scraping a known URL that carried a hunt score hit an ORM expiry error, the error was swallowed, and the article vanished. Fixed, with an integration test against a real async session.
  • Eval precision rewarded silence. The per-article precision fallback credited an extractor that returned nothing with 100% precision. At fix time, 223 of 911 scored rows hit that branch. If your extraction step produces nothing and the scoreboard says perfect, the scoreboard is garbage. Client now matches the server’s 0.0.
  • Sigma validation was running the wrong provider. With the Sigma agent set to Codex, Validate Rule silently fell back to a different provider while keeping the configured model name, then reported “model not loaded” three times for a provider you never selected. Fixed. The config also rejects provider/model pairs that can only fail at call time, and refuses to save if an enabled extractor has no prompt.
  • Config versions were not unique. Two writers read the same max version and both committed it. 164 version numbers were shared by two or more rows, the worst by five. Allocation now draws from a Postgres sequence. A migration renumbers the collisions.
  • Registry and Services prompts failed validation because the - [ ] checklist markers had degraded to plain bullets. The checklist was intact. The validator looks for the literal token. Restored across all 14 prompt files.
  • Also: sorting by annotation count now sorts by annotation count instead of hunt score, the RegexHuntScore filter no longer strands articles between adjacent buckets, and a not (not x) in the similarity engine no longer wipes a rule’s entire atom set.

Operator stuff

  • Diags page: queue status and job history attribute rows to their real task and worker instead of a UUID-substring guess, the false “TESSERACT missing” alarm is gone, and a degraded service now actually reddens the card.
  • Junk Filter Tuning: a 1,250-chunk article took 65 seconds behind a static spinner. It now reports real progress. The first fix instrumented the per-chunk loop, which turned out to be 11% of the wall time, so the second fix covers the whole run. The modal also opens with one feedback request instead of one per chunk.
  • Keyboard and screen reader access on the Workflow Configuration tab, Junk Filter Tuning, and the sources page.
  • 30 redundant model-validation requests on every workflow config page load are gone.
  • Dozens of smaller items across /articles, /sources, /settings, and /workflow. Full list in the changelog.

Security

  • Two stored XSS bugs. The article body reached the DOM unescaped whenever scraped content contained a literal <span class=. Any CTI blog post with an HTML code block produces that string after entity decoding. Five more unescaped innerHTML sinks in the dashboard, hunt-metrics, and article-detail chunk dialogs are closed.
  • Security response headers. The app sent none. Now there is an enforced CSP covering what the templates already comply with (object-src, base-uri, frame-ancestors, form-action), plus X-Frame-Options, nosniff, and a referrer policy. A Report-Only policy measures the 341 inline event handlers that still block a strict script-src. I would rather measure that surface than guess at it.
  • Stored credentials stopped round-tripping to the browser. The settings page was loading full plaintext API keys into password inputs. A 164-character OpenAI key, a GitHub PAT, the Anthropic key, both Langfuse keys, all readable from devtools. Read routes now return a configured flag and a hint. An empty field no longer deletes a stored key.
  • Supply chain. Tailwind is built locally instead of pulled from a CDN at runtime. Subresource Integrity is back on every remaining third-party script.

Docs and models

Every section of the docs site went through a page-by-page accuracy audit this cycle. claude-fable-5-1 is registered in the Anthropic catalog with its context window.

Upgrading

Pull the tag and rebuild. Two migration scripts ship with this release and are not applied automatically:

  • scripts/migrate_workflow_config_version_unique.py renumbers colliding config versions and creates the unique index and sequence. The app runs safely before you apply it.
  • scripts/migrate_drop_sigma_evaluations.py drops the retired eval table.

Release notes: https://github.com/dfirtnt/Huntable-CTI-Studio/releases/tag/v7.8.1
Full changelog: https://dfirtnt.github.io/Huntable-CTI-Studio/CHANGELOG/
Source: https://github.com/dfirtnt/Huntable-CTI-Studio

Caveats: Default mode is still unauthenticated and meant for a trusted local network. The CSP is enforced only for directives the templates already comply with; script-src is Report-Only until the inline handlers are migrated, so it does not yet stop an injected script on its own. Escaping remains the primary defense.

If you are running the pipeline against your own sources, I am curious which fix in this list you actually hit. The novelty gate and the silent re-scrape drop are the two I would have wanted to know about sooner.

Happy hunting, Andrew

Huntable CTI Studio

Follow the build. Shape the future of this agentic CTI pipeline.

Read more from Huntable CTI Studio

Hey all, v7.9.0 "Europa" shipped on September 25. Most of this release is about one thing: what reaches your Sigma rules repo should be correct, attributable, and pass CI the first time. Here's what changed. 1. Publisher-authored Sigma rules pass through untouched Some publishers put complete Sigma rules right in their articles. Before this release, those went through the LLM like everything else. Now a deterministic scanner (no LLM) finds them in article content and keeps the exact source...

Hey there, Just shipped v7.8.0 “Europa” — this one’s mostly about closing gaps that could fail silently and hardening the parts of the system that touch your infrastructure directly. Highlights: 🔌 Run workflows on your ChatGPT subscription, not just an API key Workflows can now route through a Codex-backed provider using a managed ChatGPT subscription instead of requiring a separate OpenAI API key. Three new quickstart presets (Sol, Terra, Luna) target the gpt-5.6 family out of the box. 🔒 The...

Hey team, v7.7.0 is out. This is a consolidation release: 56 fixes, 42 documentation commits, 20 refactors, and 15 features. Nothing here is especially flashy. But several things I had been quietly worried about are now fixed properly. Workflow runs are reproducible now This was the deepest problem. Executions were saving incomplete configuration snapshots. Workers then re-read the active configuration minutes, and sometimes hours, after dispatch. Editing a prompt could change a run that was...