At DEF CON 33 AppSec Village, I presented Desktop Applications: Yes, We Still Exist in the Era of AI!!!
The premise was intentionally provocative.
As the security industry focuses on AI-native applications, cloud platforms, and autonomous agents, desktop applications can appear to be yesterday’s problem.
But desktop software still powers some of our most important engineering and creative workflows.
And now we’re integrating AI into these applications.
That creates an interesting security question: what happens when new AI attack surfaces meet old software vulnerabilities?
The old attack surface is still here
Desktop applications frequently contain large native-code components, complex parsers, privileged integrations, and extensible plugin architectures.
These are environments where memory corruption, unsafe file handling, privilege escalation, and insecure permissions can have serious consequences.
Adding an AI assistant doesn’t remove those weaknesses.
Instead, AI can introduce new ways for untrusted content or generated actions to reach existing components.
This is the intersection I wanted to explore.
Prompt injection is only part of the problem
One demonstration examined prompt injection and model poisoning concepts in local AI applications.
Prompt injection matters because content that should be treated as data can attempt to influence the behavior of an AI system.
But the larger security question is what that system can do after being influenced.
Can it invoke an application capability? Interact with a plugin? Generate content that is subsequently trusted? Reach sensitive local resources?
The risk depends not only on the model, but also on the permissions, interfaces, and trust boundaries surrounding it.
That is why I believe AI threat modeling must extend beyond the prompt and into the application architecture.
When AI-generated input reaches a native parser
The second major theme involved memory corruption and file-format exploitation.
Many desktop applications depend on parsers written in native languages such as C++.
These components may process complex files supplied by users, extensions, external systems, or increasingly, AI-enabled workflows.
An AI-generated file is still untrusted input.
If it reaches a vulnerable parser, familiar classes of memory-safety problems can still occur.
The presentation explored fuzzing an AI-enhanced file-parsing workflow, including malformed inputs, crashes, and a demonstration centered on memory corruption and code execution.
The important lesson was not that AI creates an entirely new category of memory corruption.
It was that AI can change how existing vulnerable code is reached and exercised.
Modern AI features do not compensate for unsafe foundations.
Model files introduce another trust boundary
Another part of the presentation examined the security implications of model serialization formats.
Not all model files have the same execution characteristics.
For example, Python pickle-based formats can execute code during unsafe deserialization, whereas formats designed primarily for tensor storage have different security properties.
The broader lesson is to treat model artifacts as part of the software supply chain.
Where did the model originate? How was it distributed? Is its integrity verified? What happens when the application loads it?
These are application security questions, not merely machine learning implementation details.
Fuzzing needs to follow the complete workflow
I also discussed modern fuzzing approaches for desktop applications, including libFuzzer, AFL++, and techniques for exercising file formats, protocols, and plugin interfaces.
As AI changes how users interact with software, our test strategies need to follow those new paths.
It isn’t enough to validate the model’s output in isolation.
We need to understand what happens when that output is consumed by native code, forwarded to another component, or used to trigger an operation.
This is where traditional vulnerability research and AI security engineering become closely connected.
Threat modeling the intersection
A useful threat model for an AI-enhanced desktop application should examine both established and emerging trust boundaries.
That includes untrusted files, local privileges, plugin interfaces, model inputs and outputs, model update paths, and automation workflows.
It should also consider what actions an AI component is permitted to initiate and how those actions are validated.
A model may behave as expected while the surrounding application remains vulnerable.
Conversely, a well-secured native component may still be exposed through an overly permissive AI integration.
Both sides matter.
My takeaway from DEF CON
The central message I wanted to leave with the AppSec Village audience was that desktop security deserves renewed attention.
AI introduces new threats, but it also magnifies existing weaknesses.
The answer isn’t to abandon traditional application security practices in favor of an entirely separate AI security discipline.
It’s to bring them together.
Continue fuzzing. Continue threat modeling. Continue hardening parsers, plugins, and local privileges.
Then extend those practices to the new capabilities and trust boundaries introduced by AI.
AI doesn’t replace old bugs. It compounds them.
And desktop applications remain an important part of the application security landscape.
Thank you to DEF CON and AppSec Village for the opportunity to share this work and discuss the intersection of AI security and traditional desktop exploitation.
The views expressed here are my own and do not necessarily represent those of my employer.