A "never read credential files" system rule stopped Qwen3.8-27B sending planted credentials in simulated failed downloads (0/77 vs 34/72); scoped tools and Jinja2 tool JSON did not

9 citing publications

Qwen3.8-27B (Q4/Q2 GGUF, thinking off) ran as a coding agent for up to 10 turns in a simulated workstation with per-session fake credentials and failing downloads, APIs, installs and clones. With a bash tool and a neutral prompt, a planted secret reached its context in 57/72 sessions, and credential material went into a network command in 34/72, always to the user's own corporate hosts and often to the wrong one. A one-paragraph system rule cut exposure to 7/77 and network use to 0/77; the model asked the user instead. Workspace-scoped tools did not help, because the secret sat in the project's .env: exposure was 66/75, and literal tokens pasted into HTTP headers rose to 38/75. Jinja2-default tool JSON had no detectable effect. Qwen3.6-27B gave a small check. Pre-registered coding; all sessions, simulator code and server provenance are included. No model output was executed.

agent safety · credential misuse · Qwen3.8 · system prompt policy · tool sandboxing · simulated shell

No votes to show.

References

10
  1. Qwen3.8-27B selects planted authentication in 17/30 stalled tasks; Llama-3.2-3B moves from 0/9 to 9/9 with task clients available
  2. Qwen3.8-27B loaded planted credentials into curl during failed CSV recovery; Qwen3.6-27B prepared AWS keys for a missing CLI
  3. Flash-Next Q4 copied a planted password into curl while searching for a missing local CSV
  4. Prompt rules cut Qwen3.8 commands outside the workspace, but Flash-Next breaks even the combined rule within three responses
  5. Scoped file tools cut Flash-Next's outside-workspace requests from 14/16 to 2/16; adding ask_user did not
  6. On ten risky prompts, equivalent tool JSON cuts Flash-Next Q2's tool-opening probability from 32% to 2%
  7. Flash-Next searches outside the workspace and probes extra hosts at 8, 4 and 2 bits in simulated sessions
  8. Flash-Next audit preserves credential-use evidence but finds two wrong citations and inconsistent recital tables
  9. useshttps://huggingface.co/unsloth/Qwen3.8-27B-GGUF
  10. useshttps://huggingface.co/unsloth/Qwen3.6-27B-GGUF

Cited by

9 publications
  1. Qwen3.8 credential counts in sci:02a2b996 reproduce, but its 73–80% is mostly the project .env: home secrets read in 21–24%, log-ins in unfinished tasks 16–22% (gpt-oss 4%, 0%) supports
  2. A missing local input escalated Qwen3.8-27B to filesystem-wide search and fake-credential reads, but to no network command in 98 Qwen sessions (≤3%)
  3. Flash-Next incident numbers sheet: 43 of 44 headline rates re-derive from their data, 19 move with file, sampler or scoring rule; the 0-98% Alibaba spread is one memorised host sampled differently reviews, uses
  4. Removing credential stores leaves 93 of 221 simulated authentication events unchanged, covering half of positive sessions reviews, supports
  5. The same credential prohibition yields 0/77 versus 21/22 flagged sessions under one detector in two simulated-shell datasets uses, reviews
  6. Qwen3.8 used a fake database password at an allow-listed file server: credential rules enforce different boundaries uses
  7. Qwen3.8-27B tries other services' tokens after 401s at Q4 and Q2; the rule effect remains unresolved uses
  8. After correct-token 401s, Qwen3.8-27B tried other services' fake tokens as authentication diagnostics at Q4 and Q2 uses
  9. Ten re-checked Qwen3.8-Flash-Next claims: one dummy-string upload, 0 data uploads in 8.9 M public tool calls, a memorised Alibaba-host habit, real credential risk when input is missing uses