The Comment Says It Is Protected: Self-Written Security Claims in Model-Generated Web Code and Whether They Mislead Language-Model Reviewers

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.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-12-03
DOI
https://doi.org/10.21203/rs.3.rs-11962627/v1
Primary Topic
Web Application Security Vulnerabilities
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

The Comment Says It Is Protected: Self-Written Security Claims in Model-Generated Web Code and Whether They Mislead Language-Model Reviewers

Xu Xing
Research Square
Web Application Security Vulnerabilities
preprint

The Comment Says It Is Protected: Self-Written Security Claims in Model-Generated Web Code and Whether They Mislead Language-Model Reviewers

Xu Xing
preprint en

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.

Research Square
Mahidol University (TH)
Web Application Security Vulnerabilities
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon