Downloads · 30 days
45
20% of all-time downloads
vllm-sr/toolcall-sentinel
toolcall-sentinel is a text classification model from vllm-sr. 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.
Downloads · 30 days
45
20% of all-time downloads
All-time downloads
223
Public
Parameters
150M
598 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors598 MB · 99%
From the Hugging Face model README
Stage 1 of Two-Stage LLM Agent Defense Pipeline
</div>FunctionCallSentinel is a ModernBERT-based binary classifier that detects prompt injection and jailbreak attempts in LLM inputs. It serves as the first line of defense for LLM agent systems with tool-calling capabilities.
| Label | Description |
|---|---|
SAFE | Legitimate user request — proceed normally |
INJECTION_RISK | Potential attack detected — block or flag for review |
<<end_context>>, </system>, [INST]<execute_action>, {{user_request}}This model is Stage 1 of a two-stage defense pipeline:
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ User Prompt │────▶│ ToolCallSentinel │────▶│ LLM + Tools │
│ │ │ (This Model) │ │ │
└─────────────────┘ └──────────────────┘ └────────┬────────┘
│
┌──────────────────────────▼──────────────────────────┐
│ ToolCallVerifier (Stage 2) │
│ Verifies tool calls match user intent before exec │
└─────────────────────────────────────────────────────┘
| Scenario | Recommendation |
|---|---|
| General chatbot | Stage 1 only |
| RAG system | Stage 1 only |
| Tool-calling agent (low risk) | Stage 1 only |
| Tool-calling agent (high risk) | Both stages |
| Email/file system access | Both stages |
| Financial transactions | Both stages |
Apache 2.0