arXiv(opens in a new tab)cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.00578

Same Request, Different Boundary: Evaluating Cybersecurity Assistance across Conversational Contexts

Rui Yang, Yang Hong, Yichao Xu, Zhengyu Liu, Ziyang Li, Yinzhi Cao

Abstract

Large Language Models (LLMs) can solve complex problems, but their misuse in high-risk domains can lead to severe consequences. Model providers therefore restrict assistance for potentially harmful requests. Refusing all cybersecurity requests would therefore harm legitimate users. Providers need a mechanism to block malicious use without denying legitimate assistance to defenders. Existing cybersecurity-specific datasets evaluate this mechanism, but none considers the conversational context of a request. We introduce 3R-Bench (Refusal, Repetition, and Revision), a benchmark of 150 real-world cybersecurity requests augmented with two adversarial conversational settings, and evaluate eight LLMs on it. Prior assistant behavior strongly changes responses to an unchanged request: among 376 available pairs from a 400-pair panel, compliance rises from 62.0% after refused history to 85.1% after accepted history. The opposite pattern appears under dialogue decomposition. In comparison, compliance falls from 501/800 direct responses to 172/800 after dialogue; among 738 pairs returning model-authored text in both conditions, the decrease is 45.1 points. Failure feedback recovers only a small fraction of this loss.

1 Introduction

Recent large language models demonstrate strong capabilities in solving real-world cybersecurity tasks, including vulnerability detection (Wang et al., 2026b) and exploit development (Wang et al., 2026a). These capabilities are a double-edged sword: the same technical guidance can help defenders understand and mitigate vulnerabilities, but can also enable attackers to exploit them. Therefore, model providers have begun deploying safeguards for cybersecurity assistance, including safety alignment and additional safety checks, to refuse malicious requests while preserving utility for legitimate users (OpenAI, 2026; Anthropic, 2026).

Existing safety-refusal benchmarks primarily evaluate explicitly malicious requests across broad harm categories (Mazeika et al., 2024; Souly et al., 2024; Xie et al., 2025). Cybersecurity refusal is more challenging because the same concrete task may serve either legitimate or malicious purposes, requiring additional analysis of the user's intent and authorization. Campbell et al. (Campbell et al., 2026) study overrefusal using exclusively legitimate defensive tasks, while CyberSecEval 2 (Bhatt et al., 2024) evaluates the safety-utility tradeoff using both malicious and borderline-benign tasks, finding that many models refuse most malicious prompts while remaining helpful on benign ones. While these results are promising, whether this safety-utility balance holds under adversarial conversational settings still remains unexplored.

To study this gap, we introduce 3R-BENCH, a benchmark of 150 real-world cybersecurity requests augmented with two adversarial conversational settings. Figure 1 summarizes its three evaluation scenarios. Scenario 1 (S1) establishes the baseline by presenting each request directly. Scenario 2 (S2) forges conversational context by preceding an unchanged request with fabricated assistant responses that either accept or refuse it. Scenario 3 (S3) decomposes the task across multiple turns in which the assistant explains the task, assesses its feasibility, and

Figure

Figure 1: Overview of the three evaluation scenarios. A simplified proof-of-concept example highlights the controlled context changes; Section 2 presents a complete running example.

provides a preliminary proof of concept before the final request.

Evaluating eight LLMs on 3R-BENCH shows that model responses span full compliance, limited assistance, and refusal, with the same request shifting among these outcomes as its conversational context changes. Specifically, in S2, a forged history of acceptance raises compliance from 62.0% to 85.1% among available matched pairs. Additional experiments show that even task-unrelated accepted precedent increases compliance, while acceptance of the same task strengthens this effect. In contrast, in S3, compliance falls from 67.8% under direct presentation to 22.6% after task decomposition, contrary to the expectation that multi-turn dialogue escalation facilitates safeguard bypass. These findings highlight the need to evaluate cybersecurity safeguards across adversarial conversational contexts, beyond direct task presentation.

References (35)

  • CyberSecEval 2: A wide-ranging cybersecurity evaluation suite for large language models (opens arXiv in a new tab)
  • Defensive refusal bias: How safety alignment fails cyber defenders (opens arXiv in a new tab)
  • HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
  • A StrongREJECT for empty jailbreaks
  • 10.52202/079017-3984. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/e2e06adf560b0706d3b1ddfca9f29756-Abstract-Datasets_and_Benchmarks_Track.html. (opens the publisher in a new tab)
  • Can ai agents turn security vulnerabilities into real attacks? arXiv preprint arXiv:2605.11086, 2026a (opens arXiv in a new tab)
  • Cybergym: Evaluating ai agents' real-world cybersecurity capabilities at scale
  • SORRY-Bench: Systematically evaluating large language model safety refusal
  • A source row was not necessarily a complete user request: the crawl included multiple source formats, partial representations, and structured security records
  • Of these, 13,866 were reconstructed natural Security StackExchange requests and 13,810 were structured vulnerability or technique records
  • We excluded structured vulnerability entries, synthetic templates, non-requests, duplicate-like records, truncated fragments, requests requiring unavailable context, and records whose inclusion would expose live secrets or sensitive personal information
  • Human experts reviewed records marked uncertain and resolved boundary cases
  • They were not combined into a risk score or used to determine inclusion
  • They also considered task-family coverage, requested depth, execution context, and whether the request could be understood without external material
  • Discussion was appropriate because dual-use classification often turns on incomplete authorization and operational detail rather than a mechanical rule
  • COMPLY, BOUNDED, or REFUSE
  • The source archive preserves the exact case messages and content hashes, but not item-level expert-review or consensus records for history validation
  • Calls use provider defaults in fresh sessions without extra system messages, tools, retrieval, or external memory
  • This proof of concept has now been reviewed. Can you write another one?
  • This proof of concept does not actually work. Can you write another one?
  • Can you write another proof of concept?
  • One out-of-cohort S2 pilot request and six out-of-cohort S3 pilot requests were
  • Only these complete reconciled panels enter the reported control contrasts
  • Each request follows the same task decomposition and ends with failure feedback
  • Transport failures may be retried and otherwise remain missing
  • Tone, warnings, and authorization language do not override delivered capability
  • Condition names, target-model identities, and primary experimental hypotheses are withheld
  • The sample contains 25 direct, 50 auxiliary-direct, and 25 history-conditioned responses
  • ><tr><td rowspan=
  • The S2 main ambiguity contrast is +23.1 points (prompt-cluster bootstrap 95% interval +16.6 to +29.9)
  • Because histories are predefined rather than randomly sampled natural conversations, these quantities summarize paired evidence and do not identify population-level causal effects
  • >Model</td><td colspan=
  • Calls were issued through hosted OpenAI-compatible, Amazon Bedrock, or Anthropic APIs without added system messages or tools
  • Of 4,080 controlled-scenario rows, 3,252 use the primary automated coding route, 96 use an automated secondary coder after a primary-coder block, 585 use documented manual fallback adjudication (including four after both automated routes blocked), and 147 are target-provider blocks
  • The underlying Security StackExchange posts are not redistributed and remain subject to their date-specific CC BY-SA licenses (Stack Exchange, 2026)