Llama-3.1-FoundationAI-SecurityLLM-Base-8B Technical Report
Paul Kassianik, Baturay Saglam, Alexander Chen, Blaine Nelson, Anu Vellore, Massimo Aufiero, Fraser Burch, Dhruv Kedia, Avi Zohary, Sajana Weerawardhena, Aman Priyanshu, Adam Swanda, Amy Chang, Hyrum Anderson, Kojin Oshiba, Omar Santos, Yaron Singer, Amin Karbasi
TL;DR
Foundation-Sec-8B presents a cybersecurity-specialized LLM built on Llama 3.1-8B, achieved via continued pretraining on a curated cybersecurity corpus. It demonstrates competitive performance against larger models on CTI-focused benchmarks (CTIBench, CyberMetric, SecBench) while preserving general knowledge on MMLU, and shows practical utility in SOC automation, threat modeling, and security engineering enablement. The work provides public checkpoints to accelerate adoption and emphasizes that domain-aware pretraining can enable smaller models to approach or match larger, general-purpose LLMs in domain-specific cybersecurity tasks. Together, these results highlight the value of targeted data curation and continued pretraining for deploying effective defense-oriented LLMs at modest parameter scales.
Abstract
As transformer-based large language models (LLMs) increasingly permeate society, they have revolutionized domains such as software engineering, creative writing, and digital arts. However, their adoption in cybersecurity remains limited due to challenges like scarcity of specialized training data and complexity of representing cybersecurity-specific knowledge. To address these gaps, we present Foundation-Sec-8B, a cybersecurity-focused LLM built on the Llama 3.1 architecture and enhanced through continued pretraining on a carefully curated cybersecurity corpus. We evaluate Foundation-Sec-8B across both established and new cybersecurity benchmarks, showing that it matches Llama 3.1-70B and GPT-4o-mini in certain cybersecurity-specific tasks. By releasing our model to the public, we aim to accelerate progress and adoption of AI-driven tools in both public and private cybersecurity contexts.
