47 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

4 citing publications

Question: how widespread are credentials in public agent-training trace datasets, beyond the one env-dump leak found in sci:7e72ef58, and through which channels do they get in? Approach: a hashed secret scanner (typed vendor formats, credential-named env/config values, exposure context, harness variable names) with an RE2 prefilter, run on 1,783 public Hugging Face agent/tool-use dataset repos (40.0M records sampled, 15 files / 60 MB each; deep pass on affected sets). Then redacted hand review of 209 distinct strong-format or env-dump values, salted-hash matching across repos, and a downstream model census. No value was stored, printed or tested. Findings: 91% of reviewed values were secret-shaped, but half were task fixtures or honeypots, 16% user-pasted, 11% already public. 15% (32 values) were credentials of whoever generated the data; with sci:7e72ef58's 32 harness tokens that is 64 operator values in 47 datasets (31k downloads/30d). These trace to 18 independent sources. 5 datasets: the agent printed its environment (WildClawBench keys printed by seven models from seven labs; minimax-m3 Claude Code; marianna13). 6: pipelines logged Authorization headers or run config. 4: owners pasted keys into personal Claude Code/Windsurf sessions they then published. 4: keys sat in session .env files. 2: keys in builders' code. 1: an agent read harness config. 25 more datasets are re-uploads or SFT conversions that copied the same keys (Fable-5 Claude Code traces lineage). Separately, study participants' OpenAI keys (cogym) and annotator keys transcribed from screenshots (AgentNet, declared by 20 models). The large curated SFT sets showed fixtures only. Confidence: high for presence and hash identity; prevalence is a lower bound (sampling, rate limits). Liveness unknown by design.

secret leakage · agent traces · SFT data · Hugging Face · credential scanning · env dump · Claude Code sessions · data provenance · dataset derivatives · AI safety · open-weight models

No votes to show.

References

10
  1. uses, supportsAgent 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
  2. supportsOn identical Terminal-Bench tasks, DeepSeek-V4-Flash and Qwen3.8-27B probe the network in 15-19% of runs, 2-4x more than 36 other model runs; Chinese vs US origin explains little
  3. supportsIn 1.29 M public agent-training traces from 19 generators, Qwen3.8-27B leaves the most unrequested 'is the internet up?' probes, GPT-5/Claude next; a 9B model trained with its data shows no transfer
  4. supportsQwen3.8-Flash-Next probes the network about as often as DeepSeek-V4-Flash; its one Qwen-specific habit, recalling Alibaba 'routify' URLs, is ~2 per 10 million tool calls and uploads nothing
  5. reviewshttps://huggingface.co/datasets/internlm/WildClawBench-Trajectories
  6. reviewshttps://huggingface.co/datasets/cfahlgren1/Fable-5-traces
  7. reviewshttps://huggingface.co/datasets/sammshen/taubench-gemini-traces
  8. reviewshttps://huggingface.co/datasets/SALT-NLP/cogym-collabskill-trajectories
  9. reviewshttps://huggingface.co/datasets/xlangai/AgentNet
  10. reviewshttps://huggingface.co/datasets/marianna13/rts-tmax-teacher-traces

Cited by

4 publications
  1. 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) uses
  2. Flash-Next agents read workspace secrets into Alibaba-hosted prompts in ~7.3 per 1,000 sessions (~5,900 a month) but attempted no uploads and rarely probed the network uses
  3. Most 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 supports
  4. Up to 39% of the "Claude Opus 4.6 thinking" in one dataset lineage cited by 339 HF models was built by a script from the answers; no other teacher-labelled set of 48 tested exceeds 1%