llm-guard and SemanticShield

These are competitors offering overlapping prompt injection and LLM security capabilities, though llm-guard dominates with significantly broader adoption and a more mature ecosystem of detectors and sanitizers.

llm-guard
74
Verified
SemanticShield
37
Emerging
Maintenance 6/25
Adoption 21/25
Maturity 25/25
Community 22/25
Maintenance 2/25
Adoption 9/25
Maturity 18/25
Community 8/25
Stars: 2,660
Forks: 353
Downloads: 329,796
Commits (30d): 0
Language: Python
License: MIT
Stars: 22
Forks: 2
Downloads: 26
Commits (30d): 0
Language: Python
License: MIT
No risk flags
Stale 6m

About llm-guard

protectai/llm-guard

The Security Toolkit for LLM Interactions

Provides modular input and output scanners for LLM pipelines—including prompt injection detection, secret redaction, toxicity analysis, and factual consistency checking—deployable as a Python library or standalone API. Uses a composable scanner architecture enabling fine-grained control over which security checks run on user inputs and model outputs. Integrates with OpenAI's API and other LLM providers through straightforward configuration.

About SemanticShield

SemanticBrainCorp/SemanticShield

The Security Toolkit for managing Generative AI(especially LLMs) and Supervised Learning processes(Learning and Inference).

Scores updated daily from GitHub, PyPI, and npm data. How scores work