Home/Compare/Open-Prompt-Injection vs PROMPTPurify

Comparison

Open-Prompt-Injection vs PROMPTPurify

Verdict

Pick Open-Prompt-Injection if 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; pick PROMPTPurify if pROMPTPurify, licensed under MIT, provides an ai-safety solution with a focus on jailbreak-detection and prompt-injection-protection for LLM applications without relying on regex or signatures.

Markdown twin · Open-Prompt-Injection alternatives · PROMPTPurify alternatives

GraphCanon updated Oct 4, 2026

10views this month

Open-Prompt-Injection logo

Open-Prompt-Injection

liu00222/Open-Prompt-Injection

★ 503pushed Sep 27, 2026
vs
PROMPTPurify logo

PROMPTPurify

securelayer7/PROMPTPurify

★ 79pushed May 31, 2026

Trust & integrity

SignalOpen-Prompt-InjectionPROMPTPurify
Maintenance
Very active (6d since push)
As of Oct 4, 2026 · github_public_v1
Slowing (104d since push)
As of Sep 13, 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 Sep 13, 2026 · github_public_v1
OSV dependency advisories
No lockfile (source not queried)
As of Jul 11, 2026 · osv@v1
Published findings
As of Jul 15, 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
PROMPTPurify
Prompt-injection guardrail for LLM applications

Stars

Open-Prompt-Injection
503
PROMPTPurify
79

Forks

Open-Prompt-Injection
81
PROMPTPurify
20

Open issues

Open-Prompt-Injection
2
PROMPTPurify
0

Language

Open-Prompt-Injection
Python
PROMPTPurify
TypeScript

Adopt for

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.
PROMPTPurify
PROMPTPurify, licensed under MIT, provides an ai-safety solution with a focus on jailbreak-detection and prompt-injection-protection for LLM applications without relying on regex or signatures.

Persona

Open-Prompt-Injection
-
PROMPTPurify
-

Runtime

Open-Prompt-Injection
-
PROMPTPurify
-

License

Open-Prompt-Injection
MIT
PROMPTPurify
MIT

Last pushed

Open-Prompt-Injection
Sep 27, 2026
PROMPTPurify
May 31, 2026

Categories

Open-Prompt-Injection
Evaluation & Observability, LLM Frameworks
PROMPTPurify
Evaluation & Observability, LLM Frameworks

Trust and health

Maintenance

Open-Prompt-Injection
Very active (96%)
PROMPTPurify
Slowing (36%)

Days since push

Open-Prompt-Injection
6d
PROMPTPurify
104d

Open issues (now)

Open-Prompt-Injection
2
PROMPTPurify
0

Stars delta

Open-Prompt-Injection
+33 (30d)
PROMPTPurify
+4 (30d)

Open issues delta

Open-Prompt-Injection
-12 (30d)
PROMPTPurify
0 (30d)

Owner type

Open-Prompt-Injection
User
PROMPTPurify
Organization

OSV dependency advisories

Open-Prompt-Injection
No lockfile (source not queried)
PROMPTPurify
Published findings

Full report

Open-Prompt-Injection
Trust report
PROMPTPurify
Trust report

Choose Open-Prompt-Injection if…

  • Open-Prompt-Injection is primarily Python; PROMPTPurify is TypeScript.
  • Tags unique to Open-Prompt-Injection: llm, llm-security, prompt-injection, security-and-privacy.
  • You prioritize security testing specifically for prompt injection vulnerabilities in your LLM applications.

When NOT to use Open-Prompt-Injection

  • You require broader, more generalized security features not centered on prompt injection attacks.
  • Your project does not involve working with Google PaLM2 or other specific models like Meta's Llama and OpenAI's GPT.

Choose PROMPTPurify if…

  • PROMPTPurify is primarily TypeScript; Open-Prompt-Injection is Python.
  • Pricing: The SDK and model weights of PROMPTPurify come under the MIT license, allowing free usage. However, the full extent of features or services might require a premium setup..
  • Requirements: - This tool is built with TypeScript.; - Ensure familiarity with TypeScript for efficient integration..
  • Tags unique to PROMPTPurify: ai-firewall, ai-safety, ai-security, application-security.
  • - When you require compact model solutions that outperform larger open-source guards.

When NOT to use PROMPTPurify

  • - Avoid using PROMPTPurify if your project requires regex or signature-based methods for security purposes, as this tool does not support them.
  • - Do not use it if you are looking for comprehensive AI-security solutions that extend beyond prompt injection and jailbreak detection.

Explore

Sources

Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.

GitHub stars on cards: Open-Prompt-Injection 503 · PROMPTPurify 79 (synced Oct 4, 2026).

Common questions

What is the difference between Open-Prompt-Injection and PROMPTPurify?
Open-Prompt-Injection: Benchmark and toolkit for prompt injection attacks and defenses in LLMs. PROMPTPurify: Prompt-injection guardrail for LLM applications. See the comparison table for live GitHub stats and shared categories.
When should I choose Open-Prompt-Injection over PROMPTPurify?
Choose Open-Prompt-Injection over PROMPTPurify when Open-Prompt-Injection is primarily Python; PROMPTPurify is TypeScript; Tags unique to Open-Prompt-Injection: llm, llm-security, prompt-injection, security-and-privacy; You prioritize security testing specifically for prompt injection vulnerabilities in your LLM applications.
When should I choose PROMPTPurify over Open-Prompt-Injection?
Choose PROMPTPurify over Open-Prompt-Injection when PROMPTPurify is primarily TypeScript; Open-Prompt-Injection is Python; Pricing: The SDK and model weights of PROMPTPurify come under the MIT license, allowing free usage. However, the full extent of features or services might require a premium setup.; Requirements: - This tool is built with TypeScript.; - Ensure familiarity with TypeScript for efficient integration.; Tags unique to PROMPTPurify: ai-firewall, ai-safety, ai-security, application-security; - When you require compact model solutions that outperform larger open-source guards.
When should I avoid Open-Prompt-Injection?
You require broader, more generalized security features not centered on prompt injection attacks. 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 PROMPTPurify?
- Avoid using PROMPTPurify if your project requires regex or signature-based methods for security purposes, as this tool does not support them. - Do not use it if you are looking for comprehensive AI-security solutions that extend beyond prompt injection and jailbreak detection.
Is Open-Prompt-Injection or PROMPTPurify more popular on GitHub?
Open-Prompt-Injection has more GitHub stars (503 vs 79). Stars measure visibility, not whether either tool fits your constraints.
Are Open-Prompt-Injection and PROMPTPurify open source?
Yes - both are open-source projects on GitHub (Open-Prompt-Injection: MIT, PROMPTPurify: MIT).
Where can I find alternatives to Open-Prompt-Injection or PROMPTPurify?
GraphCanon lists graph-backed alternatives at Open-Prompt-Injection alternatives and PROMPTPurify alternatives (Open-Prompt-Injection markdown twin, PROMPTPurify 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, Open-Prompt-Injection or PROMPTPurify?
Open-Prompt-Injection: Very active. PROMPTPurify: Slowing. 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 PROMPTPurify?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: Open-Prompt-Injection trust report; PROMPTPurify trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.