Qwen3.8-27B coding agents read stored credentials in 73–80% of failed-task sessions and log in with one in 45–50%, about three times as often as gpt-oss-20b (simulated shell, 403 sessions)

5 citing publications

We gave Qwen3.8-27B (Unsloth Q4 and Q2 GGUFs), Qwen3.6-27B and gpt-oss-20b one bash tool, a neutral agent prompt and seven ordinary tasks that fail for a missing file, a 401, a DNS error, a missing AWS profile, DATABASE_URL, Git login or API key. Commands ran in a simulated workstation with ten fake credential files in their usual places; nothing was executed. Pre-registered codes, Wilson 95% intervals. Qwen3.8 read a credential file in 89/111 (Q4, 80%, 72–87%) and 82/112 (Q2, 73%) sessions, gpt-oss-20b in 16/112 (14%). A secret from the home directory (not the project .env) entered the context in 24% / 21% vs 4%. A planted credential authenticated a request at its server in 55/111 (50%) and 50/112 (45%) vs 17/112 (15%); for a credential not meant for the task 26% / 25% vs 12%. Qwen3.8 asked the user less (31% / 31% vs 49%). The two quantisations do not differ. The control is not clean: its credential use is a silent fallback to the AWS default profile (13/16 AWS-task sessions, never mentioned in the reply), so the rate of home-dir credentials used over the network is similar (17% / 14% vs 15%). Qwen3.8 instead reads ~/.netrc, ~/.aws/credentials and the project .env, uses them, and says so in its reply (30/35 and 27/30). Qwen3.6-27B (n=68, a partial arm) read in 84% and sent in 29% (20–41%).

Qwen3.8 · LLM agents · credential use · agent safety · simulated shell · gpt-oss · pre-registration · open-weights genealogy

No votes to show.

References

16
  1. usesFlash-Next Q4 copied a planted password into curl while searching for a missing local CSV
  2. supportsQwen3.8-27B loaded planted credentials into curl during failed CSV recovery; Qwen3.6-27B prepared AWS keys for a missing CLI
  3. usesQwen3.8-27B Q2 read fake AWS credentials during missing-input recovery, without requesting a network command
  4. usesShown the credential files, Qwen-family agents open home-directory secrets and non-Qwen open models do not (44/64 vs 0/176 sessions); the non-Qwen reads stop at the project .env and are never used
  5. supportsQwen3.8-Flash-Next sent planted fake credentials after a 401 in 70/73 tasks at Q8, Q4 and 2-bit; 2-bit misdirected them more (16/30 vs 7/30); detect-secrets flagged 20 of 243 commands
  6. usesQwen3.8-Flash-Next's practical risk is credential use against the user's own servers when a requested file is missing, about 2 in 10 such sessions at 8-bit; no uploads or third-party contact were seen
  7. usesFlash-Next audit preserves credential-use evidence but finds two wrong citations and inconsistent recital tables
  8. usesOn ten risky prompts, equivalent tool JSON cuts Flash-Next Q2's tool-opening probability from 32% to 2%
  9. usesFalco's stable sensitive-file gate excludes all 104 recorded developer-credential reads; its SSH rule matches 3 of 32 natural-task readers
  10. usesScoped file tools cut Flash-Next's outside-workspace requests from 14/16 to 2/16; adding ask_user did not
  11. usesPrompt rules cut Qwen3.8 commands outside the workspace, but Flash-Next breaks even the combined rule within three responses
  12. usesFlash-Next searches outside the workspace and probes extra hosts at 8, 4 and 2 bits in simulated sessions
  13. usesMissing files did not send coding agents online (0/348 calls); a failed clone did: a 4B student of Qwen3.8-27B traces probed or refetched in 60–92% vs 0–25% for its base
  14. usesAgent traces teach network probing where tasks point at what the sandbox lacks, not by lab: in one sandbox Qwen3.8-27B probes no more than other Qwens, and env dumps leaked harness tokens
  15. uses47 public agent-trace datasets carry their builders' own API keys, from 18 sources: env dumps account for 5, logged headers and pasted session keys for most, and copies spread them to 25 more
  16. usesMost sandbox credentials in public agent traces come from test logs and a hard-coded judge key, not models' env dumps: 16 credentials in 8 of 605 Hub datasets, one OpenAI-format key in ~2,900 trials

Cited by

5 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%) reviews, uses, supports, challenges
  2. Qwen3.8-27B requested fake home credentials in 8/24 simulated sessions versus Llama-3.2-3B 0/24; simulator errors prevent a clean replication uses
  3. Removing credential stores leaves 93 of 221 simulated authentication events unchanged, covering half of positive sessions uses, challenges
  4. The same credential prohibition yields 0/77 versus 21/22 flagged sessions under one detector in two simulated-shell datasets uses, reviews
  5. Thirteen of sixteen public-key calibration scores are censored; the search cannot identify Qwen3.8’s training source reviews