Skip to content

Fingerprinting LLMs via prompt injectionFingerprinting LLMs via Prompt Injection

arXiv· arXiv:2509.25448· ACL 2026· Yuepeng Hu, Zhengyuan Jiang, Mengyuan Li, Osama Ahmed, Zhicong Huang, Cheng Hong, Neil Gong·Indexed by this site · 25 days ago· Originally publishedTools
AI summary

The researchers propose LLMPrint, a detection framework that exploits LLMs' inherent vulnerability to prompt injection to construct fingerprints, used to determine whether one model is derived from another. Existing provenance detection methods either embed a signal into the base model before release, which is infeasible for already-released models, or compare model outputs using manual or random prompts, which is not robust to post-processing. LLMPrint optimizes fingerprint prompts to enforce consistent token preferences, yielding a fingerprint that is unique to the base model and robust to post-processing, and provides a unified verification procedure applicable to gray-box and black-box settings with statistical guarantees. On five base models and about 700 post-trained or quantized variants, the method achieves a high true positive rate and a false positive rate close to zero. The code is publicly available on GitHub.

Read originalACL 2026