Home/Compare/PROMPTPurify vs gateway

Comparison

PROMPTPurify vs gateway

Verdict

Unverified catalog guidance: 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. gateway: Self-hosted firewall for securing AI applications with guardrails and content moderation.

Markdown twin · PROMPTPurify alternatives · gateway alternatives

GraphCanon updated Oct 23, 2026

PROMPTPurify logo

PROMPTPurify

securelayer7/PROMPTPurify

★ 80pushed May 31, 2026
vs
gateway logo

gateway

trylonai/gateway

★ 180pushed Jun 25, 2025

Trust & integrity

SignalPROMPTPurifygateway
Maintenance
Slowing (143d since push)
As of Oct 22, 2026 · github_public_v1
Dormant (484d since push)
As of Oct 23, 2026 · github_public_v1
Provenance
Not a fork · Organization account
As of Oct 22, 2026 · github_public_v1
Not a fork · Organization account
As of Oct 23, 2026 · github_public_v1
OSV dependency advisories
Published findings
As of Jul 15, 2026 · osv@v1
No lockfile (source not queried)
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

PROMPTPurify
Prompt-injection guardrail for LLM applications
gateway
Self-hosted firewall for securing AI applications with guardrails and content moderation.

Stars

PROMPTPurify
80
gateway
180

Forks

PROMPTPurify
21
gateway
20

Open issues

PROMPTPurify
0
gateway
0

Language

PROMPTPurify
TypeScript
gateway
Python

Adopt for

PROMPTPurify
Unverified catalog guidance: 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.
gateway
Unverified catalog guidance: Self-hosted firewall for securing AI applications with guardrails and content moderation.

Persona

PROMPTPurify
-
gateway
-

Runtime

PROMPTPurify
-
gateway
-

License

PROMPTPurify
MIT
gateway
Other

Last pushed

PROMPTPurify
May 31, 2026
gateway
Jun 25, 2025

Categories

PROMPTPurify
Evaluation & Observability, LLM Frameworks
gateway
Evaluation & Observability, LLM Frameworks

Trust and health

Maintenance

PROMPTPurify
Slowing (36%)
gateway
Dormant (18%)

Days since push

PROMPTPurify
143d
gateway
484d

Stars delta

PROMPTPurify
+1 (30d)
gateway
+49 (30d)

OSV dependency advisories

PROMPTPurify
Published findings
gateway
No lockfile (source not queried)

Full report

PROMPTPurify
Trust report

Choose PROMPTPurify if…

  • PROMPTPurify is primarily TypeScript; gateway is Python.
  • License: PROMPTPurify is MIT, gateway is Other.
  • 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.
  • Unverified catalog guidance: - When you require compact model solutions that outperform larger open-source guards.

When NOT to use PROMPTPurify

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

Choose gateway if…

  • gateway is primarily Python; PROMPTPurify is TypeScript.
  • License: gateway is Other, PROMPTPurify is MIT.
  • Pricing: Open-source with no explicit monetary cost, but requires users to handle infrastructure costs associated with local Docker deployment.
  • Requirements: Min 4 GB RAM; Requires Docker; Docker and Docker Compose are required for deployment; Initial launch takes several minutes due to downloading machine learning models (~1.5GB+) for the first time.
  • Tags unique to gateway: content-moderation, docker-compose, pii-redaction, prompt-injection.
  • gateway has Docker configuration in its repository.
  • Unverified catalog guidance: When you need to self-host a secure gateway for LLM-based AI applications that requires local deployment via Docker

When NOT to use gateway

  • Unverified catalog guidance: Avoid if you are looking for cloud-managed services, as this tool is designed solely for local or self-hosted environments
  • Unverified catalog guidance: Not suitable if you require extensive customization beyond the provided policies.yaml file and predefined guardrails for content moderation and security

Explore

Sources

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

GitHub stars on cards: PROMPTPurify 80 · gateway 180 (synced Oct 22, 2026).

Common questions

What is the difference between PROMPTPurify and gateway?
PROMPTPurify: Prompt-injection guardrail for LLM applications. gateway: Self-hosted firewall for securing AI applications with guardrails and content moderation.. See the comparison table for recorded GitHub metadata and shared categories.
When should I choose PROMPTPurify over gateway?
For PROMPTPurify, compare these recorded points with gateway: PROMPTPurify is primarily TypeScript; gateway is Python; License: PROMPTPurify is MIT, gateway is Other; 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; Unverified catalog guidance: - When you require compact model solutions that outperform larger open-source guards.
When should I choose gateway over PROMPTPurify?
For gateway, compare these recorded points with PROMPTPurify: gateway is primarily Python; PROMPTPurify is TypeScript; License: gateway is Other, PROMPTPurify is MIT; Pricing: Open-source with no explicit monetary cost, but requires users to handle infrastructure costs associated with local Docker deployment; Requirements: Min 4 GB RAM; Requires Docker; Docker and Docker Compose are required for deployment; Initial launch takes several minutes due to downloading machine learning models (~1.5GB+) for the first time; Tags unique to gateway: content-moderation, docker-compose, pii-redaction, prompt-injection; gateway has Docker configuration in its repository; Unverified catalog guidance: When you need to self-host a secure gateway for LLM-based AI applications that requires local deployment via Docker.
When should I avoid PROMPTPurify?
Unverified catalog guidance: - Avoid using PROMPTPurify if your project requires regex or signature-based methods for security purposes, as this tool does not support them. Unverified catalog guidance: - Do not use it if you are looking for comprehensive AI-security solutions that extend beyond prompt injection and jailbreak detection.
When should I avoid gateway?
Unverified catalog guidance: Avoid if you are looking for cloud-managed services, as this tool is designed solely for local or self-hosted environments Unverified catalog guidance: Not suitable if you require extensive customization beyond the provided policies.yaml file and predefined guardrails for content moderation and security
Is PROMPTPurify or gateway more popular on GitHub?
gateway has more recorded GitHub stars (180 vs 80). Stars measure visibility, not whether either tool fits your constraints.
Which licenses are recorded for PROMPTPurify and gateway?
PROMPTPurify: MIT. gateway: Other. 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 PROMPTPurify or gateway?
GraphCanon lists candidates at PROMPTPurify alternatives and gateway alternatives (PROMPTPurify markdown twin, gateway 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, PROMPTPurify or gateway?
PROMPTPurify: Slowing. gateway: 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 PROMPTPurify and gateway?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: PROMPTPurify trust report; gateway trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.