BioShield: A Context-Aware Firewall for Securing Bio-LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Das, Protiva, Chakraborty, Sovon, Narula, Sidhant, Potter, Lucas, Palmer, Xavier-Lewis, Rana, Pratip, Takabi, Daniel, Ghasemigol, Mohammad
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914416668180480
author Das, Protiva
Chakraborty, Sovon
Narula, Sidhant
Potter, Lucas
Palmer, Xavier-Lewis
Rana, Pratip
Takabi, Daniel
Ghasemigol, Mohammad
author_facet Das, Protiva
Chakraborty, Sovon
Narula, Sidhant
Potter, Lucas
Palmer, Xavier-Lewis
Rana, Pratip
Takabi, Daniel
Ghasemigol, Mohammad
contents The rapid advancement of Large Language Models (LLMs) in biological research has significantly lowered the barrier to accessing complex bioinformatics knowledge, ex perimental design strategies, and analytical workflows. While these capabilities accelerate innovation, they also introduce serious dual-use risks, as Bio-LLMs can be exploited to generate harmful biological insights under the guise of legitimate research queries. Existing safeguards, such as static prompt filtering and policy-based restrictions, are insufficient when LLMs are embedded within dynamic biological workflows and application-layer systems. In this paper, we present BioShield, a context-aware application-level firewall designed to secure Bio LLMs against dual-use attacks. At the core of BioShield is a domain-specific prompt scanner that performs contextual risk analysis of incoming queries. The scanner leverages a harmful scoring mechanism tailored to biological dual-use threat cat egories to identify prompts that attempt to conceal malicious intent within seemingly benign research requests. Queries ex ceeding a predefined risk threshold are blocked before reaching the model, effectively preventing unsafe knowledge generation at the source. In addition to pre-generation protection, BioShield deploys a post-generation output verification module that inspects model responses for actionable or weaponizable biological content. If an unsafe response is detected, the system triggers controlled regeneration under strengthened safety constraints. By combining contextual prompt scanning with response-level validation, BioShield provides a layered defense framework specifically designed for bio-domain LLM deployments. Our framework advances cyberbiosecurity by formalizing dual-use threat detection in Bio-LLMs and proposing a structured mitigation strategy for secure, responsible AI driven biological research.
format Preprint
id arxiv_https___arxiv_org_abs_2603_22612
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle BioShield: A Context-Aware Firewall for Securing Bio-LLMs
Das, Protiva
Chakraborty, Sovon
Narula, Sidhant
Potter, Lucas
Palmer, Xavier-Lewis
Rana, Pratip
Takabi, Daniel
Ghasemigol, Mohammad
Cryptography and Security
Human-Computer Interaction
The rapid advancement of Large Language Models (LLMs) in biological research has significantly lowered the barrier to accessing complex bioinformatics knowledge, ex perimental design strategies, and analytical workflows. While these capabilities accelerate innovation, they also introduce serious dual-use risks, as Bio-LLMs can be exploited to generate harmful biological insights under the guise of legitimate research queries. Existing safeguards, such as static prompt filtering and policy-based restrictions, are insufficient when LLMs are embedded within dynamic biological workflows and application-layer systems. In this paper, we present BioShield, a context-aware application-level firewall designed to secure Bio LLMs against dual-use attacks. At the core of BioShield is a domain-specific prompt scanner that performs contextual risk analysis of incoming queries. The scanner leverages a harmful scoring mechanism tailored to biological dual-use threat cat egories to identify prompts that attempt to conceal malicious intent within seemingly benign research requests. Queries ex ceeding a predefined risk threshold are blocked before reaching the model, effectively preventing unsafe knowledge generation at the source. In addition to pre-generation protection, BioShield deploys a post-generation output verification module that inspects model responses for actionable or weaponizable biological content. If an unsafe response is detected, the system triggers controlled regeneration under strengthened safety constraints. By combining contextual prompt scanning with response-level validation, BioShield provides a layered defense framework specifically designed for bio-domain LLM deployments. Our framework advances cyberbiosecurity by formalizing dual-use threat detection in Bio-LLMs and proposing a structured mitigation strategy for secure, responsible AI driven biological research.
title BioShield: A Context-Aware Firewall for Securing Bio-LLMs
topic Cryptography and Security
Human-Computer Interaction
url https://arxiv.org/abs/2603.22612