Skip to content
MediumNewsLLM-specific

The Next Frontier of Runtime Assembly Attacks: Leveraging LLMs to Generate Phishing JavaScript in Real Time

Published
Record updated
View JSON

Summary

Palo Alto Networks Unit 42 describes a proof of concept in which a seemingly benign webpage calls trusted LLM services, such as DeepSeek and Google Gemini, from the client side to obtain JavaScript. Attackers use engineered prompts to bypass model safety guardrails, and the returned snippets are assembled and executed in the victim's browser at runtime to produce a functional phishing page. Because the payload is polymorphic and delivered from a trusted LLM domain, it evades network analysis.

Mitigation

The source states that the most effective defense is runtime behavioral analysis that detects and blocks malicious activity at the point of execution, directly within the browser. It names Palo Alto Networks products as protections: Advanced URL Filtering, Prisma AIRS, and Prisma Browser with Advanced Web Protection.