Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-09-17 19:15 UTC

protectai / llm-guard

The Security Toolkit for LLM Interactions

PythonMIT★ 3,207 stars⑂ 461 forkssince Jul 2023archivedView on GitHub ↗
KindNetwork serviceLibraryhow this is determined

protectai/llm-guard holds a health index of 19 out of 100, placing it in the Critical band. It scores highest on Engineering Quality (84/100) and lowest on Vitality (32/100). The repository is archived, so no further maintenance is expected.

19
overall / 100
Critical

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

19
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 61 is calibrated to 67 on the published index scale (record calibration 2026-08-02).

Ownership

Protect AIOrganization
787 followers16 public repossince Apr 2022

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
PyPIllm-guard0.3.16121,76026486 days agollmlanguage-modelsecurityadversarial-attacksprompt-injectionprompt-leakagepii-detectionself-hardeningfirewall

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

32At Risk · 21% of overall
How it's scored
18/36Push recency — last push 70 days ago
0.7/36Commit cadence — 1/52 weeks with commits
2.7/18Commit volume — 1 commits in the last year
0/10OpenSSF Scorecard: Maintained — project is archived
Inputs used
commits_last_year1
human_commit_share0.72
days_since_last_push70
active_weeks_last_year1
How it's scored
16.2/27Ships releases — 23 version tags (no GitHub releases)
7.2/36Release recency — latest release 486 days ago
19.8/27Release cadence — a release every ~60.1 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count23
latest_release_tagv0.3.16
releases_from_tagsyes
days_since_latest_release486
mean_days_between_releases60.1
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

83Excellent · 17% of overall
How it's scored
56.9/60Stars — 3,207 stars
22.2/25Forks — 461 forks
8/15Watchers — 29 watchers
Inputs used
forks461
stars3,207
watchers29
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges4
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_servicesshields.io
has_pull_request_templateyes
How it's scored
67.8/80Monthly downloads — 121,760 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
packagesllm-guard
dependents—
ecosystemspypi
total_downloads—
monthly_downloads121,760
unverified_packages_excluded—
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

57Moderate · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
1.6/22.5Commit distribution — top contributor authored 93% of commits
13.5/13.5Contributor breadth — 20 contributors
0/10OpenSSF Scorecard: Contributors — project has 0 contributing companies or organizations -- score normalized to 0
Inputs used
bus_factor1
contributors_sampled20
top_contributor_share0.927
How it's scored
37.7/42Issue resolution — 90% of issues closed
16.3/30PR acceptance — 113/208 decided PRs merged
0/13Newcomer PR acceptance — 0/2 first-time contributors' PRs merged in 30d
12/15OpenSSF Scorecard: Code-Review — Found 16/18 approved changesets -- score normalized to 8
Inputs used
merged_prs113
open_issues12
closed_issues104
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d2
issue_closed_ratio0.897
closed_unmerged_prs95
first_time_authors_30d1
first_time_prs_merged_30d0
first_time_prs_decided_30d2
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
20.8/25Owner reach — 787 followers of protectai
17.9/25Track record — 16 public repos, account ~4 yr old
Inputs used
followers787
owner_typeOrganization
is_verifiedno
owner_loginprotectai
public_repos16
account_age_days1,627
How it's scored
25/25Published & resolvable — 1 package(s) on pypi
14/35Publish recency — latest publish 486 days ago
20/20Version history — 26 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagesllm-guard
ecosystemspypi
any_deprecatedno
min_days_since_publish486

Engineering Quality

Are baseline engineering and documentation practices in place?

84Excellent · 19% of overall
How it's scored
24/24CI workflows — 4 workflow(s)
24/24Tests present
16/16Linter config — .ruff.toml
9.6/9.6Pre-commit hooks
6.4/6.4.editorconfig
0/20OpenSSF Scorecard: CI-Tests — 2 out of 21 merged PRs checked by a CI test -- score normalized to 0
Inputs used
has_ciyes
has_testsyes
has_editorconfigyes
has_linter_configyes
has_precommit_configyes

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://protectai.github.io/llm-guard/
10/10Repository description
10/10Topics — 10 topics
0/10Wiki
Inputs used
topicslarge-language-models, llm, chatgpt, security-tools, adversarial-machine-learning, prompt-engineering, prompt-injection, llmops, llm-security, transformers
has_wikino
homepagehttps://protectai.github.io/llm-guard/
docs_sitehttps://protectai.github.io/llm-guard/
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

52Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0.8/7.5Branch-Protection — branch protection is not maximal on development and all release branches
0/2.5CI-Tests — 2 out of 21 merged PRs checked by a CI test -- score normalized to 0
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
6/7.5Code-Review — Found 16/18 approved changesets -- score normalized to 8
0/2.5Contributors — project has 0 contributing companies or organizations -- score normalized to 0
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
0/7.5Maintained — project is archived
0/5Packaging — no data
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
3.5/5SAST — SAST tool detected but not run on all commits
5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate5.4
Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized.
How it's scored
6/35Direct dependencies free of known advisories — 3 affected: transformers 4.51.3 (critical 9.6), json-repair 0.44.1 (high 7.5), nltk 3.10.3 (high 7.0)
8.6/25Indirect dependencies free of known advisories — 1 affected: cryptography 44.0.3 (high 8.2)
27.7/40No advisories left outstanding — 2 advisory-carrying package(s) unaddressed past 90 days; oldest published 437 days ago
Inputs used
sourceosv
advisories40
affected_packages4
assessed_packages97
unassessed_packages0
affected_by_severitycritical 1, high 3
direct_affected_packages3
Matched the pypi:llm-guard@0.3.16 runtime dependency closure — what installing the published package pulls in — 97 packages. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

62Moderate · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
18.5/40Legible commit history — 25 of 72 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url—
legible_history_share0.347
agent_instruction_files—
agent_instruction_max_bytes—
How it's scored
18/18One-command bootstrap — Makefile, llm_guard_api/Makefile
22/22Automated tests
11/11Lint / format config — .ruff.toml
11/11Static type checking — pyrightconfig.json
10/10Reproducible environment — Dockerfile
2/10Demonstrated agent practice — 1 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 28 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfiles—
has_dockerfileyes
typed_languageno
bootstrap_filesMakefile, llm_guard_api/Makefile
has_devcontainerno
has_linter_configyes
typecheck_configspyrightconfig.json
agent_commit_share0.01
toolchain_manifests—
dependency_bot_commit_share0.28
How it's scored
27/45Type-checkable code — Python with type-check config (pyrightconfig.json)
55/55Manageable file sizes — 0/217 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes26,353
source_files_sampled217
oversized_source_files0
How it's scored
40/40API schema (OpenAPI/GraphQL/proto) — llm_guard_api/openapi.json
0/20MCP server
40/40Runnable examples — examples, notebooks
Inputs used
example_dirsexamples, notebooks
has_mcp_signalno
api_schema_filesllm_guard_api/openapi.json
interfaces_expected_ofnetwork-service

Key facts

3,207GitHub stars
20contributors
1commits, last 12 months
70days since last push
23releases
1bus factor
12open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • Could not fetch pypi package 'llm-guard-api' from its registry

More detail

Star and fork history 0 ★ / 461 ⇿
0Stars
461Forks
21Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

010020030040050045792023-082025-022026-09
Major 0Minor 3Patch 18

Each point covers 3 days.

OpenSSF Scorecard 5.4 / 10
5.4aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-09-17 19:14 UTC

10Binary-Artifactsno binaries found in the repo
1Branch-Protectionbranch protection is not maximal on development and all release branches
0CI-Tests2 out of 21 merged PRs checked by a CI test -- score normalized to 0
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
8Code-ReviewFound 16/18 approved changesets -- score normalized to 8
0Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
0Maintainedproject is archived
n/aPackagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
7SASTSAST tool detected but not run on all commits
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 28
RegistryPackageVersion constraintManifest
PyPIasyncio==3.4.3llm_guard_api/pyproject.toml
PyPIfastapi==0.115.12llm_guard_api/pyproject.toml
PyPIllm-guard==0.3.16llm_guard_api/pyproject.toml
PyPIpydantic==2.11.4llm_guard_api/pyproject.toml
PyPIpyyaml==6.0.2llm_guard_api/pyproject.toml
PyPIuvicorn==0.34.2llm_guard_api/pyproject.toml
PyPIstructlog>=24llm_guard_api/pyproject.toml
PyPIslowapi==0.1.9llm_guard_api/pyproject.toml
PyPIopentelemetry-instrumentation-fastapi==0.54b1llm_guard_api/pyproject.toml
PyPIopentelemetry-api==1.33.1llm_guard_api/pyproject.toml
PyPIopentelemetry-sdk==1.33.1llm_guard_api/pyproject.toml
PyPIopentelemetry-exporter-otlp-proto-http==1.33.1llm_guard_api/pyproject.toml
PyPIopentelemetry-exporter-prometheus==0.54b1llm_guard_api/pyproject.toml
PyPIopentelemetry-sdk-extension-aws==2.1.0llm_guard_api/pyproject.toml
PyPIopentelemetry-propagator-aws-xray==1.0.2llm_guard_api/pyproject.toml
PyPIpsutil>=5.9llm_guard_api/pyproject.toml
PyPIbc-detect-secrets==1.5.43pyproject.toml
PyPIfaker>=37,<38pyproject.toml
PyPIfuzzysearch>=0.7,<0.9pyproject.toml
PyPIjson-repair==0.44.1pyproject.toml
PyPInltk>=3.9.1,<4pyproject.toml
PyPIpresidio-analyzer==2.2.358pyproject.toml
PyPIpresidio-anonymizer==2.2.358pyproject.toml
PyPIregex==2024.11.6pyproject.toml
PyPItiktoken>=0.9,<1.0pyproject.toml
PyPItorch>=2.4.0pyproject.toml
PyPItransformers==4.51.3pyproject.toml
PyPIstructlog>=24pyproject.toml
All dependencies 0

Full resolved dependency set from the GitHub dependency graph: 0 direct and 0 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
Dependency advisories 4

Installing pypi:llm-guard@0.3.16 pulls in 97 packages, direct and transitive: 4 carry known advisories, of which 3 are direct dependencies.

PackageVersionRelationSeverityAdvisoriesFixed in
transformers4.51.3directcritical285.10.0
json-repair0.44.1directhigh10.60.1
nltk3.10.3directhigh1—
cryptography44.0.3indirecthigh1050.0.0

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — PyPI.