█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

Agentic Security

किसी भी LLM endpoint पर वेब UI या CI से jailbreak, fuzzing और multimodal attack datasets चलाएं

Evaluation & Red-Teamingओपन सोर्स
ताज़ा
0.7.5
अपडेट किया गया
3 जून 2026
भाषा
Python
लाइसेंस
Apache-2.0
$pip install agentic_security

नया क्या है

0.7.53 जून 2026

Added a PII leak detector, LiteLLM as a provider for many LLM backends, Google Sheets URLs in the dataset loader, full event-log export and MCP prompt templates, and moved the web UI to Tailwind v4.

संक्षेप में

Agentic Security क्या है?

Agentic Security किसी भी LLM endpoint पर वेब UI या CI से jailbreak, fuzzing और multimodal attack datasets चलाएं. यह Evaluation & Production Ops टूल्स की Evaluation & Red-Teaming श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: package इंस्टॉल करें.

अपडेट किया गया Markdown वर्शन ↗

सारांश

Agentic Security एक ओपन सोर्स vulnerability scanner है, जो बड़े भाषा मॉडल (large language models) और agent workflows की जांच करता है। आप जिस endpoint को टेस्ट करना चाहते हैं, उसे सामान्य HTTP request के रूप में बताते हैं, जिसमें attack text की जगह `<<PROMPT>>` placeholder लगाया जाता है। स्कैनर jailbreak और adversarial datasets से prompts लेकर उन्हें endpoint पर भेजता है, और रिकॉर्ड करता है कि model कितनी बार मना करता है और कितनी बार उनका पालन करता है।

Scan results table listing vulnerability modules with a letter-graded strength score, token count and approximate cost, a Download failures button, and a scrolling log of JSON scan events
A finished scan: per-module strength grades, cost, exportable failures and the raw event logAgentic Security README ↗

यह एक local web app के साथ Python package के रूप में आता है: कोई target चुनें (custom API या preset provider), चलाने के लिए attack modules चुनें, और results table को भरते हुए देखें। इस table में हर module का strength score, token count और अनुमानित cost दिखता है, और साथ में एक live log होता है जिसे आप डाउनलोड कर सकते हैं। Failed prompts को export किया जा सकता है, ताकि आप ठीक-ठीक देख सकें कि कौन-से attacks सफल होकर निकल गए।

वही scan headless भी चल सकता है। `agentic_security init` endpoint spec, चलाए जाने वाले modules और failure threshold के साथ एक TOML configuration लिखता है, और `agentic_security ci` उसे चलाकर हर module के लिए pass/fail table प्रिंट करता है। इसलिए इसे GitHub Actions workflow में gate के रूप में इस्तेमाल किया जा सकता है। README में garak, Inspect AI और llm-adaptive-attacks के साथ integrations की सूची है, और आप अपने prompts CSV files के रूप में जोड़ सकते हैं।

यह क्या करता है

Grid of selectable Hugging Face jailbreak dataset cards with prompt counts, under a toggle labelled Enable Many-shot jailbreaking
Attack modules are picked from the dataset registry, with a toggle for many-shot jailbreakingAgentic Security README ↗
  • attack datasets की built-in registry, जिसमें ज़्यादातर Hugging Face jailbreak collections हैं, `agentic_security ls` से prompt counts के साथ सूचीबद्ध
  • text, image और audio inputs की multimodal probing, image और audio endpoints के लिए उदाहरण HTTP specs के साथ
  • Multi-step और many-shot jailbreak simulations, साथ ही LLM APIs की व्यापक fuzzing और stress testing
  • Dynamic datasets जो मौजूदा prompts को encodings और obfuscations से बदलते हैं, जैसे rot13, base64, mirrored words और noise characters
  • `<<PROMPT>>` placeholder वाले plain-text HTTP spec से किसी भी endpoint को target करें, ताकि सिर्फ hosted model APIs ही नहीं, बल्कि custom apps और agents को भी scan किया जा सके
  • TOML config से चलने वाला CI mode, जिसमें maximum failure threshold हो, साथ ही एक sample GitHub Action workflow; `prompt` column वाली CSV files के रूप में अपने prompts लाएं

शुरू करें

Agentic Security, PyPI से install होता है और आपको `agentic_security` command देता है। Web app से interactively explore करें, फिर वही scan CI के लिए config file में ले जाएं।

Package इंस्टॉल करें

PyPI से pip के जरिए इंस्टॉल करें।

bashbash
pip install agentic_security

Web app शुरू करें

Server को locally चलाएं और browser में खोलें; डिफ़ॉल्ट रूप से यह port 8718 पर चलता है। अगर console script आपके PATH में नहीं है, तो `python -m agentic_security` भी काम करता है।

bashbash
agentic_security server --host=127.0.0.1 --port=8718
Agentic Security web app with target cards for Custom API, OpenAI, Deepseek, Replicate and Groq above an LLM API Spec box holding a POST request with a <<PROMPT>> placeholder and a Verify Integration button
Choose a target, paste its HTTP spec with the <<PROMPT>> placeholder, and verify the integration before scanningAgentic Security README ↗

Target को HTTP request के रूप में बताएं

वह request पेस्ट करें जो आपका app या provider मांगता है। Scan के दौरान हर attack prompt से `<<PROMPT>>` की जगह लिया जाता है; अपने असली credentials Authorization header में डालें।

टेक्स्टटेक्स्ट
POST https://api.openai.com/v1/chat/completions
Authorization: Bearer sk-xxxxxxxxx
Content-Type: application/json

{
     "model": "gpt-3.5-turbo",
     "messages": [{"role": "user", "content": "<<PROMPT>>"}],
     "temperature": 0.7
}

Scan config बनाएं और checks की सूची देखें

`init` एक TOML config लिखता है, जिसमें उदाहरण `llmSpec`, चलाए जाने वाले modules और failure thresholds होते हैं। `ls` dataset registry प्रिंट करता है, ताकि आप modules चुन सकें।

bashbash
agentic_security init
agentic_security ls

Scan headless चलाएं

उदाहरण `llmSpec` को अपने endpoint से बदलने के बाद, configured scan चलाएं। यह हर module का failure rate threshold के मुकाबले और एक passing summary प्रिंट करता है, जो CI job के लिए तैयार है।

bashbash
agentic_security ci

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • Ship करने से पहले, किसी chatbot या agent endpoint की known jailbreak datasets से red-teaming करें
  • CI में failure-rate gate जोड़ें, ताकि prompt या model में ऐसा बदलाव जो refusals को कमजोर करे, build को फेल कर दे
  • जांचें कि image या audio model endpoint adversarial multimodal inputs को कैसे संभालता है
  • CSV files में रखे अपने in-house attack prompts को public datasets के साथ चलाएं

How Agentic Security compares

Agentic Security alongside other open-source evaluation & red-teaming tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
Strix★ 78.7kओपन सोर्स AI एजेंट जो आपके ऐप को हैक करके असली सिक्योरिटी कमज़ोरियाँ ढूंढते और उन्हें साबित करते हैं
iFixAi★ 47.6kऑडिट करें कि एजेंट को सौंपा गया काम वह सच में कर रहा है या नहीं
promptfoo★ 27.9kकमांड लाइन से अपने LLM प्रॉम्प्ट और ऐप्स की टेस्टिंग, तुलना और रेड-टीमिंग करें
DeepEval★ 19.8k50+ मूल्यांकन मेट्रिक्स के साथ अपने LLM ऐप्स की यूनिट-टेस्टिंग करें
OpenAI Evals★ 19.8kLLM और LLM-आधारित सिस्टम के मूल्यांकन के लिए एक फ़्रेमवर्क और ओपन रजिस्ट्री
Ragas★ 16.5kLLM और RAG एप्लिकेशन के लिए मेट्रिक-आधारित evaluation और टेस्ट-सेट जेनरेशन
Arize Phoenix★ 12.5kLLM और agent ऐप्स के लिए ओपन सोर्स ऑब्ज़र्वेबिलिटी और इवैल्यूएशन
Agentic Security★ 2.1kकिसी भी LLM endpoint पर वेब UI या CI से jailbreak, fuzzing और multimodal attack datasets चलाएं