The Information Security Awareness of Large Language Models

Ofir Cohen, Gil Ari Agmon, Asaf Shabtai, Rami Puzis
11/20/2024
cs.CRcs.AIcs.LG

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

The popularity of large language models (LLMs) continues to grow, and LLM-based assistants have become ubiquitous. Information security awareness (ISA) is an important yet underexplored safety aspect of LLMs. ISA encompasses LLMs' security knowledge, which has been explored in the past, as well as attitudes and behaviors, which are crucial to LLMs' ability to understand implicit security context and reject unsafe requests that may cause the LLM to fail the user. We present an automated method for measuring the ISA of LLMs, which covers all 30 security topics in a mobile ISA taxonomy, using realistic scenarios that create tension between implicit security implications and user satisfaction. Applying this method to leading LLMs, we find that most of the popular models exhibit only medium to low levels of ISA, exposing their users to cybersecurity threats. Smaller variants of the same model family are significantly riskier, while newer versions show no consistent ISA improvement, suggesting that providers are not actively working toward mitigating this issue. These results reveal a widespread vulnerability affecting current LLM deployments: the majority of popular models, and particularly their smaller variants, may systematically endanger users. We propose a practical mitigation: incorporating our security awareness instruction into model system prompts to help LLMs better detect and reject unsafe requests.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cohen2024information,
  title  = {The Information Security Awareness of Large Language Models},
  author = {Ofir Cohen and Gil Ari Agmon and Asaf Shabtai and Rami Puzis},
  year   = {2024},
  eprint = {2411.13207},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.13207v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.13207.svg)](https://codeofpaper.com/paper/2411.13207)

Discussion