CRAKEN: A Cybersecurity LLM Agent Based on Knowledge ExecutionCRAKEN: Cybersecurity LLM Agent with Knowledge-Based Execution
The researchers propose CRAKEN, a cybersecurity LLM agent framework that integrates security knowledge into task execution, for automated multi-stage vulnerability detection and exploitation. To address two limitations of existing LLM security agents—difficulty in acquiring the latest cybersecurity expertise beyond training data, and difficulty in integrating new knowledge into complex task planning—the framework designs three mechanisms: task-critical information context decomposition, iterative self-reflective knowledge retrieval, and knowledge prompt injection that turns insights into adaptive attack strategies. In evaluations using a CTF solution knowledge base, CRAKEN achieves 22% accuracy on NYU CTF Bench, 3% higher than prior methods, attaining SOTA results; in MITRE ATT&CK technique evaluations it solves 25%-30% more techniques than prior work. The framework is open-sourced on GitHub: https://github.com/NYU-LLM-CTF/nyuctf_agents_craken。