---
title: "awesome-llm-security vs IB4LLMs"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/corca-ai-awesome-llm-security-vs-zichuan-liu-ib4llms"
tools: ["corca-ai-awesome-llm-security", "zichuan-liu-ib4llms"]
---

# awesome-llm-security vs IB4LLMs

*GraphCanon updated Aug 6, 2026*

## Verdict

Pick awesome-llm-security if awesome LLM Security is a curated list of resources related to the security aspects of large language models. It covers various attack methodologies, defenses, and platform security through papers, benchmarks, tools, and; pick IB4LLMs if iB4LLMs (IBProtector) is an LLM jailbreak defense method using the Information Bottleneck principle to prevent adversarial prompts while preserving key information.

[awesome-llm-security](https://github.com/corca-ai/awesome-llm-security) reports 1.7k GitHub stars, 312 forks, and 173 open issues, last pushed Aug 20, 2025. [IB4LLMs](https://zichuan-liu.github.io/projects/IBProtector/index.html) has 25 stars, 2 forks, and 4 open issues, last pushed Nov 7, 2024. Figures are from public GitHub metadata via [awesome-llm-security's repository](https://github.com/corca-ai/awesome-llm-security) and [IB4LLMs's repository](https://github.com/zichuan-liu/IB4LLMs).

| | [awesome-llm-security](/tools/corca-ai-awesome-llm-security.md) | [IB4LLMs](/tools/zichuan-liu-ib4llms.md) |
| --- | --- | --- |
| Tagline | A curation of tools, documents and projects about LLM Security | Protecting Your LLMs with Information Bottleneck |
| Stars | 1,672 | 25 |
| Forks | 312 | 2 |
| Open issues | 173 | 4 |
| Language | - | Python |
| Adopt for | Awesome LLM Security is a curated list of resources related to the security aspects of large language models. It covers various attack methodologies, defenses, and platform security through papers, benchmarks, tools, and | IB4LLMs (IBProtector) is an LLM jailbreak defense method using the Information Bottleneck principle to prevent adversarial prompts while preserving key information. |
| Persona | - | - |
| Runtime | - | - |
| License | - | - |
| Categories | Evaluation & Observability | Evaluation & Observability, LLM Frameworks |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [awesome-llm-security](/tools/corca-ai-awesome-llm-security.md) | [IB4LLMs](/tools/zichuan-liu-ib4llms.md) |
| --- | --- | --- |
| Maintenance | Slowing (36%) | Dormant (18%) |
| Days since push | 351d | 635d |
| Open issues (now) | 173 | 4 |
| Owner type | Organization | User |
| Full report | [trust report](/tools/corca-ai-awesome-llm-security/trust.md) | [trust report](/tools/zichuan-liu-ib4llms/trust.md) |

## Decision facts: awesome-llm-security

- **Hosting:** unknown
- **Pricing:** freemium - As an open-source project without defined pricing models, its use is generally free under the terms of its license (license details are not provided).
- **Adopt for:** Awesome LLM Security is a curated list of resources related to the security aspects of large language models. It covers various attack methodologies, defenses, and platform security through papers, benchmarks, tools, and

## Decision facts: IB4LLMs

- **Pricing:** unknown - License information unavailable; specific model pricing not provided.
- **Requirements:** Dependencies include datasets==2.14.5, torch==2.1.1, transformers==4.40.1 among others.
- **Adopt for:** IB4LLMs (IBProtector) is an LLM jailbreak defense method using the Information Bottleneck principle to prevent adversarial prompts while preserving key information.

## Choose when

### Choose awesome-llm-security if…

- Pricing: As an open-source project without defined pricing models, its use is generally free under the terms of its license (license details are not provided)..
- Tags unique to awesome-llm-security: awesome-list, llm, security.
- When you are specifically looking for detailed information on both white-box and black-box attacks targeted at Large Language Models (LLMs), which 'awesome-llm-security' comprehensively catalogs.

### Choose IB4LLMs if…

- Pricing: License information unavailable; specific model pricing not provided..
- Requirements: Dependencies include datasets==2.14.5, torch==2.1.1, transformers==4.40.1 among others..
- Tags unique to IB4LLMs: evaluation scripts, finetuning, inference, information bottleneck.
- Also covers LLM Frameworks.
- When you need a specialized tool for guarding against jailbreaks in your language models without losing important data.

## When NOT to use awesome-llm-security

- When your primary interest is in general software security or vulnerabilities unrelated to language models, since 'awesome-llm-security' zeroes in on attack vectors specifically for LLMs.
- If you are solely interested in tools and methods that are not publicly discussed or peer-reviewed; the repository focuses on documented approaches within reputable academic publications.

## When NOT to use IB4LLMs

- If you require a more generalized model protection approach that does not rely strictly on the Information Bottleneck principle.
- When your environment lacks support for specific packages like `fschat==0.2.20` which is crucial and cannot be updated due to potential conflicts.

## Common questions

### What is the difference between awesome-llm-security and IB4LLMs?

awesome-llm-security: A curation of tools, documents and projects about LLM Security. IB4LLMs: Protecting Your LLMs with Information Bottleneck. See the comparison table for live GitHub stats and shared categories.

### When should I choose awesome-llm-security over IB4LLMs?

Choose awesome-llm-security over IB4LLMs when Pricing: As an open-source project without defined pricing models, its use is generally free under the terms of its license (license details are not provided).; Tags unique to awesome-llm-security: awesome-list, llm, security; When you are specifically looking for detailed information on both white-box and black-box attacks targeted at Large Language Models (LLMs), which 'awesome-llm-security' comprehensively catalogs.

### When should I choose IB4LLMs over awesome-llm-security?

Choose IB4LLMs over awesome-llm-security when Pricing: License information unavailable; specific model pricing not provided.; Requirements: Dependencies include datasets==2.14.5, torch==2.1.1, transformers==4.40.1 among others.; Tags unique to IB4LLMs: evaluation scripts, finetuning, inference, information bottleneck; Also covers LLM Frameworks; When you need a specialized tool for guarding against jailbreaks in your language models without losing important data.

### When should I avoid awesome-llm-security?

When your primary interest is in general software security or vulnerabilities unrelated to language models, since 'awesome-llm-security' zeroes in on attack vectors specifically for LLMs. If you are solely interested in tools and methods that are not publicly discussed or peer-reviewed; the repository focuses on documented approaches within reputable academic publications.

### When should I avoid IB4LLMs?

If you require a more generalized model protection approach that does not rely strictly on the Information Bottleneck principle. When your environment lacks support for specific packages like `fschat==0.2.20` which is crucial and cannot be updated due to potential conflicts.

### Is awesome-llm-security or IB4LLMs more popular on GitHub?

awesome-llm-security has more GitHub stars (1,672 vs 25). Stars measure visibility, not whether either tool fits your constraints.

### Are awesome-llm-security and IB4LLMs open source?

Yes - both are open-source projects on GitHub.

### Where can I find alternatives to awesome-llm-security or IB4LLMs?

GraphCanon lists graph-backed alternatives at [awesome-llm-security alternatives](/tools/corca-ai-awesome-llm-security/alternatives) and [IB4LLMs alternatives](/tools/zichuan-liu-ib4llms/alternatives) ([awesome-llm-security markdown twin](/tools/corca-ai-awesome-llm-security/alternatives.md), [IB4LLMs markdown twin](/tools/zichuan-liu-ib4llms/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/corca-ai-awesome-llm-security-vs-zichuan-liu-ib4llms.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, awesome-llm-security or IB4LLMs?

awesome-llm-security: Slowing. IB4LLMs: Dormant. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for awesome-llm-security and IB4LLMs?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [awesome-llm-security trust report](/tools/corca-ai-awesome-llm-security/trust); [IB4LLMs trust report](/tools/zichuan-liu-ib4llms/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=corca-ai-awesome-llm-security`](/api/graphcanon/graph?tool=corca-ai-awesome-llm-security)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
