Public record
Software health reportschema 0.11.0 · metrics 2.10.0 · 2026-07-17 00:02 UTC

messense / nh3

Python binding to Ammonia HTML sanitizer Rust crate

Rust · PythonMIT★ 385 stars⑂ 17 forkssince Aug 2021View on GitHub ↗

messense/nh3 holds a health index of 80 out of 100, placing it in the Excellent band. It scores highest on Engineering Quality (81/100) and lowest on AI Readiness (52/100). It was last updated 10 days ago. A single contributor accounts for most of its recent work.

80
overall / 100
Excellent

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.

80
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 68 is calibrated to 80 on the published index scale (record calibration 2026-08-02).

Ownership

messensePersonal account
2,186 followers123 public repossince Mar 2012

This repository is owned by a personal account. A single-owner project carries more continuity risk than an organization-backed one.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
PyPInh30.3.6-3324 days ago

Metrics by category

Vitality

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

76Good · 21% of overall
How it's scored
28.8/36Push recencylast push 10 days ago
12.5/36Commit cadence18/52 weeks with commits
15.2/18Commit volume48 commits in the last year
10/10OpenSSF Scorecard: Maintained14 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year48
human_commit_share
days_since_last_push10
active_weeks_last_year18
How it's scored
27/27Ships releases14 releases published
36/36Release recencylatest release 24 days ago
19.8/27Release cadencea release every ~61.3 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count14
latest_release_tagv0.3.6
releases_from_tagsno
days_since_latest_release24
mean_days_between_releases61.3
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?

53Moderate · 17% of overall
How it's scored
41.9/60Stars385 stars
10/25Forks17 forks
2.7/15Watchers4 watchers
Inputs used
forks17
stars385
watchers4
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (MIT)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges
has_contributingno
has_issue_templateno
has_code_of_conductno
readme_badge_services
has_pull_request_templateno

Sustainability & Governance

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

73Good · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
8.9/22.5Commit distributiontop contributor authored 60% of commits
13.5/13.5Contributor breadth16 contributors
10/10OpenSSF Scorecard: Contributorsproject has 8 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled16
top_contributor_share0.603
How it's scored
38.5/42Issue resolution92% of issues closed
28/30PR acceptance82/88 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
10.5/15OpenSSF Scorecard: Code-ReviewFound 14/20 approved changesets -- score normalized to 7
Inputs used
merged_prs82
open_issues4
closed_issues44
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio0.917
closed_unmerged_prs6
first_time_authors_30d
first_time_prs_merged_30d
first_time_prs_decided_30d
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
10/30Ownership backingpersonal (user) account
0/20Verified domainnot applicable to user accounts
24/25Owner reach2,186 followers of messense
25/25Track record123 public repos, account ~14 yr old
Inputs used
followers2,186
owner_typeUser
is_verified
owner_loginmessense
public_repos123
account_age_days5,231
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable1 package(s) on pypi
35/35Publish recencylatest publish 24 days ago
20/20Version history33 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesnh3
ecosystemspypi
any_deprecatedno
min_days_since_publish24

Engineering Quality

Are baseline engineering and documentation practices in place?

81Excellent · 19% of overall
How it's scored
24/24CI workflows1 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests24 out of 24 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configno
has_precommit_configno

Documentation

100Exceptional
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage sitehttps://nh3.readthedocs.io
10/10Repository description
10/10Topics2 topics
10/10Wiki
Inputs used
topicsbleach, sanitize-html
has_wikiyes
homepagehttps://nh3.readthedocs.io
docs_sitehttps://nh3.readthedocs.io
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

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

57Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
2.5/2.5CI-Tests24 out of 24 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
5.2/7.5Code-ReviewFound 14/20 approved changesets -- score normalized to 7
2.5/2.5Contributorsproject has 8 contributing companies or organizations
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
7.5/7.5Maintained14 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
0/5Packagingno data
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not 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.7
Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized.

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.

52Moderate · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
0/40Legible commit historyno data
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.
How it's scored
18/18One-command bootstrapdocs/Makefile
22/22Automated tests
0/11Lint / format config
11/11Static type checkingRust (statically typed)
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno data
5/8Automated maintenancedependency automation configured, none observed in the sampled commits
0/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilesCargo.lock
has_dockerfileno
typed_languageyes
bootstrap_filesdocs/Makefile
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share
toolchain_manifests
dependency_bot_commit_share0
Excluded from scoring (no data or not applicable): Demonstrated agent practice. Remaining weights renormalized.
How it's scored
45/45Type-checkable codeRust (statically typed)
55/55Manageable file sizes0/4 source files over 60KB
Inputs used
primary_languageRust
largest_source_bytes37,846
source_files_sampled4
oversized_source_files0

Key facts

385GitHub stars
16contributors
48commits, last 12 months
10days since last push
14releases
1bus factor
4open issues
crates.io, PyPIpackage ecosystems

Data collection warnings

  • Could not fetch crates package 'nh3' from its registry

More detail

OpenSSF Scorecard 5.7 / 10
5.7aggregate

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-07-17 00:02 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
10CI-Tests24 out of 24 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
7Code-ReviewFound 14/20 approved changesets -- score normalized to 7
10Contributorsproject has 8 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained14 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 3
RegistryPackageVersion constraintManifest
crates.ioammonia4.1.2Cargo.toml
crates.iopyo30.29.0Cargo.toml
crates.ioouroboros0.18Cargo.toml
All dependencies 84

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

RegistryPackageVersionRelation
crates.ioammonia4.1.3direct
crates.ioouroboros0.18.5direct
crates.iopyo30.29.0direct
crates.ioaliasable0.1.3indirect
crates.iobitflags2.13.0indirect
crates.iocfg-if1.0.4indirect
crates.iocssparser0.37.0indirect
crates.iodisplaydoc0.2.6indirect
crates.iodtoa1.0.11indirect
crates.iodtoa-short0.3.5indirect
crates.iofastrand2.4.1indirect
crates.ioform_urlencoded1.2.2indirect
crates.ioheck0.4.1indirect
crates.ioheck0.5.0indirect
crates.iohtml5ever0.39.0indirect
crates.ioicu_collections2.2.0indirect
crates.ioicu_locale_core2.2.0indirect
crates.ioicu_normalizer2.2.0indirect
crates.ioicu_normalizer_data2.2.0indirect
crates.ioicu_properties2.2.0indirect
crates.ioicu_properties_data2.2.0indirect
crates.ioicu_provider2.2.0indirect
crates.ioidna1.1.0indirect
crates.ioidna_adapter1.2.2indirect
crates.ioitoa1.0.18indirect
crates.iolibc0.2.186indirect
crates.iolitemap0.8.2indirect
crates.iolock_api0.4.14indirect
crates.iolog0.4.33indirect
crates.iomaplit1.0.2indirect
crates.iomarkup5ever0.39.0indirect
crates.ionew_debug_unreachable1.0.6indirect
crates.ioonce_cell1.21.4indirect
crates.ioouroboros_macro0.18.5indirect
crates.ioparking_lot0.12.5indirect
crates.ioparking_lot_core0.9.12indirect
crates.iopercent-encoding2.3.2indirect
crates.iophf0.13.1indirect
crates.iophf_codegen0.13.1indirect
crates.iophf_generator0.13.1indirect
crates.iophf_shared0.13.1indirect
crates.ioportable-atomic1.13.1indirect
crates.iopotential_utf0.1.5indirect
crates.ioprecomputed-hash0.1.1indirect
crates.ioproc-macro21.0.106indirect
crates.ioproc-macro2-diagnostics0.10.1indirect
crates.iopyo3-build-config0.29.0indirect
crates.iopyo3-ffi0.29.0indirect
crates.iopyo3-macros0.29.0indirect
crates.iopyo3-macros-backend0.29.0indirect
crates.ioquote1.0.45indirect
crates.ioredox_syscall0.5.18indirect
crates.ioscopeguard1.2.0indirect
crates.ioserde1.0.228indirect
crates.ioserde_core1.0.228indirect
crates.ioserde_derive1.0.228indirect
crates.iosiphasher1.0.3indirect
crates.iosmallvec1.15.2indirect
crates.iostable_deref_trait1.2.1indirect
crates.iostatic_assertions1.1.0indirect
crates.iostring_cache0.9.0indirect
crates.iostring_cache_codegen0.6.1indirect
crates.iosyn2.0.118indirect
crates.iosynstructure0.13.2indirect
crates.iotarget-lexicon0.13.5indirect
crates.iotendril0.5.1indirect
crates.iotinystr0.8.3indirect
crates.iounicode-ident1.0.24indirect
crates.iourl2.5.8indirect
crates.ioutf8_iter1.0.4indirect
crates.ioversion_check0.9.5indirect
crates.ioweb_atoms0.2.5indirect
crates.iowindows-link0.2.1indirect
crates.iowriteable0.6.3indirect
crates.ioyansi1.0.1indirect
crates.ioyoke0.8.3indirect
crates.ioyoke-derive0.8.2indirect
crates.iozerofrom0.1.8indirect
crates.iozerofrom-derive0.1.7indirect
crates.iozerotrie0.2.4indirect
crates.iozerovec0.11.6indirect
crates.iozerovec-derive0.11.3indirect
PyPIshibuyaindirect
PyPIsphinxindirect
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.11.0 — full methodology · metrics wiki.

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