How I Used AI to Hack AI Security (And Why Skynet Would Be Proud)
The author claims that an AI-powered web application firewall (WAF) could be bypassed by using a large language model to generate obfuscated attack payloads. They state that some payloads, such as a natural-language SQL injection and a CSS-based cross-site scripting (XSS) vector, were accepted by the WAF and returned HTTP 200 responses.
Free link 🎈
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the AI-based WAF relied on semantic and pattern analysis that could be evaded by obfuscated or natural-language payloads, as the author claims.
Impact
The author claims that the bypasses could lead to database extraction, session hijacking, file system access, and remote code execution, but the text does not provide concrete evidence of these impacts beyond WAF bypass.
What the attacker needed
Access to a large language model API; A target protected by an AI WAF; Valid authentication token for the target API
The fix
The company reportedly retrained their models with the bypass payloads as negative examples, added behavioural analysis, and implemented additional security layers.
How it was found
- The author performed reconnaissance and identified the target application protected by an AI WAF.
- They sent classic SQL injection, XSS, and directory traversal payloads, all of which were blocked with 403 responses.
- They built a tool that used a large language model to generate obfuscated payloads for SQL injection, XSS, and path traversal.
- They tested the AI-generated payloads against the target and observed that some returned HTTP 200 instead of 403.
- They implemented an adaptive feedback loop to refine payloads based on WAF responses.
- They compiled the results into a framework and reported the bypasses to the company.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A web application firewall (WAF) is a security tool that inspects incoming requests and blocks ones that look like attacks. The author says they used an AI chatbot to craft attack requests that looked harmless to the WAF, and that some of these requests got through. This matters because if a WAF can be fooled, attackers might reach the application underneath.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.