Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons

Social Media

Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons
Search the Site
Popular Searches:
technology Amazon AI
Recent Posts
Exim Mail Server Vulnerabilities Lead to Crash via DNS Data
May 2, 2026
AiTM Phishing Attacks Target SharePoint, HubSpot, Google
May 2, 2026
Attackers Abuse AppSheet, Netlify, Telegram for Google Facebook
May 2, 2026
Home/Threats/GenAI Allows Hackers to Maliciously Alter Clean Change Loaded
Threats

GenAI Allows Hackers to Maliciously Alter Clean Change Loaded

A significant new threat is reshaping the cybersecurity landscape as attackers increasingly combine artificial intelligence with web-based attacks. This potent blend allows them to transform...

Sarah simpson
Sarah simpson
January 23, 2026 3 Min Read
0 0

A significant new threat is reshaping the cybersecurity landscape as attackers increasingly combine artificial intelligence with web-based attacks. This potent blend allows them to transform innocent-looking webpages into dangerous phishing tools in real time.

Security researchers discovered that cybercriminals are now leveraging generative AI systems to create malicious code that loads dynamically after users visit seemingly safe websites.

This attack vector represents a significant evolution in web-based threats, making detection and prevention far more challenging for traditional security solutions.

The attack works by embedding specially crafted instructions inside a benign webpage.

When a user visits the site, the page secretly requests code from popular AI services like Google Gemini or DeepSeek through their public APIs.

Workflow of the PoC (Source - Palo Alto Networks)
Workflow of the PoC (Source – Palo Alto Networks)

The attackers have engineered these requests with hidden prompts designed to trick the AI systems into generating malicious JavaScript code that bypasses their safety guardrails.

Once the AI generates this code, it gets executed directly in the victim’s browser, instantly transforming the clean webpage into a phishing page or credential-stealing tool.

Since the malicious code is assembled and executed only at runtime, it leaves no detectable static payload behind.

Palo Alto Networks analysts identified this emerging threat through extensive research and proof-of-concept testing.

Example of prompt engineering to bypass LLM guardrails and generate JavaScript code for phishing content (Source - Palo Alto Networks)
Example of prompt engineering to bypass LLM guardrails and generate JavaScript code for phishing content (Source – Palo Alto Networks)

Their Unit 42 research team demonstrated how attackers could systematically exploit this technique to enhance their existing phishing campaigns while evading network-based security defenses.

The researchers noted that this method is particularly effective because the malicious code comes from trusted AI service domains, allowing it to bypass many network filtering systems that typically block suspicious traffic.

How This Attack Evades Detection Systems

The polymorphic nature of AI-generated code makes this attack exceptionally difficult to detect and block.

Polymorphism creating multiple variants of dynamically generated JavaScript code (Source - Palo Alto Networks)
Polymorphism creating multiple variants of dynamically generated JavaScript code (Source – Palo Alto Networks)

Each time a user visits a compromised webpage, the AI generates a slightly different version of the malicious code with varied syntax and structure, even though the underlying functionality remains identical.

This constant variation means that security tools that rely on recognizing specific code signatures or patterns fail to identify the threat.

Additionally, since the malicious content travels through legitimate AI API domains, network monitoring tools cannot distinguish between normal AI requests and those containing hidden attack instructions.

Example of a phishing page rendered by assembling dynamically generated JavaScript on runtime in-browser (Source - Palo Alto Networks)
Example of a phishing page rendered by assembling dynamically generated JavaScript on runtime in-browser (Source – Palo Alto Networks)

The runtime assembly and execution of the code directly inside the browser further complicates detection because the threat never exists as a static file on disk.

Palo Alto Networks recommends deploying runtime behavioral analysis solutions that can detect and block malicious activity at the moment of execution within the browser itself, rather than relying solely on network-level defenses.

Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.

Tags:

AttackCybersecurityExploitHackerphishingSecurityThreat

Share Article

Sarah simpson

Sarah simpson

Sarah is a cybersecurity journalist specializing in threat intelligence and malware analysis. With over 8 years of experience covering APT groups, zero-day exploits, and advanced persistent threats, Sarah brings deep technical expertise to breaking cybersecurity news. Previously, she worked as a security researcher at leading threat intelligence firms, where she analyzed malware samples and tracked cybercriminal operations. Sarah holds a Master's degree in Computer Science with a focus on cybersecurity and is a regular contributor to major security conferences.

Previous Post

76 Zero-Day Vulnerabilities Found at Uncovered Hackers

Next Post

MacSync macOS Infostealer Uses ClickFix Attack via

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts
New Spyware Platform: Rebrand & Resell Android Lets Buyers
May 1, 2026
Attackers Abuse CAPTCHA, ClickFix for Cred Tactics Boost
May 1, 2026
DDoS Malware Exploits Jenkins to Attack Source Engine Games
May 1, 2026
Top Authors
Marcus Rodriguez
Marcus Rodriguez
Sarah simpson
Sarah simpson
Emy Elsamnoudy
Emy Elsamnoudy
Let's Connect
156k
2.25m
285k

Related Posts

Jennifer sherman
By Jennifer sherman
Threats

GlassWorm Attacks macOS via Malicious VS Code…

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Attacks

ClickFix Attack Hides Malicious Code via Stegan Security

January 1, 2026
Sarah simpson
By Sarah simpson
Vulnerabilities

MongoBleed Detector Tool Detects Critical MongoDB CVE-

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Breaches

Conti Ransomware Gang Leaders & Infrastructure Exposed

January 1, 2026
Hackers News Hackers News
  • [email protected]

Quick Links

  • Contact Us
  • Privacy Policy
  • Terms of service

Categories

Attacks
Breaches
Comparisons
CyberSecurity News
Threats
Vulnerabilities

Let's keep in touch

receive fresh updates and breaking cyber news every day and week!

All Rights Reserved by HackersRadar ©2026

Follow Us