Build a Prompt-Injection Regression Fixture for CodeQL 2.26.0
GitHub's CodeQL 2.26.0 adds AI prompt-injection detection. Learn the importance of building regression tests.
On July 10, 2026, GitHub announced that CodeQL 2.26.0 introduces AI prompt-injection detection. While enabling a query is beneficial, having a regression test is even more crucial. The proposed fixture should include an untrusted source, prompt construction, and a model sink, which is vital for engineers in detecting and managing vulnerabilities effectively.