Skip to content

Horizon-Labs

prompt-injection-guard-small

Horizon-Labs/prompt-injection-guard-small

prompt-injection-guard-small is a text classification model from Horizon-Labs. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.

A fast, multilingual classifier that flags prompt injection and jailbreak attempts, both in user messages (direct) and in untrusted content an AI agent reads: emails, web pages, documents, RAG chunks, and tool/API out…

Downloads · 30 days

2.7K

95% of all-time downloads

All-time downloads

2.8K

Public

Parameters

141M

4.3 GB on disk

Likes

2

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.onnx832 MB · 58%

At a glance

Task
Text Classification
Library
transformers
License
apache-2.0
Model type
modernbert
Access
Public
Created
Sep 23, 2026
Updated
Oct 17, 2026
SHA
0e377453

Try a prompt

Base models

Task
Text Classification
Library
transformers
Type
modernbert
License
apache-2.0
Languages
multilingual, en, de, fr, es, pt
Hf Inference
live
Created
Sep 23, 2026
Updated
Oct 17, 2026