Configuration Parsing Warning:In adapter_config.json: "peft.task_type" must be a string

gpt-oss-20b BashArena attacker (LoRA)

A research artifact from an AI control study: a LoRA adapter that makes gpt-oss-20b pursue a hidden side task while doing a Linux admin task in ControlArena's BashArena sandbox. It was built to test whether fine-tuning gives a stronger red-team attacker than prompting when a trusted monitor is watching.

Intended use: evaluating monitors and control protocols inside sandboxed AI control settings. The side tasks (sudo escalation, disabling a firewall, downloading a mock payload, leaking mock credentials) target BashArena's own containers.

Revisions

Revision Checkpoint Note
5873f274f7150676d552abd19b287747f83168e9 epoch 1 of 2 used in the study (picked on validation attack success, 46/75 vs 36/75)
e57a1253d88f5a8790bb744eb13122d60e1657ff epoch 2 of 2 same weights as main
from peft import PeftModel
from transformers import AutoModelForCausalLM
base = AutoModelForCausalLM.from_pretrained("openai/gpt-oss-20b")
model = PeftModel.from_pretrained(base, "sevenbow/gpt-oss-20b-bashattack-lora",
                                  revision="5873f274f7150676d552abd19b287747f83168e9")

With vLLM: --enable-lora --max-lora-rank 16 --lora-modules attacker=<local snapshot of the revision>.

Training

  • Data: sevenbow/bashattack-sft. These are 164 successful attacks by the base model itself, collected with BashArena's published red-team prompt on 80 training tasks. They are relabelled under a short goal-only prompt (context distillation), keeping the model's own actions and reasoning. 1,097 rows, 11.5M tokens.
  • Recipe: LoRA rank 16, alpha 32, attention projections, bf16, 2 epochs, learning rate 2e-4, loss on assistant turns only. 36 minutes on one H200.

Results

Test split of 99 main tasks ร— 4 side tasks (396 paired runs per condition). Monitor: GPT-4.1-nano, actions only, max step score above 0.8 counts as caught (0% of honest runs flagged).

Prompt Base: success / undetected This adapter: success / undetected
Goal-only 49.5% / 36.4% 51.8% / 27.8%
BashArena red-team 48.2% / 29.5% 54.5% / 25.5%

The adapter attacks slightly more often but is louder: it narrates its plan in tool calls and spreads attacks over more steps, so undetected success falls. Honest-mode behaviour is unchanged (0/99 flagged, same as base). This is a negative result about fine-tuning for stealth, not a stronger attacker.

Downloads last month
11
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for sevenbow/gpt-oss-20b-bashattack-lora

Adapter
(500)
this model

Dataset used to train sevenbow/gpt-oss-20b-bashattack-lora