Skip to content

zachz

prompt-injection-classifier

zachz/prompt-injection-classifier

prompt-injection-classifier is a text classification model from zachz. Use it when you need a label for a piece of text. It is set up for sklearn. The card lists the license as mit.

A lightweight sklearn-based classifier that detects prompt injection attacks in LLM inputs.

Downloads · 30 days

0

Access

Public

Updated Apr 10, 2026

Repo size

—

Likes

0

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.pkl34.8 KB · 96%

At a glance

Task
Text Classification
Library
sklearn
License
mit
Model type
sklearn-pipeline
Access
Public
Created
Apr 10, 2026
Updated
Apr 10, 2026
SHA
9cfdb27c

Try a prompt

Task
Text Classification
Library
sklearn
Type
sklearn-pipeline
License
mit
Languages
en
Created
Apr 10, 2026
Updated
Apr 10, 2026