Spaces:
Sleeping
Sleeping
Upload 3 files
Browse files
README.md
CHANGED
|
@@ -9,16 +9,54 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
-
##
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
- Book Free Scan: https://calendly.com/sentitrust/free-security-scan
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# SentiTrust AI Red-Teaming Toolkitst AI Security Toolkit
|
| 13 |
+
emoji: 🛡️
|
| 14 |
+
colorFrom: red
|
| 15 |
+
colorTo: gray
|
| 16 |
+
sdk: gradio
|
| 17 |
+
sdk_version: 4.19.0
|
| 18 |
+
app_file: app.py
|
| 19 |
+
pinned: false
|
| 20 |
+
---: SentiTrust AI Security Toolkit
|
| 21 |
+
emoji: �
|
| 22 |
+
colorFrom: red
|
| 23 |
+
colorTo: gray
|
| 24 |
+
sdk: gradio
|
| 25 |
+
sdk_version: 4.19.0
|
| 26 |
+
app_file: app.py
|
| 27 |
+
pinned: false
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
# SentiTrust AI Red-Teaming Toolkit
|
| 31 |
+
|
| 32 |
+
Professional AI security testing platform for enterprise applications.
|
| 33 |
+
|
| 34 |
+
## Capabilities
|
| 35 |
+
|
| 36 |
+
**Framework-Aligned Testing**
|
| 37 |
+
- Jailbreak vulnerability detection using industry-standard attack patterns
|
| 38 |
+
- Prompt injection analysis with OWASP LLM Top 10 mapping
|
| 39 |
+
- Automated vulnerability classification (MITRE ATLAS, NIST AI RMF)
|
| 40 |
+
- Professional risk reports with CVSS scoring
|
| 41 |
|
| 42 |
+
**Attack Techniques**
|
| 43 |
+
- 9 jailbreak methods (DAN, AIM, role-play, system leak, constraint breaking)
|
| 44 |
+
- 8 injection patterns (direct, indirect, context switching, delimiter escape)
|
| 45 |
+
- Multi-stage attack simulation
|
| 46 |
+
- Evidence tracking and reproducible testing
|
| 47 |
|
| 48 |
+
## Professional Services
|
| 49 |
+
|
| 50 |
+
Need expert security assessments for your AI application?
|
| 51 |
+
|
| 52 |
+
**Express Audit** ($2,500) - 3-day rapid assessment
|
| 53 |
+
**Professional Assessment** ($8,500) - Comprehensive 2-week security review
|
| 54 |
+
**Enterprise Red Team** ($25,000+) - Full adversarial testing program
|
| 55 |
+
|
| 56 |
+
■ [Visit SentiTrust.com](https://sentitrust.adogent.com)
|
| 57 |
+
■ [Book Free 15-Min Security Scan](https://calendly.com/sentitrust/free-security-scan)
|
| 58 |
+
|
| 59 |
+
---
|
| 60 |
|
| 61 |
+
**Built by SentiTrust** - Professional AI security assessments for startups and enterprises.
|
| 62 |
+
Trusted by 50+ AI companies • Prevented $20M+ in potential breaches
|
|
|
app.py
CHANGED
|
@@ -8,23 +8,57 @@ PRIVATE_REPO = "cybercentinel/ai-red-teaming"
|
|
| 8 |
CACHE = Path("cache")
|
| 9 |
|
| 10 |
def load_toolkit():
|
|
|
|
| 11 |
try:
|
| 12 |
-
print("Loading...")
|
| 13 |
CACHE.mkdir(exist_ok=True)
|
|
|
|
|
|
|
| 14 |
snapshot_download(
|
| 15 |
repo_id=PRIVATE_REPO,
|
| 16 |
repo_type="space",
|
| 17 |
local_dir=CACHE,
|
| 18 |
token=os.environ.get("HF_TOKEN")
|
| 19 |
)
|
|
|
|
|
|
|
| 20 |
sys.path.insert(0, str(CACHE))
|
| 21 |
spec = importlib.util.spec_from_file_location("app", CACHE / "app.py")
|
| 22 |
app = importlib.util.module_from_spec(spec)
|
| 23 |
spec.loader.exec_module(app)
|
|
|
|
| 24 |
except Exception as e:
|
|
|
|
| 25 |
import gradio as gr
|
| 26 |
with gr.Blocks() as demo:
|
| 27 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
demo.launch()
|
| 29 |
|
| 30 |
if __name__ == "__main__":
|
|
|
|
| 8 |
CACHE = Path("cache")
|
| 9 |
|
| 10 |
def load_toolkit():
|
| 11 |
+
"""Load the full SentiTrust AI Red-Teaming Toolkit from private repository."""
|
| 12 |
try:
|
| 13 |
+
print("Loading SentiTrust AI Security Toolkit...")
|
| 14 |
CACHE.mkdir(exist_ok=True)
|
| 15 |
+
|
| 16 |
+
# Download the complete toolkit from private space
|
| 17 |
snapshot_download(
|
| 18 |
repo_id=PRIVATE_REPO,
|
| 19 |
repo_type="space",
|
| 20 |
local_dir=CACHE,
|
| 21 |
token=os.environ.get("HF_TOKEN")
|
| 22 |
)
|
| 23 |
+
|
| 24 |
+
# Import and execute the main application
|
| 25 |
sys.path.insert(0, str(CACHE))
|
| 26 |
spec = importlib.util.spec_from_file_location("app", CACHE / "app.py")
|
| 27 |
app = importlib.util.module_from_spec(spec)
|
| 28 |
spec.loader.exec_module(app)
|
| 29 |
+
|
| 30 |
except Exception as e:
|
| 31 |
+
# Show professional error page if loading fails
|
| 32 |
import gradio as gr
|
| 33 |
with gr.Blocks() as demo:
|
| 34 |
+
gr.HTML("""
|
| 35 |
+
<div style="background: #0a0a0a; padding: 60px 30px; border-radius: 12px; text-align: center; color: white; max-width: 800px; margin: 40px auto;">
|
| 36 |
+
<h1 style="color: #dc2626; font-size: 2.5em; margin-bottom: 20px;">
|
| 37 |
+
SentiTrust AI Security Toolkit
|
| 38 |
+
</h1>
|
| 39 |
+
<p style="color: rgba(255,255,255,0.8); font-size: 1.2em; margin-bottom: 30px;">
|
| 40 |
+
The toolkit is temporarily unavailable. Please try again in a moment.
|
| 41 |
+
</p>
|
| 42 |
+
<p style="color: rgba(255,255,255,0.6); font-size: 0.95em; margin-bottom: 40px;">
|
| 43 |
+
If the issue persists, please contact our team.
|
| 44 |
+
</p>
|
| 45 |
+
<div style="margin-top: 30px;">
|
| 46 |
+
<a href="https://sentitrust.adogent.com" target="_blank"
|
| 47 |
+
style="display: inline-block; background: #dc2626; color: white; padding: 16px 32px;
|
| 48 |
+
border-radius: 8px; text-decoration: none; font-weight: 700; margin: 8px; font-size: 1.1em;">
|
| 49 |
+
Visit SentiTrust.com →
|
| 50 |
+
</a>
|
| 51 |
+
<a href="https://calendly.com/sentitrust/free-security-scan" target="_blank"
|
| 52 |
+
style="display: inline-block; background: white; color: #0a0a0a; padding: 16px 32px;
|
| 53 |
+
border-radius: 8px; text-decoration: none; font-weight: 700; margin: 8px; font-size: 1.1em;">
|
| 54 |
+
Book Free Scan →
|
| 55 |
+
</a>
|
| 56 |
+
</div>
|
| 57 |
+
<p style="color: rgba(255,255,255,0.4); font-size: 0.85em; margin-top: 40px;">
|
| 58 |
+
hello@adogent.com
|
| 59 |
+
</p>
|
| 60 |
+
</div>
|
| 61 |
+
""")
|
| 62 |
demo.launch()
|
| 63 |
|
| 64 |
if __name__ == "__main__":
|