>samit_hota
Back to research
INDUSTRY ANALYSIS

Cutting Through the AI Security Hype: Where Machine Learning Works and Where It Fails

Samit Hota·
#ai-security#secops#appsec#industry-analysis

Every vendor booth at Black Hat this year promised an autonomous, self-healing, AI-native security operations center, but if you look at actual practitioner workflows, the reality is far more mundane—and far more interesting.

The security industry has a long history of rebranding statistical regression, regex clusters, and decision trees under whatever buzzword drives venture funding. Today’s generative AI wave is no different in its marketing framing, but it is fundamentally different in its capability profile. The mistake most CISOs and security directors are making right now is treating “AI” as a binary capability—either dismissing it entirely as snake oil or attempting to deploy probabilistic models directly into critical operational decision loops.

To make rational architectural and procurement decisions, we need to decompose AI security capabilities by task structure, context requirements, and fault tolerance. When you analyze tools through this lens, a clear pattern emerges: AI is delivering real, measurable value in local pattern translation and unstructured data normalization, while failing spectacularly in autonomous decision-making and deep architecture analysis.

The Context Deficit in LLM-Driven AppSec

In application security, vendor promises focus on automated code auditing and instant vulnerability remediation. The pitch sounds compelling: feed your codebase into a large language model, and it will identify zero-days and issue pull requests with context-aware fixes.

In practice, LLMs excel at localized pattern recognition but struggle with architectural context. An LLM will reliably spot an unparameterized SQL query inside a single isolated function, or identify an unsafe calls-out to system() in a C snippet. Classical Static Application Security Testing (SAST) engines already do this using Abstract Syntax Trees (ASTs) with far lower latency and zero hallucination risk.

Where legacy SAST struggles—and where LLMs theoretically could shine—is understanding complex business logic flaws, multi-repository state flow, and indirect authorization bypasses. However, this is precisely where LLMs fail today due to the context window problem and the lack of holistic dynamic operational awareness.

An LLM does not know that a specific endpoint is meant to be restricted to users with a secondary privilege flag managed by an external microservice unless that entire architecture, framework runtime, and configuration topology is present in its prompt context. As a result, AI-driven SAST tools produce two distinct operational failures: high rates of plausible-sounding false positives that waste developer time, and automated patch suggestions that introduce subtle logical bugs elsewhere in the system.

Where AI does deliver real value in AppSec is in interactive remediation assistance. When a security tool has already identified a true positive via traditional taint analysis, handing that specific snippet to an LLM to generate an initial refactoring draft gives developers a running start. The key difference is human oversight: using the LLM as a context-aware developer assistant works; using it as an autonomous code auditor does not.

Triage Assistant vs. Autonomous SOC Analyst

The security operations center is the primary target for AI automation vendors selling “tier-1 analyst replacement.” This narrative misunderstands what tier-1 analysts actually spend their time doing, and why alerts are hard to resolve.

Alert triage is rarely a problem of reading a single log line; it is a problem of synthesizing fragmented telemetry across disparate systems—Active Directory logs, EDR telemetry, network flow records, and cloud audit trails—and evaluating that telemetry against expected business behavior.

Applying probabilistic models to make autonomous isolation decisions (like isolating a production domain controller or revoking an executive’s credentials based on an LLM’s confidence score) is an unacceptable operational risk. LLMs are non-deterministic by nature. The same input prompt under identical parameters can produce subtly different outputs. In an incident response scenario, non-determinism breaks auditability and post-mortem analysis.

However, LLMs are proving transformative in SOC workflows when restricted to two specific non-destructive roles: query translation and narrative summarization.

  1. Natural Language to Query Translation: Translating an analyst’s intent (“Show me all service accounts created in the last 48 hours that executed PowerShell with base64 encoded payloads”) into complex, vendor-specific syntax like KQL or SPL is a solved problem. It drastically lowers the barrier to entry for junior analysts and speeds up hunting workflows.
  2. Alert Chain Summarization: Pulling structured event logs from a alert graph and compiling a coherent, natural-language initial incident narrative cuts median time to comprehend (MTTC) significantly. The model isn’t deciding if an action is malicious; it is synthesizing 200 raw JSON logs into a readable timeline for a human analyst to verify.

The value isn’t autonomous response—it’s cognitive load reduction during the initial five minutes of an investigation.

The High Cost of Fuzzy Logic in Detection Engineering

Where AI security tooling actively damages operational maturity is in detection logic generation. Vendors offering “AI-generated detection rules” promise to eliminate the manual labor of writing Sigma, YARA, or Snort rules.

Deterministic detection engineering requires precision. A good detection rule targets specific adversary TTPs (Tools, Techniques, and Procedures) with an explicit, testable logic path. When you rely on a generative model to synthesize detection rules based on high-level threat intelligence reports, you get rules that are either so overly broad that they blind the SOC in false-positive noise, or so hyperspecific to the training sample that they fail to detect simple evasions.

Furthermore, running raw LLM inference directly on streaming telemetry streams is computationally absurd. Processing gigabytes of log ingestion per second through generative transformer models introduces massive processing latencies and astronomical API token costs compared to indexing telemetry into a columnar database and executing optimized structured queries.

Where machine learning actually works in the detection pipeline is before detection: un-parsing unstructured logs. Security teams lose hundreds of hours maintaining custom regex parsers for bespoke application logs or cloud services that alter their output formats without notice. Using small, targeted machine learning models to map unstructured text logs into standardized schemas like the Open Cybersecurity Schema Framework (OCSF) or Elastic Common Schema (ECS) is a massive, tangible win that is quietly quietly quietly fixing the most broken part of data ingestion.

Evaluating AI Tooling: The Ground-Truth Test

When evaluating any vendor pitching AI-driven security products, strip away the marketing terms like “agentic,” “autonomous,” and “reasoning engine.” Apply three pragmatic criteria to evaluate whether the underlying capability is built on solid engineering or high-margin hype:

  • The Ground-Truth Boundary: Does the task rely on absolute mathematical or logical correctness (e.g., identity permission evaluation, memory safety analysis), or does it rely on human-language synthesis (e.g., writing a post-mortem draft, converting plain text to SQL)? Generative AI fails at absolute logic; it succeeds at language synthesis.
  • The Failure Blast Radius: What happens when the model hallucinates or outputs a confidence score that is wrong? If the worst-case scenario is a junior analyst re-reading a summarized ticket, the risk is low and the productivity gain is real. If the worst-case scenario is a broken production pipeline or a blocked legitimate user action, probabilistic tools do not belong in the loop.
  • The Determinism Requirement: Can the output of the tool be audited, reproduced, and regression-tested six months from now against the same telemetry input? If the tool relies on raw LLM prompt responses for operational decisions, it will fail regulatory compliance and forensic auditing requirements.

AI is not going to replace security engineers, nor is it going to magically fix foundational security debt, bad identity hygiene, or unpatched enterprise infrastructure. The security teams finding success with AI today are those ignoring the autonomous promises and ruthlessly applying generative models to lower the friction of manual, high-volume, textual tasks—keeping humans firmly in control of the logic, the policy, and the response.

Want a second set of eyes on your security posture?

Let's talk about where your real exposure is.

Book an advisory call