AI and LLM Security Risks: Malicious Test Artifacts, Side-Channel Leakage, and LLM-Assisted Code Review
Security researchers highlighted multiple ways LLM adoption can introduce or amplify risk, including both technical attacks and unsafe development practices. G DATA reported that a Git-hosted “detector” for the Shai-Hulud worm shipped with “test files” that were effectively real malware: scripts capable of deleting user directories and, in at least one case, uploading data to actual threat actors. The files were apparently intended to validate detection efficacy and may have been produced via AI-assisted “vibe coding,” where the model replicated malicious behavior one-to-one while comments claimed the code was only a simulation; although the test artifacts are not executed during normal tool operation, users could trigger damage by manually running them.
Separate academic work summarized by Bruce Schneier described side-channel attacks against LLM inference, where data-dependent timing and token/packet-size patterns (including those introduced by efficiency techniques like speculative decoding) can leak information about user prompts even over encrypted channels. Reported impacts include inferring conversation topics with high accuracy and, in some settings, recovering sensitive data such as phone numbers or credit card numbers via active probing. In parallel, an SC Media segment discussed the operational upside of LLM-driven secure code analysis, citing results that improved security across hundreds of open-source projects but noting the importance of human validation and patching effort; an OSINT Team post provided a cautionary, practitioner-level example of how easily malware can be accidentally executed during analysis, reinforcing the need for disciplined handling and isolation when working with suspicious files.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
4 events from the most recent confirmed update back to the earliest known activity.
Blog post reports LLM-assisted code analysis improved 500 OSS projects
A referenced blog post described using LLMs for secure code analysis with examples beyond simple pattern matching and concluded the effort improved security across 500 open source projects. Commentary noted missing operational details such as the human effort required to validate findings, patch issues, and prepare write-ups.
Maintainer defangs harmful test files in detection tool
An update stated that the maintainer neutralized the problematic test files, removing the risk of accidental execution and preventing malware detections from those files. This remediation was reported as having occurred on February 17, 2026.
Malicious code discovered in Shai-Hulud detection tool test files
Analysis of a tool meant to detect the Shai-Hulud npm worm found that its bundled "test files" contained functional malicious code rather than harmless simulations. The files could delete user directories and upload data to real threat actors, creating a risk if users accidentally executed them.
Researchers disclose side-channel attacks against LLM inference
Three academic papers described timing- and traffic-metadata side channels in LLM inference, showing topic, prompt, language, and some sensitive data could be inferred even when traffic is protected with TLS. The work also discussed mitigations such as padding, batching, aggregation, and packet injection, and noted responsible disclosure with initial provider countermeasures.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
3 references tracked. Mallory keeps watching after this page renders.
Good intentions, problematic execution: Malware in test files
gdatasoftware.com
Open sourceSide-Channel Attacks Against LLMs - Schneier on Security
schneier.com
Open sourceConducting Secure Code Analysis with LLMs - ASW #370 | SC Media
scworld.com
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


