The Comment Says It Is Protected: Self-Written Security Claims in Model-Generated Web Code and Whether They Mislead Language-Model Reviewers
Year: 2026
Type: preprint
Abstract: The server a language model writes for a chat feature decides who sets the system prompt and the other parameters of each model call. In a pre-registered design, Claude Haiku 4.5, Sonnet 5.5 and Opus 5.5 wrote a support chat for 8 prompts varying a stated policy, the history and the language, 3 draws each, read by a blind panel of the same models. The browser could set the system instructions in 1 of 72 samples, unmoved by policy (H1, Holm p 1.000) or history (H2, Holm p 1.000), but 59 let anyone call the endpoint without a login or rate limit. In registered further arms, saying the chat will be public left 0 of 72 open (H4, p 2.4 × 10-7), and saying it will run in production left 16, all from Haiku (H5 and H6, Holm p 3.8 × 10-6 and 7.8 × 10-3). Most limiters stopped firing when each request named its own forwarded address. Adding that a reverse proxy fronts the code and clients set any header still left 23 of 24 Haiku endpoints open (H8, Holm p 1.000) and moved the Sonnet and Opus limiters onto a trusted proxy hop count, so none held under the forwarded-address probe (H7, Holm p 1.000). Qwen2.5 1.5B and 3B never exposed the system role, but 35 of their 48 samples sent no system message at all, leaving no message to carry a stated policy (H3, Holm p 0.246, not supported). Model-written chat backends left the endpoint unmetered unless told it would run in production.
Source: Research Square
Author: Xú Xing
Institution: Mahidol University
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7242511419
