mlsanityData to 7 Oct 2026

Evaluating Context Segmentation in Locally Deployable SLMs for Cybersecurity CTF Tasks

arXiv 2609.12839 ↗First posted 11 Sep 2026cs.CR cs.AIcited by 0

On the map: LLM safety and security → Prompt injection and agent security

Abstract (arXiv)

The proliferation of highly capable open-weight Small Language Models (SLMs) democratizes access to advanced cybersecurity capabilities, posing an escalating risk as these models can bypass proprietary API guardrails when deployed locally. However, SLMs deployed as autonomous agents often struggle with long-horizon, exploratory tasks like cybersecurity Capture The Flag (CTF) challenges due to context bloat and cognitive degradation from accumulated tool-call outputs. To understand and mitigate this cybersecurity threat, we introduce context segmentation, a two-level agentic framework that divides complex exploitation tasks into manageable, contextually isolated sub-problems. Evaluating on the picoCTF dataset using memory-constrained gemma-4 models, we demonstrate that for the E4B model, our strategy acts as an intelligent search, achieving competitive rewards with superior token efficiency compared to brute-force retries, and successfully solving 18.52% of tasks that standard agentic execution fails to complete. Code is available at https://github.com/9xeb/context-segmentation.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 16 of its 25 references that are in the map. First posted on arXiv 11 Sep 2026.

Builds on

16 of 25 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023From ChatGPT to ThreatGPT: Impact of Generative AI in Cybersecurity and Privacy3 Jul

Other references · 15

  1. 2025Qwen3 Technical Reportcited by 8,195
  2. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  3. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
  4. 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 229
  5. 2024Cybench: A Framework for Evaluating Cybersecurity Capabilities and Risks of Language Modelscited by 156
  6. 2025From LLM Reasoning to Autonomous AI Agents: A Comprehensive Reviewcited by 146
  7. 2024LLM Agents can Autonomously Hack Websitescited by 108
  8. 2025CyberGym: Evaluating AI Agents' Real-World Cybersecurity Capabilities at Scalecited by 71
  9. 2024A Survey of Small Language Modelscited by 31
  10. 2025LFM2 Technical Reportcited by 31
  11. 2025How Is LLM Reasoning Distracted by Irrelevant Context? An Analysis Using a Controlled Benchmarkcited by 26
  12. 2025Cybersecurity AI Benchmark (CAIBench): A Meta-Benchmark for Evaluating Cybersecurity AI Agentscited by 11
3 more
  1. 2025Exploring the Role of Large Language Models in Cybersecurity: A Systematic Surveycited by 5
  2. 2026Language Models Can Autonomously Hack and Self-Replicatecited by 2
  3. 2025Small Language Models for Phishing Website Detection: Cost, Performance, and Privacy Trade-Offscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Do Agents Dream of Root Shells? Partial-Credit Evaluation of LLM Agents in Capture the Flag Challenges
  2. 2026Capture the Flags: Family-Based Evaluation of Agentic LLMs via Semantics-Preserving Transformations
  3. 2026STRIATUM-CTF: A Protocol-Driven Agentic Framework for General-Purpose CTF Solving
  4. 2026Cyber Defense Benchmark: Agentic Threat Hunting Evaluation for LLMs in SecOps
  5. 2026CTFusion: A CTF-based Benchmark for LLM Agent Evaluation
  6. 2025The Evolution of Agentic AI in Cybersecurity: From Single LLM Reasoners to Multi-Agent Systems and Autonomous Pipelines
  7. 2024EnIGMA: Interactive Tools Substantially Assist LM Agents in Finding Security Vulnerabilities
  8. 2025DefenderBench: A Toolkit for Evaluating Language Agents in Cybersecurity Environments