Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,3 +11,28 @@ license: mit
|
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 14 |
+
|
| 15 |
+
# ๐ LLM Vulnerability Tester
|
| 16 |
+
|
| 17 |
+
A simple **Gradio-powered web app** that helps analyze user prompts for potential **security risks in Large Language Models (LLMs)** such as **prompt injection, jailbreaks, data leakage, harmful requests, and hallucination risks**. The tool also suggests a **safer reformulation** of risky prompts.
|
| 18 |
+
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
## ๐ Features
|
| 22 |
+
- Detects vulnerabilities in prompts:
|
| 23 |
+
- Prompt Injection
|
| 24 |
+
- Jailbreak / Safety Bypass
|
| 25 |
+
- Data Leakage Attempts
|
| 26 |
+
- Harmful or Offensive Requests
|
| 27 |
+
- Hallucination Risk
|
| 28 |
+
- Provides **concise risk analysis** with risk levels.
|
| 29 |
+
- Suggests a **safer reformulation** if risks are detected.
|
| 30 |
+
- Clean and interactive **Gradio UI**.
|
| 31 |
+
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
## ๐ ๏ธ Tech Stack
|
| 35 |
+
- [Python](https://www.python.org/)
|
| 36 |
+
- [Gradio](https://www.gradio.app/) โ for building the UI
|
| 37 |
+
- [Groq](https://groq.com/) โ LLM API used for analysis and rewriting
|
| 38 |
+
|