The LMVD-ID is an internal research identifier, not an official CVE identifier.
LLM Version Fingerprinting
Large Language Models (LLMs) integrated into applications reveal unique behavioral fingerprints through responses to crafted queries. LLMmap exploits this by sending carefully constructed prompts and analyzing the…
Paper-evaluated models(12)
Aya-23-8B, Cohere-35B, GPT-4 +9 more
- Aya-23-8B
- Cohere-35B
- GPT-4
- Llama 2 70B
- Llama 3 70B Instruct
- Llama 3 8B
- Mistral 7B
- OpenChat 3.5
- Phi-3-medium-28k-instruct
- Phi 3 Medium 4k Instruct
- Smaug-llama-3-70B-instruct
- Solar-10.7B-instruct-v1.0
Description
Large Language Models (LLMs) integrated into applications reveal unique behavioral fingerprints through responses to crafted queries. LLMmap exploits this by sending carefully constructed prompts and analyzing the responses to identify the specific LLM version with high accuracy (over 95% in testing against 42 LLMs). This allows attackers to tailor attacks exploiting known vulnerabilities specific to the identified LLM version.
Examples
See https://github.com/pasquini-dario/LLMmap (opens in a new tab). The paper details specific query sets and their effectiveness against various LLM instances. Examples include "malformed" queries, banner-grabbing prompts ("What model are you?"), and prompts designed to elicit responses based on the LLM's safety alignment mechanisms.
Impact
Successful exploitation allows attackers to:
- Identify the specific LLM version used in an application.
- Craft targeted adversarial inputs, taking advantage of known vulnerabilities specific to the LLM version.
- Potentially manipulate AI-driven services.
Affected Systems
Applications integrating any of the 42 LLMs tested in the LLMmap research, and potentially others exhibiting similar vulnerabilities. The paper specifically mentions ChatGPT and Claude instances but the vulnerability is more general.
Mitigation Steps
-
Defense in Depth: Multiple layers of defense, including input sanitization, output validation, and rate limiting, will be effective to mitigate this vulnerability.
-
Query Monitoring: Implement a system to monitor and analyze incoming queries for patterns indicative of fingerprinting attempts. Block or modify responses to suspicious queries. Note that simple query blacklisting is insufficient.
-
Response Randomization: Introduce controlled randomness into LLM responses, without affecting main functionality, to reduce the consistency of fingerprints. However, this method may not be completely successful.
-
Model Diversity and Obfuscation: The strategy of employing multiple, different LLMs for the same task makes it more difficult for attackers to identify a specific version reliably.
-
Regular Updates and Patching: Regularly update LLMs to address newly discovered vulnerabilities.
-
Continuous Monitoring and Research: Stay informed about ongoing research into LLM vulnerabilities and adapt defenses accordingly. The attack landscape is constantly evolving, requiring proactive and responsive security measures.
Research context and confidence
- Evidence and verification
- Paper-reported; independent reproduction is not documented.
- Primary research source linked.
- Severity
- Not rated by this catalog.
- Source and publication type
- arXiv · Research preprint.
- Peer-review status is not provided by this source.
- Author and publication status
- Author metadata is not stored; see the primary paper.
- Threat model and attacker access
- Black-box model, service, or application access.
- Related deployment categories
- No related deployment category is classified.
- Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
- Affected systems
- Applications integrating any of the 42 LLMs tested in the LLMmap research, and potentially others exhibiting similar vulnerabilities. The paper specifically mentions ChatGPT and Claude instances but the vulnerability…
Research Paper
Llmmap: Fingerprinting for large language models
Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.
View PaperEvidence
This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.
https://arxiv.org/abs/2407.15847Related research
- LLM Robot Bias & Violence
Published June 1, 2024 · application-layer, injection, extraction
- LLM Black-Box Fingerprinting
Published February 1, 2024 · application-layer, extraction, blackbox
- Logit Leakage Model Clone
Published September 1, 2025 · model-layer, extraction, side-channel