By NHI Mgmt Group Editorial TeamBased on Aikido: “Why Determinism Is Still a Necessity in Security” (March 3, 2026)

TL;DR: Security teams need deterministic tools for repeatable, auditable results in CI/CD, while AI reasoning is better suited to triage, exploitability analysis, and novel vulnerability discovery, according to Aikido. The practical takeaway is that durable security posture comes from placing pattern matchers and probabilistic tools in the right order, not replacing one with the other.


At a glance

What this is: Aikido argues that deterministic security tools remain essential because CI/CD, regression testing, and audit workflows depend on repeatable results, while probabilistic AI tools are better used for triage and deeper reasoning.

Why it matters: Security teams need to separate baseline enforcement from contextual judgment, or else they risk noisy pipelines, untrusted scan results, and AI being used where reproducibility is the real control requirement.


Context

Deterministic security is the part of the pipeline that must behave the same way every time on the same input. In code scanning and release gating, consistency matters because teams need to trust what a tool says before they block a build, reopen a finding, or sign off a fix. The governance problem is not whether AI can reason, but whether the security control in question can tolerate variability.

The article sets up a practical split between baseline detection and contextual analysis. That split matters to IAM and NHI practitioners too, because any control that governs credentials, secrets, service accounts, or access paths still needs repeatable enforcement before higher-order reasoning can add value. The core question is where to preserve deterministic control and where to allow probabilistic judgment.


Key questions

Q: What breaks when probabilistic security tools are used as the primary pipeline gate?

A: The control stops being repeatable enough to defend. If the same code can produce different findings on different runs, developers lose trust, auditors lose a stable record, and the pipeline becomes noisy rather than authoritative. Probabilistic tools are useful for reasoning, but not as the first-line mechanism for merge blocking or regression verification.

Q: When should teams prioritise deterministic scanning over AI reasoning?

A: Prioritise deterministic scanning whenever the question is whether a known pattern exists and the result must be consistent across runs. That includes CI/CD gates, compliance evidence, regression checks, and baseline detection. Use AI later when the question changes to exploitability, prioritisation, or business-context analysis that a rule engine cannot express.

Q: What are the signs that a security pipeline is overusing AI triage?

A: The common signals are inconsistent findings on identical inputs, rising analyst distrust, growing false-positive fatigue, and merge decisions that depend on model interpretation rather than stable rules. If the team cannot explain why a build was blocked in repeatable terms, the pipeline has moved too far from deterministic control.

Q: How should security teams combine deterministic tools with probabilistic tools?

A: Use deterministic tools for continuous baseline enforcement and probabilistic tools for downstream judgment. That means fixed rules handle known issues quickly and cheaply, while AI reasons about reachability, exploitability, and complex logic flaws. The combination works only when each layer is kept inside the kind of decision it can defend.


Technical breakdown

Why deterministic scanning is still the right baseline for CI/CD

Deterministic scanners work from fixed rules, so identical code produces identical findings. That repeatability is what makes them usable as merge gates, regression checks, and audit evidence. In practice, these tools excel when the security question is known pattern detection: hardcoded secrets, dependency issues, injection signatures, and policy violations that can be matched consistently. Their value is not cleverness, but controlled behaviour. If a pipeline can’t rely on stable output, developers stop trusting it and control effectiveness drops. This is why deterministic tools are best treated as the enforcement layer at the front of the pipeline, not as a replacement for judgment in complex cases. Practical implication: keep deterministic scanners as the first-pass control for every commit and pull request.

Practical implication: keep deterministic scanners as the first-pass control for every commit and pull request.

How probabilistic tools change vulnerability triage and exploitability analysis

Probabilistic tools use model reasoning rather than fixed rules, so they can trace intent across code paths, infer business logic, and evaluate whether a finding matters in context. That makes them useful for triage, reachability, and prioritisation, especially when a finding is technically real but operationally irrelevant. The trade-off is inconsistency: the same input can yield different outputs because model behaviour changes with context, sampling, and prompt framing. That makes AI useful after the baseline scan, not instead of it. For security operations, the key architectural shift is to narrow the model’s scope so it reasons over bounded questions rather than the whole codebase. Practical implication: use AI to decide which findings deserve attention, not to define your control baseline.

Practical implication: use AI to decide which findings deserve attention, not to define your control baseline.

Why security teams need a reasoning layer on top of rule engines

Rule engines catch what they were written to catch, but they do not understand application intent or business context. That limitation becomes visible in cases such as reachability, reachability-plus-sanitisation, or whether a vulnerable dependency is actually used in production. A reasoning layer adds context around the rule output so the team can separate exploitable risk from theoretical exposure. This is especially relevant in modern software delivery, where the same code path may be exposed in one environment and inert in another. The mechanism is not replacement, but layering: pattern matching for known badness, reasoning for contextual prioritisation. Practical implication: place contextual analysis downstream of deterministic detection so the pipeline stays auditable while the triage improves.

Practical implication: place contextual analysis downstream of deterministic detection so the pipeline stays auditable while the triage improves.


Threat narrative

Attacker objective: The attacker’s practical objective in this pattern is to exploit control confusion, not just code flaws, so that noisy or inconsistent gates let meaningful issues slip through or get ignored.

  1. Entry occurs through routine code and dependency scanning in the delivery pipeline, where the wrong control can either miss known issues or flood teams with noise.
  2. Escalation happens when a probabilistic tool is asked to act as the primary gatekeeper, because inconsistent findings undermine trust and weaken release discipline.
  3. Impact is degraded security governance: real findings lose credibility, merge controls become harder to defend, and teams spend time on false positives instead of exploitable risk.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Determinism is still a governance control, not a legacy preference. Security programmes need repeatable outputs for build gates, audit evidence, and regression confidence. Once a team stops trusting scan results, the tool no longer functions as a control, only as commentary. The practitioners who preserve deterministic enforcement at the front of the pipeline keep the control defensible.

AI belongs where judgment is required, not where consistency is required. Probabilistic tools are valuable for exploitability analysis, contextual triage, and business-logic reasoning, but those are decision-support functions, not baseline controls. The failure mode is using model output as if it were a stable policy engine. Teams should treat AI as a downstream reasoning layer, not the first line of enforcement.

Security noise is a control failure when it changes behaviour. False positives are not just inconvenient; they erode attention, delay fixes, and reduce the credibility of the whole programme. This article names the practical boundary clearly: deterministic pattern matchers handle what the team already knows how to gate, while AI handles what the rule set cannot yet express. The right question is not whether to use AI, but where its uncertainty is acceptable.

Contextual prioritisation needs bounded inputs to remain useful. When a reasoning engine sees the entire codebase without structure, it starts guessing and the output becomes less repeatable. Narrowing the problem with reachability, stack context, and data-flow boundaries keeps the model useful without turning it into a free-form scanner. Practitioners should design for AI-assisted judgment, not AI-driven enforcement.

The market is moving toward layered control stacks, not tool replacement. The strongest security programmes will combine deterministic coverage with probabilistic triage, especially as AI-generated code and AI-assisted attacker workflows both increase. That has direct implications for IAM and NHI-adjacent workflows too, because access, secrets, and service-account controls still need predictable enforcement even when higher-order analysis becomes AI-assisted. The programme goal is control ordering, not model worship.

What this signals

Deterministic security retains its value because release gates still need stable evidence. If the control cannot produce the same answer twice on the same input, it is too unstable to sit at the front of a delivery pipeline. For practitioners, the practical change is to protect the gate from model drift and reserve probabilistic analysis for downstream judgment.

AI-assisted triage creates a new control boundary around interpretation. The programme issue is no longer whether a finding exists, but whether a reasoning layer can reliably decide which findings deserve action. That means security leaders should define where human review begins, where machine reasoning ends, and how much variability the process can tolerate.

Context control becomes the hidden requirement for useful AI security analysis. The article’s strongest operational signal is that model quality improves when the input is bounded by reachability and stack context. For readers, the lesson is to design analysis workflows that narrow the question before the model is asked to answer it.


For practitioners

  • Retain deterministic scanners as the CI/CD gate Run fixed-rule scanning on every commit or pull request so known vulnerability classes are handled with repeatable, defensible results before release decisions are made.
  • Use AI only after baseline detection Place probabilistic analysis downstream of deterministic findings so the model triages, prioritises, and explains, rather than defining the security gate itself.
  • Bound the model’s context before triage Feed the reasoning layer reachability, stack trace, and data-flow context so it evaluates a specific question instead of guessing across an entire codebase.
  • Separate known-pattern control from novel-risk discovery Assign pattern matchers to recurring vulnerability classes and reserve AI reasoning for business-logic flaws, exploitability assessment, and unfamiliar attack paths.

Key takeaways

  • Deterministic scanning remains the control that makes CI/CD security defensible because it produces repeatable results that developers and auditors can trust.
  • AI reasoning adds value when security teams need triage, contextual prioritisation, or logic-flaw discovery that rules alone cannot handle.
  • Durable security posture comes from sequencing the two methods correctly, with fixed-rule enforcement first and probabilistic judgment downstream.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while OWASP ASVS, NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP ASVSV15 — Secure Coding and ArchitectureThe article centres on secure code analysis and control placement in the delivery pipeline.
Recommendation — Use V15 to keep deterministic scanning and contextual review aligned to secure coding decisions.
NIST CSF 2.0PR.DS-01 — Data-at-rest is protectedThe article addresses repeatable enforcement and defensible control evidence across pipeline outputs.
Recommendation — Apply PR.DS-01 style evidence handling so pipeline findings remain stable, traceable, and auditable.
CIS Controls v8CIS-16 — Application Software SecurityThe article focuses on application security testing inside CI/CD and the limits of scanner-only workflows.
Recommendation — Use CIS-16 to embed repeatable software security checks before release decisions are made.
MITRE ATT&CKTA0007;TA0009 — Discovery; CollectionThe attack discussion touches pipeline abuse and credential theft within software delivery compromise patterns.
Recommendation — Map pipeline abuse to TA0007 and TA0009 so detection focuses on discovery of exposed code paths and collected secrets.

Key terms

  • Deterministic Security: Deterministic security uses fixed rules, repeatable logic, and consistent validation to decide whether a finding is real. In AppSec, it provides the trusted baseline that AI-assisted analysis can enrich, but not replace, when teams need stable, auditable results.
  • Probabilistic Security: A security approach that relies on likelihood, scoring, or inference rather than fixed rules. It is useful for prioritisation and detection, but it cannot guarantee enforcement because the system is estimating risk rather than making a hard authorisation decision.
  • Reachability analysis: Reachability analysis checks whether a vulnerability can actually be exploited in the application’s real code paths and dependency graph. It helps teams distinguish theoretical findings from issues that an attacker can reach, which makes prioritisation far more accurate for both AppSec and identity risk management.
  • Contextual Triage: Contextual triage is the process of evaluating alerts using business, asset, and identity information before deciding whether they need analyst attention. It improves the quality of investigation by distinguishing routine activity from behaviour that is unusual in the organisation’s own operating environment.

Deepen your knowledge

The NHI Foundation Level course covers NHI governance, machine identity security, and secrets management through an independent practitioner curriculum. It helps security teams connect identity controls to the wider programmes that depend on them.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 2, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org