#Llm-security

Showing 60 of 85 repositories tagged #llm-security, ranked by stars

pathwaycom
pathwaycom
llm-app

Ready-to-run cloud templates for RAG, AI pipelines, and enterprise search with live data. ๐ŸณDocker-friendly.โšกAlways in sync with Sharepoint, Google Drive, S3, Kafka, PostgreSQL, real-time data APIs, and more.

Score
100
โ˜… 59.1k โ‘‚ 1.4k โ€”
Jupyter Notebook
usestrix
usestrix
strix

Open-source AI penetration testing tool to find and fix your appโ€™s vulnerabilities.

Score
100
โ˜… 39.8k โ‘‚ 4.2k +443/day
Python
NVIDIA
NVIDIA
garak

the LLM vulnerability scanner

Score
83
โ˜… 8.4k โ‘‚ 1.1k +120/day
Python
NVIDIA-NeMo
NVIDIA-NeMo
Guardrails

NeMo Guardrails is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational systems.

Score
67
โ˜… 6.6k โ‘‚ 756 +16/day
Python
Giskard-AI
Giskard-AI
giskard-oss

๐Ÿข Open-Source Evaluation & Testing library for LLM Agents

Score
50
โ˜… 5.5k โ‘‚ 482 +5/day
Python
Tencent
Tencent
AI-Infra-Guard

A full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.

Score
100
โ˜… 4.1k โ‘‚ 393 โ€”
Python
verazuo
verazuo
jailbreak_llms

[CCS'24] A dataset consists of 15,140 ChatGPT prompts from Reddit, Discord, websites, and open-source datasets (including 1,405 jailbreak prompts).

Score
85
โ˜… 3.7k โ‘‚ 322 +6/day
Jupyter Notebook
protectai
protectai
llm-guard

The Security Toolkit for LLM Interactions

Score
96
โ˜… 3.2k โ‘‚ 416 +14/day
Python
nolabs-ai
nolabs-ai
nono

Sandbox any AI agent in seconds - zero setup, zero latency.

Score
0
โ˜… 3.0k โ‘‚ 204 +5/day
Rust
beelzebub-labs
beelzebub-labs
beelzebub

A secure low code deception runtime framework, leveraging AI for System Virtualization.

Score
100
โ˜… 2.1k โ‘‚ 201 +2/day
Go
cyberark
cyberark
FuzzyAI

A powerful tool for automated LLM fuzzing. It is designed to help developers and security researchers identify and mitigate potential jailbreaks in their LLM APIs.

Score
98
โ˜… 1.5k โ‘‚ 210 +7/day
Jupyter Notebook
OWASP
OWASP
www-project-top-10-for-large-language-model-applications

OWASP Top 10 for Large Language Model Apps (Part of the GenAI Security Project)

Score
92
โ˜… 1.3k โ‘‚ 331 +5/day
Python
ifixai-ai
ifixai-ai
iFixAi

Catch your AI's mistakes and blind spots before your customers or regulators do. iFixAi runs 45 inspections, 32 graded core plus 13 extended for frontier risks like sabotage, sandbagging, and oversight evasion. It returns a letter grade in under 5 minutes. Industry and model agnostic.

Score
100
โ˜… 1.3k โ‘‚ 166 +44/day
Python
splx-ai
splx-ai
agentic-radar

A security scanner for your LLM agentic workflows

Score
0
โ˜… 994 โ‘‚ 137 +3/day
Python
Pantheon-Security
Pantheon-Security
medusa

AI-first security scanner. NEW in v2026.7: Claude Code compromise detection โ€” vet .claude/ hooks, permissions & skills before you clone โ€” plus an always-on AI attack-signature scanner and native Rust & PHP rules. Also: medusa scan --git to vet any repo, medusa secrets scan for leaked API keys. 40,000+ patterns, zero setup.

Score
33
โ˜… 912 โ‘‚ 152 +19/day
Python
EasyJailbreak
EasyJailbreak
EasyJailbreak

An easy-to-use Python framework to generate adversarial jailbreak prompts.

Score
88
โ˜… 869 โ‘‚ 85 โ€”
Python
luckyPipewrench
luckyPipewrench
pipelock

Open-source AI agent firewall for MCP security and agent egress. Scans mediated HTTP, MCP, A2A, and WebSocket traffic for exfiltration, SSRF, and prompt injection, and emits mediator-signed action receipts: verifiable audit evidence from outside the agent.

Score
0
โ˜… 751 โ‘‚ 87 +1/day
Go
toby-bridges
toby-bridges
api-relay-audit

Local security audit for AI API relays and LLM proxies: detects prompt injection, model substitution, tool-call rewriting, SSE anomalies, error leakage, and Web3 wallet risks.

Score
17
โ˜… 748 โ‘‚ 72 +10/day
Python
mensfeld
mensfeld
code-on-incus

Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.

Score
95
โ˜… 585 โ‘‚ 48 โ€”
Python
chawins
chawins
llm-sp

Papers and resources related to the security and privacy of LLMs ๐Ÿค–

Score
58
โ˜… 579 โ‘‚ 42 โ€”
Python
liu00222
liu00222
Open-Prompt-Injection

This repository provides a benchmark for prompt injection attacks and defenses in LLMs

Score
77
โ˜… 464 โ‘‚ 73 โ€”
Python
TrustAI-laboratory
TrustAI-laboratory
Learn-Prompt-Hacking

This is The most comprehensive prompt hacking course available, which record our progress on a prompt engineering and prompt hacking course.

Score
46
โ˜… 282 โ‘‚ 37 โ€”
Jupyter Notebook
PrismorSec
PrismorSec
prismor

Runtime security for Agents. Blocks dangerous commands, prevent secret leaks, stop prompt injection, gate risky package installs and visibility and control over tool calls.

Score
93
โ˜… 227 โ‘‚ 18 +5/day
Python
R3DRUN3
R3DRUN3
sploitcraft

๐Ÿดโ€โ˜ ๏ธ Hacking Guides, Demos and Proof-of-Concepts ๐Ÿฅท

Score
37
โ˜… 223 โ‘‚ 27 โ€”
Jupyter Notebook
LLAMATOR-Core
LLAMATOR-Core
llamator

Red Teaming python-framework for testing chatbots and GenAI systems.

Score
81
โ˜… 216 โ‘‚ 21 +1/day
Python
edward-playground
edward-playground
aidefense-framework

An open-source knowledge base of defensive countermeasures to protect AI/ML systems. Features interactive views and maps defenses to known threats from frameworks like MITRE ATLAS, MAESTRO, and OWASP.

Score
91
โ˜… 159 โ‘‚ 36 โ€”
JavaScript
Repello-AI
Repello-AI
whistleblower

Whistleblower is a offensive security tool for testing against system prompt leakage and capability discovery of an AI application exposed through API. Built for AI engineers, security researchers and folks who want to know what's going on inside the LLM-based app they use daily

Score
65
โ˜… 157 โ‘‚ 26 โ€”
Python
pdparchitect
pdparchitect
llm-hacking-database

This repository contains various attack against Large Language Models.

Score
16
โ˜… 137 โ‘‚ 11 โ€”
arekusandr
arekusandr
last_layer

Ultra-fast, low latency LLM prompt injection/jailbreak detection โ›“๏ธ

Score
27
โ˜… 129 โ‘‚ 4 โ€”
Python
jnMetaCode
jnMetaCode
shellward

AI Agent Security Middleware โ€” 8-layer defense, DLP data flow, prompt injection detection, zero dependencies. SDK + MCP server for Claude Code, Cursor, LangChain, Hermes Agent & more.

Score
86
โ˜… 122 โ‘‚ 20 +6/day
TypeScript
sinewaveai
sinewaveai
agent-security-scanner-mcp

Security scanner MCP server for AI coding agents. Prompt injection firewall, package hallucination detection (4.3M+ packages), 1000+ vulnerability rules with AST & taint analysis, auto-fix.

Score
81
โ˜… 112 โ‘‚ 10 +1/day
JavaScript
Soham7-dev
Soham7-dev
AspGoat

AspGoat is an intentionally vulnerable ASP.NET Core application for learning and practicing web application security.

Score
67
โ˜… 106 โ‘‚ 91 โ€”
JavaScript
DmitrL-dev
DmitrL-dev
AISecurity

AI Security Platform: Defense (61 Rust engines + Micro-Model Swarm) + Offense (39K+ payloads)

Score
84
โ˜… 105 โ‘‚ 17 โ€”
Python
Gk0Wk
Gk0Wk
ClawGuard

The antivirus for OpenClaw โ€” approve dangerous actions, scan skills, block secret leaks, and keep humans in control, for safety.

Score
60
โ˜… 100 โ‘‚ 2 โ€”
TypeScript
7WaySecurity
7WaySecurity
ai_osint

๐Ÿค– Curated AI OSINT resources โ€” Google dorks, Shodan queries, GitHub dorks, and techniques to discover exposed LLM endpoints, leaked AI API keys, misconfigured vector databases, and unprotected AI agents

Score
77
โ˜… 97 โ‘‚ 13 โ€”
Aimer-zero
Aimer-zero
redforge-ai

Open-core AI red teaming and offensive AI security evaluation platform.

Score
72
โ˜… 81 โ‘‚ 16 โ€”
Python
arsbr
arsbr
Veritensor

The Anti-Virus for AI Artifacts & RAG Firewall. A static analysis tool scanning Models and Notebooks for RCE, Datasets and RAG docs for Data Poisoning, PII, and Prompt Injections. Secure your AI Supply Chain.

Score
73
โ˜… 80 โ‘‚ 6 โ€”
Python
davidmatousek
davidmatousek
tachi

Threat modeling and AI-reasoning vulnerability detection harness for Claude Code โ€” STRIDE + AI + MAESTRO

Score
79
โ˜… 80 โ‘‚ 19 โ€”
Python
kereva-dev
kereva-dev
kereva-scanner

Code scanner to check for issues in prompts and LLM calls

Score
7
โ˜… 78 โ‘‚ 8 โ€”
Python
securelayer7
securelayer7
PROMPTPurify

Prompt-injection guardrail for LLM applications. Compact model that outperforms larger open-source guards. No regex, no signatures. Demo: anton.securelayer7.net

Score
70
โ˜… 76 โ‘‚ 20 +2/day
TypeScript
azminewasi
azminewasi
Awesome-LLMs-ICLR-24

It is a comprehensive resource hub compiling all LLM papers accepted at the International Conference on Learning Representations (ICLR) in 2024.

Score
15
โ˜… 72 โ‘‚ 5 +1/day
olegnazarov
olegnazarov
rag-security-scanner

RAG/LLM Security Scanner identifies critical vulnerabilities in AI-powered applications, including chatbots, virtual assistants, and knowledge retrieval systems.

Score
19
โ˜… 71 โ‘‚ 10 โ€”
Python
whitecircle
whitecircle
circle-guard-bench

First-of-its-kind AI benchmark for evaluating the protection capabilities of large language model (LLM) guard systems (guardrails and safeguards)

Score
62
โ˜… 70 โ‘‚ 5 โ€”
Python
OWASP
OWASP
www-project-agent-memory-guard

OWASP Foundation web repository

Score
74
โ˜… 69 โ‘‚ 21 +6/day
Python
sinanw
sinanw
llm-security-prompt-injection

This project investigates the security of large language models by performing binary classification of a set of input prompts to discover malicious prompts. Several approaches have been analyzed using classical ML algorithms, a trained LLM model, and a fine-tuned LLM model.

Score
5
โ˜… 65 โ‘‚ 13 โ€”
Jupyter Notebook
mamgad
mamgad
DVBLab

This course uses a deliberately vulnerable banking application to demonstrate common security vulnerabilities, their impact, and how to fix them. The application is built with Flask (backend) and React (frontend).

Score
63
โ˜… 59 โ‘‚ 9 +1/day
Python
ArmorerLabs
ArmorerLabs
Armorer

Local control plane for running AI agents with sandboxes, approvals, guardrails, credentials, and runtime health.

Score
56
โ˜… 58 โ‘‚ 3 โ€”
TypeScript
techlab-innov
techlab-innov
llmtrace

Zero-code LLM security & observability proxy. Real-time prompt injection detection, PII scanning, and cost control for OpenAI-compatible APIs. Built in Rust.

Score
69
โ˜… 54 โ‘‚ 1 โ€”
Python
ProjectRecon
ProjectRecon
awesome-ai-agents-security

A living map of the AI agent security ecosystem.

Score
88
โ˜… 54 โ‘‚ 60 +3/day
briland
briland
LLM-security-and-privacy

LLM security and privacy

Score
12
โ˜… 54 โ‘‚ 6 โ€”
TeX
h4ckologic
h4ckologic
bughunter-ai

Autonomous Bug Bounty Hunting Framework powered by Claude Code. 20 AI agents, state-machine orchestration, Burp Suite MCP, credential vault, LLM security track. Type 'hunt target.com' and let AI find the bugs.

Score
65
โ˜… 52 โ‘‚ 19 +4/day
TypeScript
panguard-ai
panguard-ai
panguard-ai

Open-source security platform for AI agents -- audits skills before install, monitors 24/7, shares threat intelligence across all users. | AI Agent ้–‹ๆบๅฎ‰ๅ…จๅนณๅฐ -- ๅฎ‰่ฃๅ‰ๅฏฉ่จˆ skillใ€24/7 ๅณๆ™‚็›ฃๆŽงใ€็คพ็พคๅ…ฑไบซๅจ่„…ๆƒ…ๅ ฑใ€‚

Score
53
โ˜… 51 โ‘‚ 5 +1/day
TypeScript
humanbound
humanbound
humanbound

Open-source AI agent red-team engine, SDK, and CLI. Run offline or against the Humanbound Platform.

Score
51
โ˜… 51 โ‘‚ 5 +6/day
Python
google
google
litmus

Litmus is a comprehensive LLM testing and evaluation tool designed for GenAI Application Development. It provides a robust platform with a user-friendly UI for streamlining the process of building and assessing the performance of your LLM-powered applications.

Score
0
โ˜… 49 โ‘‚ 8 โ€”
Vue
Mindburn-Labs
Mindburn-Labs
helm-ai-kernel

Fail-closed execution firewall for AI agents: quarantine MCP tools, proxy OpenAI-compatible requests, emit signed receipts, and verify EvidencePacks offline.

Score
0
โ˜… 49 โ‘‚ 2 โ€”
Go
LostOxygen
LostOxygen
llm-confidentiality

Whispers in the Machine: Confidentiality in Agentic Systems

Score
58
โ˜… 45 โ‘‚ 9 โ€”
Python
apisec-inc
apisec-inc
AI-Surface

Find and govern AI attack surfaces in application code at PR time. Free, OSS, runs offline.

Score
100
โ˜… 44 โ‘‚ 8 โ€”
Python
CollieAi
CollieAi
llm-firewall

AI Firewall & LLM security toolkit - protect your AI applications from prompt injection, jailbreaks, PII leakage, and adversarial attacks

Score
42
โ˜… 43 โ‘‚ 1 โ€”
darfaz
darfaz
clawmoat

The open-source agent firewall. Prevent AI agents from leaking data, using dangerous tools, and importing poisoned dependencies.

Score
47
โ˜… 41 โ‘‚ 6 +1/day
JavaScript
ArmorerLabs
ArmorerLabs
Armorer-Guard

Fast local Rust scanner for AI-agent prompt injection, credential leaks, exfiltration, and risky tool calls

Score
49
โ˜… 40 โ‘‚ 10 โ€”
Rust
Related Topics
#ai-security#prompt-injection#llm#security#cybersecurity#ai-agents#agent-security#guardrails#mcp#python#security-tools#owasp

ยฉ 2026 GitRepoTrend ยท GitHub repositories by topic ยท Updated weekly