Public record
Software health reportschema 0.31.0 · metrics 2.10.0 · 2026-08-13 00:37 UTC

protectai / llm-guard

The Security Toolkit for LLM Interactions

PythonMIT★ 3,201 stars⑂ 440 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 (89/100) and lowest on Vitality (34/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 64 is calibrated to 73 on the published index scale (record calibration 2026-08-02).

Ownership

Protect AIOrganization
777 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.16-26450 days agollmlanguage-modelsecurityadversarial-attacksprompt-injectionprompt-leakagepii-detectionself-hardeningfirewall

Metrics by category

Vitality

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

34At Risk · 21% of overall
How it's scored
18/36Push recencylast push 35 days ago
1.4/36Commit cadence2/52 weeks with commits
4.3/18Commit volume2 commits in the last year
0/10OpenSSF Scorecard: Maintainedproject is archived
Inputs used
commits_last_year2
human_commit_share0.72
days_since_last_push35
active_weeks_last_year2
How it's scored
16.2/27Ships releases23 version tags (no GitHub releases)
7.2/36Release recencylatest release 450 days ago
19.8/27Release cadencea release every ~60.1 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count23
latest_release_tagv0.3.16
releases_from_tagsyes
days_since_latest_release450
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?

82Excellent · 17% of overall
How it's scored
56.9/60Stars3,201 stars
22/25Forks440 forks
8/15Watchers29 watchers
Inputs used
forks440
stars3,201
watchers29
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized 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

Sustainability & Governance

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

64Moderate · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
1.6/22.5Commit distributiontop contributor authored 93% of commits
13.5/13.5Contributor breadth20 contributors
0/10OpenSSF Scorecard: Contributorsproject 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 resolution90% of issues closed
16.5/30PR acceptance113/206 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
12/15OpenSSF Scorecard: Code-ReviewFound 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_30d0
issue_closed_ratio0.897
closed_unmerged_prs93
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domainverified-domain status not read for this organization
20.8/25Owner reach777 followers of protectai
17.7/25Track record16 public repos, account ~4 yr old
Inputs used
followers777
owner_typeOrganization
is_verified
owner_loginprotectai
public_repos16
account_age_days1,591
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.
How it's scored
25/25Published & resolvable1 package(s) on pypi
14/35Publish recencylatest publish 450 days ago
20/20Version history26 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesllm-guard
ecosystemspypi
any_deprecatedno
min_days_since_publish450

Engineering Quality

Are baseline engineering and documentation practices in place?

89Excellent · 19% of overall
How it's scored
24/24CI workflows4 workflow(s)
24/24Tests present
16/16Linter config.ruff.toml
9.6/9.6Pre-commit hooks
6.4/6.4.editorconfig
8/20OpenSSF Scorecard: CI-Tests10 out of 21 merged PRs checked by a CI test -- score normalized to 4
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 sitehttps://protectai.github.io/llm-guard/
10/10Repository description
10/10Topics10 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?

53Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0.8/7.5Branch-Protectionbranch protection is not maximal on development and all release branches
1/2.5CI-Tests10 out of 21 merged PRs checked by a CI test -- score normalized to 4
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
6/7.5Code-ReviewFound 16/18 approved changesets -- score normalized to 8
0/2.5Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
0/7.5Maintainedproject is archived
0/5Packagingno data
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
4/5SASTSAST tool detected but not run on all commits
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate5.6
Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized.
How it's scored
6.8/35Direct dependencies free of known advisories2 affected: transformers 4.51.3 (critical 9.6), json-repair 0.44.1 (high 7.5)
8.6/25Indirect dependencies free of known advisories1 affected: cryptography 44.0.3 (high 8.2)
27.7/40No advisories left outstanding2 advisory-carrying package(s) unaddressed past 90 days; oldest published 401 days ago
Inputs used
sourceosv
advisories38
affected_packages3
assessed_packages74
unassessed_packages0
affected_by_severitycritical 1, high 2
direct_affected_packages2
Matched the pypi:llm-guard@0.3.16 runtime dependency closure — what installing the published package pulls in — 74 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 instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
18.5/40Legible commit history25 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 bootstrapMakefile, llm_guard_api/Makefile
22/22Automated tests
11/11Lint / format config.ruff.toml
11/11Static type checkingpyrightconfig.json
10/10Reproducible environmentDockerfile
2/10Demonstrated agent practice1 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance28 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependenciesdependency 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 codePython with type-check config (pyrightconfig.json)
55/55Manageable file sizes0/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 examplesexamples, notebooks
Inputs used
example_dirsexamples, notebooks
has_mcp_signalno
api_schema_filesllm_guard_api/openapi.json
interfaces_expected_ofnetwork-service

Key facts

3,201GitHub stars
20contributors
2commits, last 12 months
35days 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 ★ / 440 ⇿
0Stars
440Forks
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.

010020030040050043792023-082025-022026-08
Major 0Minor 3Patch 18

Each point covers 3 days.

OpenSSF Scorecard 5.6 / 10
5.6aggregate

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-08-13 00:37 UTC

10Binary-Artifactsno binaries found in the repo
1Branch-Protectionbranch protection is not maximal on development and all release branches
4CI-Tests10 out of 21 merged PRs checked by a CI test -- score normalized to 4
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
8SASTSAST 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 3

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

PackageVersionRelationSeverityAdvisoriesFixed in
transformers4.51.3directcritical265.5.0
json-repair0.44.1directhigh10.60.1
cryptography44.0.3indirecthigh1150.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.31.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsPyPI.