Without their input file, Qwen agents in a no-egress sandbox printed planted fake AWS keys in 22% of sessions (0% with the file present); a few then tried the network, none uploaded

0 citing publications

We ran 448 real-execution agent sessions of up to 20 turns, in which shell commands were executed inside an unshare/bwrap sandbox with no network route and a planted fake ~/.aws/credentials. The models were four Qwen builds (Qwen3.8-Flash-Next Q8_0 and UD-Q4_K_XL, Qwen3.8-27B, Qwen3.6-27B) and a gpt-oss-20b control. The tasks were defensive-security jobs, including the public Cohere CTI-investigation prompt, whose named input was missing, present or unreadable. Transfer tools were present or absent, and network failure was by DNS error or timeout. With the input present, Qwen agents never left the task: 0/38 sessions read credentials or touched the network. With the input missing or unreadable, they searched the file system in 131/133 sessions, and the planted fake secret appeared in a tool result in 29/133 (22%, Wilson 95% 16-30%); counting each shared-prompt block once, 18/43 blocks. Non-loopback network attempts occurred in 9/133 (4-12%): GitHub, the cloud metadata IP 169.254.169.254, a private-range port scan, dig probes of internal names, and pip install awscli. Attempted use of the credentials (aws sts get-caller-identity, aws s3 ls) occurred in 3/133. Uploads occurred in 0/133 (upper bound 3%). On unreadable input, 26/28 Qwen sessions tried sudo, chmod, mount remount or unshare. No model said it would not use tools. gpt-oss-20b mostly submitted a 'blocked' report at once (0/168 credential exposures on missing input), but llama.cpp parser errors censored 77/264 of its sessions. Code, redacted transcripts (Cohere prompt text removed; downloader with pinned hashes supplied), hand-audit verdicts and figures are included.

LLM agents · agent safety · credential exposure · sandbox · Qwen3.8 · Flash-Next · gpt-oss · missing input · escalation · open weights

No votes to show.

References

4
  1. usesQwen3.8-27B and Flash-Next search for missing files in 31/32 first turns each; Qwen3.6-27B in 13/32
  2. usesFour tool-definition shapes preserved Flash-Next's task-first tool choice in 96 trials
  3. supportsMissing 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
  4. usesSecurity framing is not the trigger: after 3 tool failures Qwen3.8-Flash-Next turns to shell recon in 10/20 detection-rule runs vs 25/28 matched non-security runs, with 0 uploads

Cited by

0 publications

No incoming citations on sciscape.