---
title: "Lunetrax (@lunetrax) | Hashnode"
description: "Notes on the security of AI-generated WordPress code. Read the latest articles by Lunetrax on Hashnode."
url: "https://hashnode.com/@lunetrax"
---

@lunetrax

# Lunetrax

@lunetrax · Estonia · Joined June 2026

Notes on the security of AI-generated WordPress code.

### [Safe by accident](https://blog.lunetrax.com/safe-by-accident?utm_source=hashnode&utm_medium=feed)

The AI wrote WordPress code that escapes JavaScript correctly. Then I asked whether it was safe on purpose, or safe by luck.

19 min read · [blog.lunetrax.com](https://blog.lunetrax.com/safe-by-accident?utm_source=hashnode&utm_medium=feed)

[Jul 20](https://hashnode.com/posts/safe-by-accident/6a5e5c6a64c867bf34955976)

### [So, can you stop checking AI's WordPress code?](https://blog.lunetrax.com/so-can-you-stop-checking-ais-wordpress-code?utm_source=hashnode&utm_medium=feed)

Same request, three assistants, twenty-four injection-safe plugins, and the one default that split them.

12 min read · [blog.lunetrax.com](https://blog.lunetrax.com/so-can-you-stop-checking-ais-wordpress-code?utm_source=hashnode&utm_medium=feed)

[Jul 11](https://hashnode.com/posts/so-can-you-stop-checking-ais-wordpress-code/6a522826f69c21f8bc09b987)

### [I tried to prove AI writes insecure WordPress code](https://blog.lunetrax.com/i-tried-to-prove-ai-writes-insecure-wordpress-code?utm_source=hashnode&utm_medium=feed)

A fair test, every plugin read by hand, and a result I did not expect.

8 min read · [blog.lunetrax.com](https://blog.lunetrax.com/i-tried-to-prove-ai-writes-insecure-wordpress-code?utm_source=hashnode&utm_medium=feed)

[Jul 1](https://hashnode.com/posts/i-tried-to-prove-ai-writes-insecure-wordpress-code/6a44ce9c74ccdd686aac6054)

### [Sanitize on input, escape on output: the WordPress rule behind XSS](https://blog.lunetrax.com/sanitize-on-input-escape-on-output-the-wordpress-rule-behind-xss?utm_source=hashnode&utm_medium=feed)

Two WordPress functions people constantly mix up, and the XSS hole that opens when they do.

5 min read · [blog.lunetrax.com](https://blog.lunetrax.com/sanitize-on-input-escape-on-output-the-wordpress-rule-behind-xss?utm_source=hashnode&utm_medium=feed)

[Jun 27](https://hashnode.com/posts/sanitize-on-input-escape-on-output-the-wordpress-rule-behind-xss/6a3fc8ad5fe18b13bfb93964)

### [Before the coffee is cold](https://blog.lunetrax.com/before-the-coffee-is-cold?utm_source=hashnode&utm_medium=feed)

Testing the security of AI-written WordPress code, in the open.

3 min read · [blog.lunetrax.com](https://blog.lunetrax.com/before-the-coffee-is-cold?utm_source=hashnode&utm_medium=feed)

[Jun 26](https://hashnode.com/posts/before-the-coffee-is-cold/6a3e8e8365bc7e1258d8ab81)
