A Defensive AI Agent Against Large Language Model (LLM)-Assisted Polymorphic Malware
Ifeoma Ilechukwu, Saahir Vazirani, Guillaume Tabard, Chaitree Baradkar, Albert Calvo, Rijal Saepuloh
The rapid evolution of Large Language Models (LLMs) has introduced a new asymmetric threat: AI-assisted polymorphic malware. As identified by Google’s Threat Intelligence Group, attackers are utilizing automated frameworks like "PromptFlux" to weaponize LLMs, generating hundreds of functional, unique malware variants in minutes. Traditional Antivirus (AV) and Endpoint Detection and Response (EDR) systems fail to detect these attacks because they rely on static signatures of the final binary, remaining blind to the generation process itself. To close this gap, we introduce BlueFlux, a defensive AI agent that shifts detection "left" from the endpoint to the API. Powered by Grok and Model Context Protocol (MCP) tools, BlueFlux monitors LLM API logs to detect both the intent and velocity of code generation. By analyzing suspicious prompts, tracking high-speed mutation sequences, and correlating these behaviors into a dynamic risk score, BlueFlux provides an AI-aware shield capable of identifying and blocking the creation of polymorphic malware before it is ever deployed.
Super compelling and well-grounded threat model- the kind of thing Halcyon Ventures gets excited about. EDR systems scanning static binaries fail when adversaries generate hundreds of unique variants via LLM APIs. Shifting detection upstream to the generation layer is the right architectural move. Good citation of real-world threats (Google's PromptFlux report).
Where we got stuck: execution. The results don't match the vision. I kept finding myself looking for results or preliminary findings -- the project felt more like a roadmap. We'd want precision/recall metrics, an end-to-end demonstration against a simulated PromptFlux attack, and validation that mutation velocity tracking actually catches real polymorphic generation patterns. The classifier is basic (MLP on sentence embeddings), which is fine for a prototype, but needs stress-testing.
Show us BlueFlux catching a mutation sequence that Llama Guard misses. Demonstrate the velocity detection catching rapid variant generation. The architectural insight is right; now prove it works! Great theoretical work though, really smart and timely thinking that I found impressive.
Cite this work
@misc {
title={
(HckPrj) A Defensive AI Agent Against Large Language Model (LLM)-Assisted Polymorphic Malware
},
author={
Ifeoma Ilechukwu, Saahir Vazirani, Guillaume Tabard, Chaitree Baradkar, Albert Calvo, Rijal Saepuloh
},
date={
},
organization={Apart Research},
note={Research submission to the research sprint hosted by Apart.},
howpublished={https://apartresearch.com}
}


