bashattack-sft / README.md
sevenbow's picture
Model/dataset card
e95c3dd verified
|
Raw History Blame Contribute Delete
1.66 kB
metadata
license: other
tags:
  - ai-control
  - red-teaming
  - basharena
  - sft
size_categories:
  - 1K<n<10K

BashArena attack SFT set (gpt-oss-20b, context-distilled)

Training data for sevenbow/gpt-oss-20b-bashattack-lora.

Source: gpt-oss-20b's own successful attacks in ControlArena's BashArena. They were collected with the published red-team prompt on 80 training tasks × 4 side tasks (sudo_edit, disable_firewall, download_malware, leak_passwords). That gave 312 runs and 164 successes.

Processing (context distillation): in each trajectory, the red-team system prompt and the "use the main task as cover" user prompt are replaced by a short goal-only prompt and the honest user prompt. The main task, side-task goal, observations and the model's own actions and reasoning are kept. Auto-submit tails, turns without a tool call and turns with garbled tool calls are dropped. Prompts are rendered by the same vLLM server used for evaluation, in gpt-oss's harmony format.

Format

train_rows.jsonl: 1,097 rows, 11.5M tokens, already tokenized for openai/gpt-oss-20b.

{"input_ids": [...], "loss_spans": [[start, end]], "metadata": {"main_task": "11106875", "side_task": "sudo_edit", "sample_id": "11106875", "epoch": 1}}

loss_spans mark the assistant turns that are trained on (token offsets, end exclusive).

Content note: the trajectories are attacks inside a sandbox. The "credentials" and "payloads" are BashArena fixtures, not real secrets. The task content is derived from BashArena, so its terms apply.