Foundation-Sec-8B-Reasoning - Model Card
80
7 commits
4 linked in READMEs
updated Feb 10, 2026
Llama-3.1-FoundationAI-SecurityLLM-8B-Reasoning (Foundation-Sec-8B-Reasoning) is an open-weight, 8-billion parameter instruction-tuned language model specialized for cybersecurity applications. It extends the Foundation-Sec-8B base model with instruction-following and reasoning capabilities. It leverages prior training to understand security concepts, terminology, and practices across multiple security domains. Further reasoning training enables the model to reason about problems before presenting a solution. Foundation-Sec-8B-Reasoning enables organizations to build AI-driven security tools that can be deployed locally, reducing dependency on cloud-based AI services while maintaining high performance on security-related tasks.
Foundation-Sec-8B-Reasoning is designed for security practitioners, researchers, and developers building AI-powered security workflows and applications. Foundation-Sec-8B-Reasoning is optimized for three core use case categories:
The model is intended for local deployment in environments prioritizing data security, regulatory compliance, and operational control.
Foundation-Sec-8B-Reasoning can be used directly for security-related chat use cases. Example downstream applications include:
For questions or assistance with fine-tuning Foundation-Sec-8B-Reasoning, please reach out to the team.
The following uses are out-of-scope and are neither recommended nor intended use cases:
Use the code below to get started with the model. The cookbook provides example use cases, code samples for adoption, and references.
# Import the required libraries
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load the model and tokenizer
tokenizer = AutoTokenizer.from_pretrained("fdtn-ai/Foundation-Sec-8B-Reasoning")
model = AutoModelForCausalLM.from_pretrained("fdtn-ai/Foundation-Sec-8B-Reasoning")
prompt = "CVE-2015-10011 is a vulnerability about OpenDNS OpenResolve improper log output neutralization. What is the corresponding CWE?"
messages = [
{"role": "user", "content": prompt}
]
model_inputs = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(model_inputs, return_tensors="pt", add_special_tokens=False)
output = model.generate(**inputs, temperature=0.1, max_new_tokens=1024)
resp = tokenizer.batch_decode(output)[0]
print(resp.replace(model_inputs, ""))
For production deployments, you can serve Foundation-Sec-8B-Reasoning using vLLM. The model uses the minimax_m2 reasoning parser to properly handle reasoning traces.
vllm serve "fdtn-ai/Foundation-Sec-8B-Reasoning" \
--host 0.0.0.0 \
--port ${PORT} \
--tensor-parallel-size 1 \
--max-model-len 32768 \
--trust-remote-code \
--reasoning-parser minimax_m2
Adjust --tensor-parallel-size based on your GPU configuration and --max-model-len based on your memory constraints.
Foundation-Sec-8B-Reasoning was trained on a wide variety of public and proprietary question answer/pairs for general and security-specific reasoning and instruction-following tasks.
Data cutoff: April 10th, 2025.
A more detailed description of the methodology is available in the technical report.
Foundation-Sec-8B-Reasoning is based on the Llama 3.1 8B architecture. Training was performed on Cisco Foundation AI’s internal compute cluster.
Key training details:
A more detailed description of the methodology is available in the technical report.
Foundation-Sec-8B-Reasoning was benchmarked on cybersecurity and general reasoning tasks, using a standardized 0-shot instruction prompting setup (temperature = 0.3).
| Benchmark | Foundation-Sec-8B-Reasoning | Llama 3.1 8B | GPT-5-Nano |
|---|---|---|---|
| CTI-MCQA | 0.691 | 0.607 | 0.688 |
| CTI-RCM | 0.753 | 0.531 | 0.672 |
| CTI-VSP | 0.856 | 0.811 | 0.822 |
| CTI-Reasoning | 0.411 | 0.335 | 0.431 |
Benchmark Overview:
Key highlights:
For full benchmark details and evaluation methodology, please refer to the technical report.
Standard best practices were followed to align the model with general safety values. Despite the alignment, however, safe out-of-the-box performance cannot be guaranteed. Our evaluations show that while the model can achieve reasonable safety performance out-of-the-box, LlamaGuard provides much better protection against malicious requests. It is recommended to deploy this model with additional safeguards (such as LlamaGuard) and human oversight.
| Model | HarmBench Performance |
|---|---|
| Llama-3.1-8B-Instruct | 62.75% |
| Foundation-Sec-8B-Reasoning | 93.00% |
| LlamaGuard + Foundation-Sec-8B-Reasoning | 98.25% |
Foundation-Sec-8B-Reasoning has several limitations that users should be aware of:
To address the limitations of Foundation-Sec-8B-Reasoning, we recommend:
@misc{yang2026foundation-sec-8b-reasoning,
title={Llama-3.1-FoundationAI-SecurityLLM-Reasoning-8B Technical Report},
author={Zhuoran Yang and Ed Li and Jianliang He and Aman Priyanshu and Baturay Saglam and Paul Kassianik and Sajana Weerawardhena and Anu Vellore and Blaine Nelson and Neusha Javidnia and Arthur Goldblatt and Fraser Burch and Avi Zohary and Assaf Eisenman and Mahdi Sabbaghi and Supriti Vijay and Rahim Dharssi and Dhruv Kedia and Kojin Oshiba and Yaron Singer and Amin Karbasi},
year={2026},
eprint={2601.21051},
archivePrefix={arXiv},
primaryClass={cs.CR},
url={https://huggingface.co/papers/2601.21051}
}
Foundation-Sec-8B-Reasoning - Model Card
80
7 commits
4 linked in READMEs
updated Feb 10, 2026
Llama-3.1-FoundationAI-SecurityLLM-8B-Reasoning (Foundation-Sec-8B-Reasoning) is an open-weight, 8-billion parameter instruction-tuned language model specialized for cybersecurity applications. It extends the Foundation-Sec-8B base model with instruction-following and reasoning capabilities. It leverages prior training to understand security concepts, terminology, and practices across multiple security domains. Further reasoning training enables the model to reason about problems before presenting a solution. Foundation-Sec-8B-Reasoning enables organizations to build AI-driven security tools that can be deployed locally, reducing dependency on cloud-based AI services while maintaining high performance on security-related tasks.
Foundation-Sec-8B-Reasoning is designed for security practitioners, researchers, and developers building AI-powered security workflows and applications. Foundation-Sec-8B-Reasoning is optimized for three core use case categories:
The model is intended for local deployment in environments prioritizing data security, regulatory compliance, and operational control.
Foundation-Sec-8B-Reasoning can be used directly for security-related chat use cases. Example downstream applications include:
For questions or assistance with fine-tuning Foundation-Sec-8B-Reasoning, please reach out to the team.
The following uses are out-of-scope and are neither recommended nor intended use cases:
Use the code below to get started with the model. The cookbook provides example use cases, code samples for adoption, and references.
# Import the required libraries
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load the model and tokenizer
tokenizer = AutoTokenizer.from_pretrained("fdtn-ai/Foundation-Sec-8B-Reasoning")
model = AutoModelForCausalLM.from_pretrained("fdtn-ai/Foundation-Sec-8B-Reasoning")
prompt = "CVE-2015-10011 is a vulnerability about OpenDNS OpenResolve improper log output neutralization. What is the corresponding CWE?"
messages = [
{"role": "user", "content": prompt}
]
model_inputs = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(model_inputs, return_tensors="pt", add_special_tokens=False)
output = model.generate(**inputs, temperature=0.1, max_new_tokens=1024)
resp = tokenizer.batch_decode(output)[0]
print(resp.replace(model_inputs, ""))
For production deployments, you can serve Foundation-Sec-8B-Reasoning using vLLM. The model uses the minimax_m2 reasoning parser to properly handle reasoning traces.
vllm serve "fdtn-ai/Foundation-Sec-8B-Reasoning" \
--host 0.0.0.0 \
--port ${PORT} \
--tensor-parallel-size 1 \
--max-model-len 32768 \
--trust-remote-code \
--reasoning-parser minimax_m2
Adjust --tensor-parallel-size based on your GPU configuration and --max-model-len based on your memory constraints.
Foundation-Sec-8B-Reasoning was trained on a wide variety of public and proprietary question answer/pairs for general and security-specific reasoning and instruction-following tasks.
Data cutoff: April 10th, 2025.
A more detailed description of the methodology is available in the technical report.
Foundation-Sec-8B-Reasoning is based on the Llama 3.1 8B architecture. Training was performed on Cisco Foundation AI’s internal compute cluster.
Key training details:
A more detailed description of the methodology is available in the technical report.
Foundation-Sec-8B-Reasoning was benchmarked on cybersecurity and general reasoning tasks, using a standardized 0-shot instruction prompting setup (temperature = 0.3).
| Benchmark | Foundation-Sec-8B-Reasoning | Llama 3.1 8B | GPT-5-Nano |
|---|---|---|---|
| CTI-MCQA | 0.691 | 0.607 | 0.688 |
| CTI-RCM | 0.753 | 0.531 | 0.672 |
| CTI-VSP | 0.856 | 0.811 | 0.822 |
| CTI-Reasoning | 0.411 | 0.335 | 0.431 |
Benchmark Overview:
Key highlights:
For full benchmark details and evaluation methodology, please refer to the technical report.
Standard best practices were followed to align the model with general safety values. Despite the alignment, however, safe out-of-the-box performance cannot be guaranteed. Our evaluations show that while the model can achieve reasonable safety performance out-of-the-box, LlamaGuard provides much better protection against malicious requests. It is recommended to deploy this model with additional safeguards (such as LlamaGuard) and human oversight.
| Model | HarmBench Performance |
|---|---|
| Llama-3.1-8B-Instruct | 62.75% |
| Foundation-Sec-8B-Reasoning | 93.00% |
| LlamaGuard + Foundation-Sec-8B-Reasoning | 98.25% |
Foundation-Sec-8B-Reasoning has several limitations that users should be aware of:
To address the limitations of Foundation-Sec-8B-Reasoning, we recommend:
@misc{yang2026foundation-sec-8b-reasoning,
title={Llama-3.1-FoundationAI-SecurityLLM-Reasoning-8B Technical Report},
author={Zhuoran Yang and Ed Li and Jianliang He and Aman Priyanshu and Baturay Saglam and Paul Kassianik and Sajana Weerawardhena and Anu Vellore and Blaine Nelson and Neusha Javidnia and Arthur Goldblatt and Fraser Burch and Avi Zohary and Assaf Eisenman and Mahdi Sabbaghi and Supriti Vijay and Rahim Dharssi and Dhruv Kedia and Kojin Oshiba and Yaron Singer and Amin Karbasi},
year={2026},
eprint={2601.21051},
archivePrefix={arXiv},
primaryClass={cs.CR},
url={https://huggingface.co/papers/2601.21051}
}