# CyBiasBench: Benchmarking Bias in LLM Agents for Cyber-Attack Scenarios

*Taein Lim, Seongyong Ju, Munhyeok Kim, Hyunjun Kim, Hoki Kim*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/139207) · [OpenReview](https://openreview.net/forum?id=eeSyiXuneO) · [alphaXiv](https://www.alphaxiv.org/abs/2605.07830) · [Open on the map](../papers.html#p139207)

Category: [AI Safety, Security & Alignment](../pcat/16.md) › [LLM Agent Security](../pgroup/484.md) · Type: benchmark or dataset · Keywords: LLM agent bias, cyberattack benchmarking, attack selection bias, bias momentum, reproducible evaluation

Areas: [AI Agents](../areas/agents.md) › Agent Robustness › Agent Security Benchmarks; [Safety & Security](../areas/safety.md) › Cybersecurity › Offensive Cyber Agent Benchmarks; [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Safety › LLM Safety Evaluation; [Benchmarks for LLMs & Agents](../areas/bench-llm-agents.md) › Agent Trustworthiness Benchmarks › Agent Security Benchmarks

## Summary
CyBiasBench is a 630-session benchmark that quantifies attack-selection bias in LLM agents across different targets and prompts, revealing distinct bias patterns and a momentum effect.

## Explained to a 5-year-old
Some computer programs that can think a little bit are used to try to break into computers. These programs sometimes like to pick the same kind of tricks over and over again, even when you tell them to try something else. We made a big test that watches many of these programs and counts how often they choose each trick. The test shows that the programs have their own favorite tricks and they don't change easily. This helps people understand how these programs think.

## Explained to a 5-year-old, longer
Some computer programs that can talk and help us write things are sometimes used to act like helpers in fighting against bad guys on the internet. When these helpers are told to do something dangerous, they often choose the same kind of dangerous actions many times. This habit is called a bias, which means they are not balanced in what they do. To study this, the researchers created a big test that runs many experiments with different helpers. In each experiment they recorded which kind of attack the helper tried, like stealing passwords or breaking into a system. They used many different computers to attack, many ways to ask the helper, and many different helpers to see how they behave. The test shows that each helper has its own favorite attack, and some helpers are more random than others. Even when the researchers tried to tell the helpers to do something different, the helpers kept doing what they usually did. This effect is called bias momentum, meaning the helpers resist changing their usual behavior. The researchers also made a website where anyone can look at the results and a package of scripts so other scientists can repeat the experiments. This helps everyone learn more about how these smart programs think and act.

## For a technical reader
The work introduces a benchmark that records LLM agents' attack selections across multiple scenarios. It finds that agents exhibit consistent biases in the types of attacks they choose, and these biases persist even when explicitly steered. The analysis uses entropy and distribution metrics to quantify bias and momentum effects. The benchmark and its artifacts are publicly released to enable further research.

## Problem
When large language models are used as autonomous agents in offensive cybersecurity, they tend to exhibit systematic biases in selecting attack types, focusing disproportionately on a narrow subset regardless of instructions. Understanding and measuring such biases is challenging due to a lack of standardized evaluation.

## Method
The authors construct a multi-target, multi-prompt benchmark that records each agent's attack selections across ten families and analyze the distribution of selections using entropy and bias metrics. They evaluate five agents under various conditions and examine how explicit steering attempts affect the agents' attack patterns.

## Results
The benchmark reveals explicit bias across agents, with different dominant attack families and varying entropy levels, and shows a bias momentum effect where steering attempts do not improve attack performance. Aggregated session-level statistics are available via an interactive dashboard.

## Contributions
A comprehensive benchmark that systematically measures attack-selection bias in LLM agents across multiple targets and prompts, an analysis of bias patterns and momentum effects, and an open-source dashboard with full evaluation scripts for reproducibility.

## Practical relevance
The benchmark provides a reproducible platform for researchers to study and mitigate biases in LLM agents used for cybersecurity tasks.

## Research questions this paper is counted under

- [How can we measure and evaluate LLM behavior in cybersecurity applications?](../q/600.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/139207)
