Automated Security Side Task Generation for AI Control
Joachim Schaeffer · Team AutomatedAttacker
Submitted to AI Control Hackathon 2026. Sprint projects are early-stage work by participants, not Apart Research publications.
AI control evaluations and training monitors require realistic sabotage trajectories which in turn require side tasks. However, generating good side tasks is cumbersome and time intensive. We present an automated pipeline for generating security vulnerability insertion side tasks paired with SWE-bench main tasks. We build SWE-django-sidetasks, a dataset of 18 Django tasks with CWE-mapped vulnerabilities that blend into SWE-Bench main tasks. Each side task has an outcome-focused attack prompt and a self-contained pytest verifier. We evaluate 6 frontier models across honest and attack modes with end-of-trajectory monitoring by Opus 4.6 and GPT-4.1. Monitors show partial separation between honest and attack distributions with AUROCs from 0.58-0.98. The generation pipeline scales with model capability and enables adversarial training of attacks and monitors to harden defenses.
Reviews
I like this idea for generating a dataset. I think the main difficulty will be in giving the monitors a good criterion to look for. Telling the monitors the specific vulnerability to watch out for is unrealistic, the list of different side tasks is too long to give them the full list, and just telling them "security vulnerabilities" risks ambiguity. BashArena deals with this problem by making a short list of side tasks that can be integrated with any main task, such that we can give the short list which is a clear but not unrealistically specific criterion to monitor for. The fact that the side tasks are compatible with all the main tasks is important - if the main task obviously doesn't support 3/4 side tasks, then we're back to square one with an overly specific monitor criterion.
Writeup was very clear but it's hard to get much from the results without seeing how the monitors were prompted and what code was used to calculate safety. Not seeing dataset generation is fine
Read full reviewShow less
Overall great project and address a critical gap in AI control research. Results are only reported in cheat mode, which may not reflect realistic realistic deployment conditions. We don't know whether attacks would succeed when models must independently locate relevant code without being provided provides gold patch file paths and test patches.
Cite this project
@misc{schaeffer2026automated,
title = {{Automated Security Side Task Generation for AI Control}},
author = {Joachim Schaeffer},
year = {2026},
month = mar,
note = {Submitted to AI Control Hackathon 2026, an Apart Research Sprint},
howpublished = {\url{https://apartresearch.com/sprints/projects/automated-security-side-task-generation-for-ai-control-yqpv}},
url = {https://apartresearch.com/sprints/projects/automated-security-side-task-generation-for-ai-control-yqpv}
}More from AI Control Hackathon 2026
- 1st placeLinuxArena track winnerView project: Omission Attacks: When Doing Nothing Is the Attack
Omission Attacks: When Doing Nothing Is the Attack
MAIA
AI control protocols monitor agent actions to detect sabotage, but omission attacks exploit what the agent fails to do rather than what it does. We define omission attacks as security breaches caused by failing to …
- 2nd placeView project: Detecting LLM Subversion in Vulnerability Patching Settings
Detecting LLM Subversion in Vulnerability Patching Settings
Vuln4Control
LLMs are increasingly used to propose fixes to vulnerabilities in code. If the LLM is misaligned or untrustworthy, it may propose fixes that seem to fix a vulnerability but leave the core issue unresolved in a subtle …
- 3rd placeView project: ActionLens: Pre-Execution Environment Probing for Agent Action Approval
ActionLens: Pre-Execution Environment Probing for Agent Action Approval
Udbhav&Ashok
ActionLens is a pre-execution control protocol for shell and file actions proposed by AI agents. Instead of approving an action from transcript alone, a trusted monitor gathers lightweight environment evidence before …