{"adoption": {"forks": 446, "observed_at": "2026-08-28T04:07:48.546657+00:00", "stars": 3203}, "canonical_url": "https://ross.abutalabs.com/products/llm-guard", "card": {"archived": true, "artifact_type": "library", "description": "The Security Toolkit for LLM Interactions", "domain": ["large-language-models", "security", "machine-learning"], "enriched": true, "function": ["security", "nlp", "llm-inference", "prompt-engineering", "middleware"], "health_score": 10, "homepage": "https://protectai.github.io/llm-guard/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "abandoned", "member_repos": ["protectai/llm-guard"], "name": "protectai/llm-guard", "platform": ["python", "cross-platform"], "pushed_at": "2026-07-08T23:58:40+00:00", "repo": "protectai/llm-guard", "stars": 3203, "tags": ["llm-security", "prompt-injection", "pii-detection", "input-sanitization", "llm-firewall", "archived-project", "natural-language-processing"], "topics": ["large-language-models", "llm", "chatgpt", "security-tools", "adversarial-machine-learning", "prompt-engineering", "prompt-injection", "llmops", "llm-security", "transformers"], "urls": [], "use_cases": ["detect and block prompt injection attacks on my llm app", "anonymize PII before sending prompts to an LLM API", "sanitize user input before it reaches a chatbot", "prevent data leakage in LLM responses", "add a security firewall around ChatGPT API calls", "scan LLM outputs for toxic or harmful content"], "what_it_is": "LLM Guard is a Python library providing input and output scanners to secure LLM interactions, including sanitization, harmful language detection, PII anonymization, and prompt injection resistance. The project has been archived and is no longer maintained.", "when_to_avoid": ["you need actively maintained software with bug fixes and updated models", "you require support for new LLM providers or recent attack techniques", "you want long-term production support without forking"], "when_to_choose": ["you need a ready-made set of LLM input/output security scanners in Python", "you want PII anonymization and prompt injection detection out of the box", "you are okay using an unmaintained library as-is or forking it"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/llm-guard", "repo": "protectai/llm-guard", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.546657+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:24:47.913934+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fddf5a6ec2db4b42db56ef93a9f9e7322fe6f65e7025af1dbab0ec16662834d2", "fetched_at": "2026-08-28T04:07:48.546657+00:00", "kind": "readme", "missing": false, "url": "https://github.com/protectai/llm-guard"}, {"content_hash": "7403f55aa6409e6c597c766772148907771e48666d655bb055cfe7194447bf4d", "fetched_at": "2026-08-29T09:38:25.641450+00:00", "kind": "homepage", "missing": false, "url": "https://protectai.github.io/llm-guard/"}, {"content_hash": "12848426ce5f5490dec24a187e19c3e4d782d03f02d53b0f7db8057575ff5838", "fetched_at": "2026-08-29T09:38:25.650619+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llm-guard/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.546657+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:24:47.913934+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fddf5a6ec2db4b42db56ef93a9f9e7322fe6f65e7025af1dbab0ec16662834d2", "fetched_at": "2026-08-28T04:07:48.546657+00:00", "kind": "readme", "missing": false, "url": "https://github.com/protectai/llm-guard"}, {"content_hash": "7403f55aa6409e6c597c766772148907771e48666d655bb055cfe7194447bf4d", "fetched_at": "2026-08-29T09:38:25.641450+00:00", "kind": "homepage", "missing": false, "url": "https://protectai.github.io/llm-guard/"}, {"content_hash": "12848426ce5f5490dec24a187e19c3e4d782d03f02d53b0f7db8057575ff5838", "fetched_at": "2026-08-29T09:38:25.650619+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llm-guard/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:24:47.913934+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fddf5a6ec2db4b42db56ef93a9f9e7322fe6f65e7025af1dbab0ec16662834d2", "fetched_at": "2026-08-28T04:07:48.546657+00:00", "kind": "readme", "missing": false, "url": "https://github.com/protectai/llm-guard"}, {"content_hash": "7403f55aa6409e6c597c766772148907771e48666d655bb055cfe7194447bf4d", "fetched_at": "2026-08-29T09:38:25.641450+00:00", "kind": "homepage", "missing": false, "url": "https://protectai.github.io/llm-guard/"}, {"content_hash": "12848426ce5f5490dec24a187e19c3e4d782d03f02d53b0f7db8057575ff5838", "fetched_at": "2026-08-29T09:38:25.650619+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llm-guard/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.546657+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.546657+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.546657+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:24:47.913934+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fddf5a6ec2db4b42db56ef93a9f9e7322fe6f65e7025af1dbab0ec16662834d2", "fetched_at": "2026-08-28T04:07:48.546657+00:00", "kind": "readme", "missing": false, "url": "https://github.com/protectai/llm-guard"}, {"content_hash": "7403f55aa6409e6c597c766772148907771e48666d655bb055cfe7194447bf4d", "fetched_at": "2026-08-29T09:38:25.641450+00:00", "kind": "homepage", "missing": false, "url": "https://protectai.github.io/llm-guard/"}, {"content_hash": "12848426ce5f5490dec24a187e19c3e4d782d03f02d53b0f7db8057575ff5838", "fetched_at": "2026-08-29T09:38:25.650619+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llm-guard/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.546657+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.546657+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:24:47.913934+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fddf5a6ec2db4b42db56ef93a9f9e7322fe6f65e7025af1dbab0ec16662834d2", "fetched_at": "2026-08-28T04:07:48.546657+00:00", "kind": "readme", "missing": false, "url": "https://github.com/protectai/llm-guard"}, {"content_hash": "7403f55aa6409e6c597c766772148907771e48666d655bb055cfe7194447bf4d", "fetched_at": "2026-08-29T09:38:25.641450+00:00", "kind": "homepage", "missing": false, "url": "https://protectai.github.io/llm-guard/"}, {"content_hash": "12848426ce5f5490dec24a187e19c3e4d782d03f02d53b0f7db8057575ff5838", "fetched_at": "2026-08-29T09:38:25.650619+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llm-guard/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.546657+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.546657+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.546657+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:24:47.913934+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fddf5a6ec2db4b42db56ef93a9f9e7322fe6f65e7025af1dbab0ec16662834d2", "fetched_at": "2026-08-28T04:07:48.546657+00:00", "kind": "readme", "missing": false, "url": "https://github.com/protectai/llm-guard"}, {"content_hash": "7403f55aa6409e6c597c766772148907771e48666d655bb055cfe7194447bf4d", "fetched_at": "2026-08-29T09:38:25.641450+00:00", "kind": "homepage", "missing": false, "url": "https://protectai.github.io/llm-guard/"}, {"content_hash": "12848426ce5f5490dec24a187e19c3e4d782d03f02d53b0f7db8057575ff5838", "fetched_at": "2026-08-29T09:38:25.650619+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llm-guard/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.546657+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.546657+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:24:47.913934+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fddf5a6ec2db4b42db56ef93a9f9e7322fe6f65e7025af1dbab0ec16662834d2", "fetched_at": "2026-08-28T04:07:48.546657+00:00", "kind": "readme", "missing": false, "url": "https://github.com/protectai/llm-guard"}, {"content_hash": "7403f55aa6409e6c597c766772148907771e48666d655bb055cfe7194447bf4d", "fetched_at": "2026-08-29T09:38:25.641450+00:00", "kind": "homepage", "missing": false, "url": "https://protectai.github.io/llm-guard/"}, {"content_hash": "12848426ce5f5490dec24a187e19c3e4d782d03f02d53b0f7db8057575ff5838", "fetched_at": "2026-08-29T09:38:25.650619+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llm-guard/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:24:47.913934+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fddf5a6ec2db4b42db56ef93a9f9e7322fe6f65e7025af1dbab0ec16662834d2", "fetched_at": "2026-08-28T04:07:48.546657+00:00", "kind": "readme", "missing": false, "url": "https://github.com/protectai/llm-guard"}, {"content_hash": "7403f55aa6409e6c597c766772148907771e48666d655bb055cfe7194447bf4d", "fetched_at": "2026-08-29T09:38:25.641450+00:00", "kind": "homepage", "missing": false, "url": "https://protectai.github.io/llm-guard/"}, {"content_hash": "12848426ce5f5490dec24a187e19c3e4d782d03f02d53b0f7db8057575ff5838", "fetched_at": "2026-08-29T09:38:25.650619+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llm-guard/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:24:47.913934+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fddf5a6ec2db4b42db56ef93a9f9e7322fe6f65e7025af1dbab0ec16662834d2", "fetched_at": "2026-08-28T04:07:48.546657+00:00", "kind": "readme", "missing": false, "url": "https://github.com/protectai/llm-guard"}, {"content_hash": "7403f55aa6409e6c597c766772148907771e48666d655bb055cfe7194447bf4d", "fetched_at": "2026-08-29T09:38:25.641450+00:00", "kind": "homepage", "missing": false, "url": "https://protectai.github.io/llm-guard/"}, {"content_hash": "12848426ce5f5490dec24a187e19c3e4d782d03f02d53b0f7db8057575ff5838", "fetched_at": "2026-08-29T09:38:25.650619+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llm-guard/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:24:47.913934+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fddf5a6ec2db4b42db56ef93a9f9e7322fe6f65e7025af1dbab0ec16662834d2", "fetched_at": "2026-08-28T04:07:48.546657+00:00", "kind": "readme", "missing": false, "url": "https://github.com/protectai/llm-guard"}, {"content_hash": "7403f55aa6409e6c597c766772148907771e48666d655bb055cfe7194447bf4d", "fetched_at": "2026-08-29T09:38:25.641450+00:00", "kind": "homepage", "missing": false, "url": "https://protectai.github.io/llm-guard/"}, {"content_hash": "12848426ce5f5490dec24a187e19c3e4d782d03f02d53b0f7db8057575ff5838", "fetched_at": "2026-08-29T09:38:25.650619+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llm-guard/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "longevity": 80, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1133, "days_push": 56, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}