Comparison
Open-Prompt-Injection vs llm-attacks
Verdict
Unverified catalog guidance: Open-Prompt-Injection: Open-Prompt-Injection is a Python-based toolkit for benchmarking prompt injection attacks on LLMs, offering customization through config files and support for various LLM APIs. llm-attacks: llm-attacks: Universal and Transferable Attacks on Aligned Language Models with dependency on FastChat.
Markdown twin · Open-Prompt-Injection alternatives · llm-attacks alternatives
GraphCanon updated Oct 4, 2026
Trust & integrity
| Signal | Open-Prompt-Injection | llm-attacks |
|---|---|---|
| Maintenance | Very active (6d since push) As of Oct 4, 2026 · github_public_v1 | Dormant (792d since push) As of Oct 4, 2026 · github_public_v1 |
| Provenance | Not a fork · Personal account As of Oct 4, 2026 · github_public_v1 | Not a fork · Organization account As of Oct 4, 2026 · github_public_v1 |
| OSV dependency advisories | No lockfile (source not queried) As of Jul 11, 2026 · osv@v1 | Published findings As of Jul 11, 2026 · 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
- Open-Prompt-Injection
- Benchmark and toolkit for prompt injection attacks and defenses in LLMs
- llm-attacks
- Universal and Transferable Attacks on Aligned Language Models
Stars
- Open-Prompt-Injection
- 503
- llm-attacks
- 4.8k
Forks
- Open-Prompt-Injection
- 81
- llm-attacks
- 641
Open issues
- Open-Prompt-Injection
- 2
- llm-attacks
- 69
Language
- Open-Prompt-Injection
- Python
- llm-attacks
- Python
Adopt for
- Open-Prompt-Injection
- Unverified catalog guidance: Open-Prompt-Injection is a Python-based toolkit for benchmarking prompt injection attacks on LLMs, offering customization through config files and support for various LLM APIs.
- llm-attacks
- Unverified catalog guidance: llm-attacks: Universal and Transferable Attacks on Aligned Language Models with dependency on FastChat.
Persona
- Open-Prompt-Injection
- -
- llm-attacks
- -
Runtime
- Open-Prompt-Injection
- -
- llm-attacks
- -
License
- Open-Prompt-Injection
- MIT
- llm-attacks
- MIT
Last pushed
- Open-Prompt-Injection
- Sep 27, 2026
- llm-attacks
- Aug 2, 2024
Categories
- Open-Prompt-Injection
- Evaluation & Observability, LLM Frameworks
- llm-attacks
- Evaluation & Observability, LLM Frameworks
Trust and health
Maintenance
- Open-Prompt-Injection
- Very active (96%)
- llm-attacks
- Dormant (18%)
Days since push
- Open-Prompt-Injection
- 6d
- llm-attacks
- 792d
Open issues (recorded)
- Open-Prompt-Injection
- 2
- llm-attacks
- 69
Stars delta
- Open-Prompt-Injection
- +33 (30d)
- llm-attacks
- +58 (30d)
Open issues delta
- Open-Prompt-Injection
- -12 (30d)
- llm-attacks
- 0 (30d)
Owner type
- Open-Prompt-Injection
- User
- llm-attacks
- Organization
OSV dependency advisories
- Open-Prompt-Injection
- No lockfile (source not queried)
- llm-attacks
- Published findings
Full report
- Open-Prompt-Injection
- Trust report
- llm-attacks
- Trust report
Shared compatibility
- Python · Open-Prompt-Injection: Python runtime · llm-attacks: Python runtime
Choose Open-Prompt-Injection if…
- Tags unique to Open-Prompt-Injection: llm, llm-security, prompt-injection, security-and-privacy.
- Unverified catalog guidance: You prioritize security testing specifically for prompt injection vulnerabilities in your LLM applications.
- More recently updated (last pushed Sep 27, 2026).
When NOT to use Open-Prompt-Injection
- Unverified catalog guidance: You require broader, more generalized security features not centered on prompt injection attacks.
- Unverified catalog guidance: Your project does not involve working with Google PaLM2 or other specific models like Meta's Llama and OpenAI's GPT.
Choose llm-attacks if…
- Tags unique to llm-attacks: alignment-testing, attacks, fastchat-dependency, language models.
- Unverified catalog guidance: When you need to test the robustness of aligned language models specifically using attacks designed for these systems,
- More GitHub stars (4.8k vs 503) - visibility, not fit.
When NOT to use llm-attacks
- Unverified catalog guidance: Do not use if you are evaluating generic or unaligned language models without a need for alignment-specific attack testing,
- Unverified catalog guidance: Avoid when FastChat is not used in your project as llm-attacks explicitly depends on it.
Explore
Sources
Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.
- GitHub stars (liu00222/Open-Prompt-Injection) · observed Oct 4, 2026
- GitHub forks (liu00222/Open-Prompt-Injection) · observed Oct 4, 2026
- Last push (liu00222/Open-Prompt-Injection) · observed Sep 27, 2026
- License file (MIT) · observed Oct 4, 2026
- Decision facts (enrichment) · observed Jul 17, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
- GitHub stars (llm-attacks/llm-attacks) · observed Oct 4, 2026
- GitHub forks (llm-attacks/llm-attacks) · observed Oct 4, 2026
- Last push (llm-attacks/llm-attacks) · observed Aug 2, 2024
- License file (MIT) · observed Oct 4, 2026
- Decision facts (enrichment) · observed Jul 17, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
GitHub stars on cards: Open-Prompt-Injection 503 · llm-attacks 4.8k (synced Oct 4, 2026).
Common questions
- What is the difference between Open-Prompt-Injection and llm-attacks?
- Open-Prompt-Injection: Benchmark and toolkit for prompt injection attacks and defenses in LLMs. llm-attacks: Universal and Transferable Attacks on Aligned Language Models. See the comparison table for recorded GitHub metadata and shared categories.
- When should I choose Open-Prompt-Injection over llm-attacks?
- For Open-Prompt-Injection, compare these recorded points with llm-attacks: Tags unique to Open-Prompt-Injection: llm, llm-security, prompt-injection, security-and-privacy; Unverified catalog guidance: You prioritize security testing specifically for prompt injection vulnerabilities in your LLM applications; More recently updated (last pushed Sep 27, 2026).
- When should I choose llm-attacks over Open-Prompt-Injection?
- For llm-attacks, compare these recorded points with Open-Prompt-Injection: Tags unique to llm-attacks: alignment-testing, attacks, fastchat-dependency, language models; Unverified catalog guidance: When you need to test the robustness of aligned language models specifically using attacks designed for these systems,; More GitHub stars (4.8k vs 503) - visibility, not fit.
- When should I avoid Open-Prompt-Injection?
- Unverified catalog guidance: You require broader, more generalized security features not centered on prompt injection attacks. Unverified catalog guidance: Your project does not involve working with Google PaLM2 or other specific models like Meta's Llama and OpenAI's GPT.
- When should I avoid llm-attacks?
- Unverified catalog guidance: Do not use if you are evaluating generic or unaligned language models without a need for alignment-specific attack testing, Unverified catalog guidance: Avoid when FastChat is not used in your project as llm-attacks explicitly depends on it.
- Is Open-Prompt-Injection or llm-attacks more popular on GitHub?
- llm-attacks has more recorded GitHub stars (4,814 vs 503). Stars measure visibility, not whether either tool fits your constraints.
- Which licenses are recorded for Open-Prompt-Injection and llm-attacks?
- Open-Prompt-Injection: MIT. llm-attacks: MIT. Check each repository's current license and terms before use. Public GitHub hosting alone does not establish open-source licensing.
- Where can I find alternatives to Open-Prompt-Injection or llm-attacks?
- GraphCanon lists candidates at Open-Prompt-Injection alternatives and llm-attacks alternatives (Open-Prompt-Injection markdown twin, llm-attacks markdown twin). The discovery order uses stored relationship proposals and shared categories; it is not a verified replacement ranking.
- 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, Open-Prompt-Injection or llm-attacks?
- Open-Prompt-Injection: Very active. llm-attacks: 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 Open-Prompt-Injection and llm-attacks?
- GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: Open-Prompt-Injection trust report; llm-attacks trust report.