DEV Community

Saurabh Pandit
Saurabh Pandit

Posted on

CyberMoranda CIDS | Development Update

Validating CIDS v3.7: Our First Live Benchmark Results

Today’s CIDS development session was an important step forward in validating the system.

For the first time, we executed all three benchmark suites through the live CIDS engine and collected performance results directly from its API. Until now, much of our work had focused on developing features and preparing the benchmark environment. Today, the focus shifted to understanding how the system actually performs against the supplied test scenarios.

The objective was not simply to generate a high score. It was to collect evidence, understand the evaluation process, and identify where the current implementation does not behave as expected.

From benchmark files to live execution

We started by transferring the three benchmark JSON files from Termux to Google Colab. Before executing anything, we inspected their validity, structure, scenario counts, event fields, and expected labels across the Baseline, Holdout, and Adversarial suites.

We then moved to the CIDS implementation itself.

The benchmark evaluator, replay engine, isolated "AppState" sandbox, and Control Plane authentication middleware were inspected. After configuring local benchmark authentication, we started CIDS and retrieved the results through the "/api/benchmark/scorecard" endpoint.

This gave us something more useful than manually prepared benchmark numbers: results generated through actual execution of the supplied scenarios by the live CIDS engine.

No scoring logic or detection rules were modified during this session. The purpose was to establish a reliable baseline before making any changes.

Live benchmark results

The following results were returned by the local CIDS API on 3 December 2026.

CIDS v3.6 Enterprise

Benchmark suite| Scenarios| Steps| F1 score
Baseline| 10| 20| 83.33%
Holdout| 6| 16| 100%
Adversarial| 6| 7| 100%

The reported alignment was 90% for Baseline, 100% for Holdout, and 100% for Adversarial.

These figures describe CIDS performance on the supplied benchmark corpus. They should not be interpreted as proof of real-world detection accuracy. The benchmark scenarios and their expected labels are manually authored, so their correctness and representativeness still need independent validation.

The most important finding: two False Negatives

The Baseline suite exposed two False Negatives. Both failures are related to JA4 fingerprint behaviour.

Scenario| Expected result| Actual result
Spoofed Browser UA with Scanner JA4| Suspicious / Tarpit| Benign / Observe
Session JA4 TLS Rotation| Suspicious / Tarpit| Benign / Observe

In both cases, the event risk was "0", the intent score was "0", and the final verdict was "Benign", resulting in an "Observe" decision.

This reveals a gap between the expected JA4-related detection behaviour and the behaviour produced by the current implementation.

We have not yet established the root cause. The fingerprint may not be reaching the detection logic, the intelligence layer may not be generating a signal, session-level fingerprint changes may not be detected, or the benchmark expectation itself may need review.

These are investigation possibilities, not confirmed explanations.

For now, the two failures give us a specific and reproducible place to begin.

Understanding the benchmark evaluator

Another useful outcome was a clearer understanding of how the internal evaluator works.

Each scenario is executed inside an isolated "AppState" sandbox through the replay engine. The evaluator compares the expected and actual verdict at each step, calculates False Positives and False Negatives, and tracks enforcement differences.

It also distinguishes between Exact Match, Over-Enforced, and Under-Enforced decisions. The resulting scorecard includes both step-level and scenario-level metrics.

This matters because the scorecard is not based on manually entered results. It is generated from the replay engine's execution.

However, an automated evaluator can only tell us how closely the engine matches the labels it has been given. It cannot independently prove that those labels represent real-world attack behaviour. That distinction remains important when interpreting benchmark results.

What we completed today

The session established a working benchmark workflow from file inspection to live API execution.

The benchmark environment was prepared, the evaluator architecture was inspected, and the live scorecard was successfully generated. We also isolated two JA4-related False Negatives for further investigation.

The next milestone is not another score improvement. It is understanding why these two events received zero risk and were classified as benign.

What comes next

Before increasing risk scores or modifying JA4 detection rules, we need to trace both failing events through the complete processing pipeline.

The investigation will follow this path:

"JA4 Input → Validation → Fingerprint Intelligence → Security Signals → Risk Assessment → Final Verdict"

We will examine whether the fingerprint is parsed correctly, whether the intelligence layer receives the expected data, whether session-level JA4 rotation is detected, and whether the expected benchmark labels are justified.

Only after identifying the actual cause should we consider a code change. Any proposed fix will need targeted tests and a complete benchmark rerun to determine whether it resolves the failures without introducing new False Positives.

Closing thoughts

Today’s results mark a meaningful change in how we are developing CIDS. We are moving beyond feature implementation and toward evidence-driven validation.

The 100% alignment results in the Holdout and Adversarial suites are encouraging within the scope of the supplied corpus. But the two Baseline False Negatives are just as important, because they show us where expected behaviour and actual behaviour do not match.

For CyberMoranda CIDS, progress is not simply about improving benchmark numbers. It is about understanding the system's decisions, identifying its limitations, and making changes that can be verified.

CyberMoranda CIDS

Security That Thinks.

Top comments (0)