Threat actors are beginning to test a new way to evade AI-powered security tools: placing harmful prompt-injection content inside code comments.
ESET researchers discovered the technique, named GuardBreaker, in a VBScript used by the Russia-aligned threat group UAC-0099 during an attack targeting Ukraine.
The malicious script included a comment asking for guidance on building a nuclear weapon — content designed to trigger the safety rules of an LLM-based code scanner.
The comment does not affect how the malware runs. However, it may cause an AI analysis tool to refuse to process the file or stop its review before reaching the actual malicious code.
The VBScript was built to download and install MATCHBOIL, a loader associated exclusively with UAC-0099. MATCHBOIL can deliver additional payloads to compromised systems.
GuardBreaker Tricks AI Guardrails
GuardBreaker is a basic form of indirect prompt injection. The attacker hides an instruction inside a file that an AI system is asked to inspect.
When the LLM reads the file, it may treat the malicious comment as an instruction rather than untrusted data. Modern LLMs often process system instructions and user-controlled content in the same context.
This makes it difficult for the models to consistently distinguish between valid analyst instructions and attacker-controlled text embedded in source code.

The GuardBreaker comment was left in plain sight. It was not encrypted, obfuscated, or hidden from traditional static-analysis tools. Its value lies in influencing AI systems that may be part of a security pipeline.
UAC-0099 has previously used anti-analysis checks for tools such as IDA and Wireshark. The GuardBreaker technique suggests the group is now also considering LLM-based code scanners and automated security workflows as targets for evasion.
Similar AI-focused evasion attempts have appeared in malicious open-source packages.
Security researchers have found PyPI packages containing fake system instructions and policy-triggering text before malicious JavaScript payloads.
In another campaign, attackers inserted prompts telling AI scanners to ignore malicious code and mark a package as safe. Threat actors have also attempted context-window exhaustion.
One malicious npm package reportedly repeated the phrase “You’re absolutely right!” thousands of times, hoping the scanner would consume its available context before reaching the malware hidden later in the file.
These methods could create blind spots in AI-assisted defenses. Attackers may also use large files, unusual formats, fake confidential-data labels, or malformed code to force incomplete parsing and analysis delays.
Organizations should not allow one LLM to decide whether code is safe. AI-generated analysis must be validated with conventional scanning, sandboxing, behavioral detection, multiple models, and human review, welivesecurity said.
Security teams should also treat an AI tool’s refusal to analyze a file as a warning signal, not a clean result.
A failed or incomplete AI response should automatically trigger deeper inspection, helping prevent GuardBreaker-style tricks from becoming an easy path around malware defenses.
Detect 58% more threats with fresh intelligence from 16K+ organizations. Integrate TI Feeds in you SOC