Spaces:
Configuration error
Download README.md from lang-protect/README: direct link, hf CLI and curl.
- Browser
- Download file 5.67 kB
-
https://huggingface.co/spaces/lang-protect/README/resolve/main/README.md
- Command line
-
hf download hf://spaces/lang-protect/README/README.md
-
curl -L -o README.md https://huggingface.co/spaces/lang-protect/README/resolve/main/README.md
LangProtect π‘οΈ
Securing LLM applications, one layer at a time.
LangProtect builds open and commercial-grade AI security models that help developers detect, block, and monitor threats in LLM-powered applications β starting with prompt injection detection and extending into domain-specific NER for regulated industries like fintech.
π Website: www.langprotect.com
π― What We Do
As LLMs get embedded deeper into products β chatbots, agents, RAG pipelines, autonomous workflows β they become exposed to a new class of attacks: prompt injection, jailbreaks, and data leakage. Traditional security tools weren't built for this.
LangProtect focuses on:
- Prompt Injection Detection β lightweight, fast classifiers that flag adversarial or manipulative inputs before they reach your LLM.
- Named Entity Recognition (NER) for Fintech β models fine-tuned to identify financial entities (transactions, account details, PII, instruments, etc.) for compliance, redaction, and data governance use cases.
- Applied AI Security Research β iterating on datasets and models to keep pace with evolving attack patterns.
π§ Models
| Model Type | Task | Description |
|---|---|---|
| Prompt Injection Classifier (latest) | Text Classification | Detects adversarial/malicious prompts aimed at manipulating LLM behavior. |
| Prompt Injection Classifier (earlier generation) | Text Classification | Previous-generation baseline for injection/jailbreak detection. |
| Fintech NER Model (latest) | Token Classification (NER) | Transformer-based model fine-tuned to extract financial entities from text. |
| Fintech NER Model (prior versions) | Token Classification (NER) | Earlier iterations used during development and benchmarking. |
| Fintech NER Baseline | Token Classification (NER) | Initial baseline model for financial entity extraction. |
| Toxicity Detection Model | Text Classification | Flags toxic, abusive, or harmful language in user inputs and LLM outputs. |
| Bias Detection Model | Text Classification | Identifies biased or discriminatory language patterns in text. |
| PII Detection Model | Token Classification (NER) | Detects personally identifiable information (names, emails, phone numbers, IDs, etc.) for privacy and compliance workflows. |
| Secrets Detection Model | Token Classification (NER) | Detects leaked credentials, API keys, tokens, and other secrets in text for IT/security compliance. |
β Our flagship model: the latest Prompt Injection Classifier is our best-performing release to date, built on continuous benchmarking against evolving attack patterns β and it's the model we recommend as a first line of defense for any LLM application.
π Note: All models are currently private while under active development. Public model cards with usage examples, benchmarks, and licensing details will be published as models mature.
π Datasets
| Dataset Type | Description |
|---|---|
| Prompt Injection Dataset | Labeled examples of benign vs. adversarial/injection prompts, used to train our classifiers. |
| Fintech NER Dataset (latest) | Annotated fintech text data used to train our current-generation NER model. |
| Fintech NER Dataset (prior versions) | Earlier annotated datasets used during iterative model development. |
| Fintech NER Baseline Dataset | Initial fintech entity dataset used for our baseline model. |
| Toxicity Detection Dataset | Labeled examples of toxic vs. non-toxic text for training our toxicity classifier. |
| Bias Detection Dataset | Annotated examples of biased/discriminatory vs. neutral language. |
| PII Detection Dataset | Annotated text containing personally identifiable information for entity-level detection training. |
| Secrets Detection Dataset | Annotated examples of leaked credentials, keys, and tokens used for IT compliance model training. |
π Note: All datasets are currently private. Curated public releases (with documentation and licensing) are planned for the future.
π Why LangProtect
- Purpose-built for LLM security β not a repurposed generic classifier, but models trained specifically on injection/jailbreak patterns.
- Domain-specific accuracy β fintech NER models tuned for the entity types and language actually found in financial text.
- Iterative & versioned β we continuously retrain and release improved versions (v1.7 β v2.0) as new attack patterns and data emerge.
- Lightweight & production-ready β designed to run as a fast pre-filter layer in front of your LLM, not a heavyweight bottleneck.
π οΈ Use Cases
- Pre-filtering user inputs to LLM apps/agents for injection attempts
- Auditing/red-teaming LLM pipelines against adversarial prompts
- Automated redaction/compliance screening of financial documents
- Building safer RAG and customer-support chatbot pipelines in regulated industries
- Moderating LLM inputs/outputs for toxic or abusive content
- Screening text for biased or discriminatory language
- Detecting and redacting PII for privacy compliance (GDPR, CCPA, etc.)
- Scanning code, logs, and text for leaked secrets/credentials as part of IT security compliance
π¬ Get in Touch
- π Website: langprotect.com
- βοΈ Email: team@langprotect.com
- π€ Follow us here on Hugging Face for model releases and dataset updates
If you're using LangProtect models in production or research, we'd love to hear about it β feel free to open a discussion on any of our model/dataset repos.