Comparison
awesome-llm-security vs llm-self-defense
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 llm-self-defense if mitigates harmful content generation via self-examination by LLM outputs without fine-tuning.
Markdown twin · awesome-llm-security alternatives · llm-self-defense alternatives
GraphCanon updated 2w
Trust & integrity
| Signal | awesome-llm-security | llm-self-defense |
|---|---|---|
| Maintenance | Slowing (351d since push) As of 2w · github_public_v1 | Dormant (805d since push) As of 2w · github_public_v1 |
| Provenance | Not a fork · Organization account As of 2w · github_public_v1 | Not a fork · Organization account As of 2w · github_public_v1 |
| OSV dependency advisories | No lockfile (source not queried) As of 1mo · osv@v1 | Published findings As of 1mo · osv@v1 |
| deps.dev advisories | Not queried deps.dev@v1 | Not queried deps.dev@v1 |
| OpenSSF Scorecard | Not queried openssf-scorecard@v1 | Not queried openssf-scorecard@v1 |
Tagline
- awesome-llm-security
- A curation of tools, documents and projects about LLM Security
- llm-self-defense
- LLM Self Defense: By Self Examination, LLMs know they are being tricked
Stars
- awesome-llm-security
- 1.7k
- llm-self-defense
- 52
Forks
- awesome-llm-security
- 312
- llm-self-defense
- 7
Open issues
- awesome-llm-security
- 173
- llm-self-defense
- 7
Language
- awesome-llm-security
- -
- llm-self-defense
- Python
Adopt for
- awesome-llm-security
- 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
- llm-self-defense
- Mitigates harmful content generation via self-examination by LLM outputs without fine-tuning.
Persona
- awesome-llm-security
- -
- llm-self-defense
- -
Runtime
- awesome-llm-security
- -
- llm-self-defense
- -
License
- awesome-llm-security
- -
- llm-self-defense
- BSD-3-Clause
Last pushed
- awesome-llm-security
- Aug 20, 2025
- llm-self-defense
- May 21, 2024
Categories
- awesome-llm-security
- Evaluation & Observability
- llm-self-defense
- Evaluation & Observability
Trust and health
Maintenance
- awesome-llm-security
- Slowing (36%)
- llm-self-defense
- Dormant (18%)
Days since push
- awesome-llm-security
- 351d
- llm-self-defense
- 805d
Open issues (now)
- awesome-llm-security
- 173
- llm-self-defense
- 7
OSV dependency advisories
- awesome-llm-security
- No lockfile (source not queried)
- llm-self-defense
- Published findings
Full report
- awesome-llm-security
- Trust report
- llm-self-defense
- Trust report
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.
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.
Choose llm-self-defense if…
- Tags unique to llm-self-defense: adversarial prompts, gpt 3.5, harmful content reduction, llama-2.
- When you need to reduce the success rate of adversarial attacks on text generation.
- Leaner open-issue backlog (7).
When NOT to use llm-self-defense
- If real-time performance is critical and additional latency cannot be tolerated.
- In scenarios where API access to both GPT 3.5 and Llama models is not feasible.
Explore
Sources
Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.
- GitHub stars (corca-ai/awesome-llm-security) · observed Aug 6, 2026
- GitHub forks (corca-ai/awesome-llm-security) · observed Aug 6, 2026
- Last push (corca-ai/awesome-llm-security) · observed Aug 20, 2025
- License file (unknown) · observed Aug 6, 2026
- Decision facts (enrichment) · observed Jul 11, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
- GitHub stars (poloclub/llm-self-defense) · observed Aug 5, 2026
- GitHub forks (poloclub/llm-self-defense) · observed Aug 5, 2026
- Last push (poloclub/llm-self-defense) · observed May 21, 2024
- License file (BSD-3-Clause) · observed Aug 5, 2026
- Decision facts (enrichment) · observed Jul 12, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
GitHub stars on cards: awesome-llm-security 1.7k · llm-self-defense 52 (synced Aug 6, 2026).
Common questions
- What is the difference between awesome-llm-security and llm-self-defense?
- awesome-llm-security: A curation of tools, documents and projects about LLM Security. llm-self-defense: LLM Self Defense: By Self Examination, LLMs know they are being tricked. See the comparison table for live GitHub stats and shared categories.
- When should I choose awesome-llm-security over llm-self-defense?
- Choose awesome-llm-security over llm-self-defense 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 llm-self-defense over awesome-llm-security?
- Choose llm-self-defense over awesome-llm-security when Tags unique to llm-self-defense: adversarial prompts, gpt 3.5, harmful content reduction, llama-2; When you need to reduce the success rate of adversarial attacks on text generation; Leaner open-issue backlog (7).
- 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 llm-self-defense?
- If real-time performance is critical and additional latency cannot be tolerated. In scenarios where API access to both GPT 3.5 and Llama models is not feasible.
- Is awesome-llm-security or llm-self-defense more popular on GitHub?
- awesome-llm-security has more GitHub stars (1,672 vs 52). Stars measure visibility, not whether either tool fits your constraints.
- Are awesome-llm-security and llm-self-defense open source?
- Yes - both are open-source projects on GitHub.
- Where can I find alternatives to awesome-llm-security or llm-self-defense?
- GraphCanon lists graph-backed alternatives at awesome-llm-security alternatives and llm-self-defense alternatives (awesome-llm-security markdown twin, llm-self-defense markdown twin), 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 mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
- Which is better maintained, awesome-llm-security or llm-self-defense?
- awesome-llm-security: Slowing. llm-self-defense: 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 llm-self-defense?
- GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: awesome-llm-security trust report; llm-self-defense trust report.