Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-09-09 22:50 UTC

near / near-sdk-rs

Rust library for writing NEAR smart contracts

RustApache-2.0★ 513 stars⑂ 278 forkssince Jun 2019View on GitHub ↗

near/near-sdk-rs holds a health index of 94 out of 100, placing it in the Exceptional band. It scores highest on Vitality (88/100) and lowest on Security (61/100). It was last updated 13 days ago. 3 contributors account for most of its recent work.

94
overall / 100
Exceptional

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.

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

Ownership

NEAROrganization · verified domain
2,530 followers397 public repossince May 2014

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
crates.ionear-sdk5.29.045,3498658 days agowasm
crates.ionear-sys0.2.1338,3031658 days agowasm
crates.ionear-digest0.1.126258 days agowasm
crates.ionear-sdk-env0.1.517,223658 days agowasm
crates.ionear-sdk-core4.2.222,9842858 days agowasm
crates.ionear-sdk-macros5.29.045,3078658 days agowasm
crates.ionear-crypto-hash0.2.020,418297 days agowasm
crates.ionear-global-contracts0.2.520,650858 days agowasm

Metrics by category

Vitality

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

88Excellent · 21% of overall
How it's scored
28.8/36Push recency — last push 13 days ago
22.8/36Commit cadence — 33/52 weeks with commits
18/18Commit volume — 136 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year136
human_commit_share1
days_since_last_push13
active_weeks_last_year33

Release discipline

100Exceptional
How it's scored
27/27Ships releases — 100 releases published
36/36Release recency — latest release 58 days ago
27/27Release cadence — a release every ~0.6 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count100
latest_release_tagnear-contract-standards-v5.29.0
releases_from_tagsno
days_since_latest_release58
mean_days_between_releases0.6
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?

80Excellent · 17% of overall
How it's scored
43.9/60Stars — 513 stars
20.4/25Forks — 278 forks
6.2/15Watchers — 14 watchers
Inputs used
forks278
stars513
watchers14
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

Community health

85Excellent
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (Apache-2.0)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges6
has_contributingyes
has_issue_templateno
has_code_of_conductyes
readme_badge_servicesshields.io
has_pull_request_templateno
How it's scored
71/80Monthly downloads — 210,260 downloads/month across crates
0/20Registry dependents — not reported by this ecosystem
Inputs used
packagesnear-sdk, near-sys, near-digest, near-sdk-env, near-sdk-core, near-sdk-macros, near-crypto-hash, near-global-contracts
dependents—
ecosystemscrates
total_downloads3,203,345
monthly_downloads210,260
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?

88Excellent · 23% of overall
How it's scored
36/54Bus factor — 3 contributor(s) cover half of all commits
14.8/22.5Commit distribution — top contributor authored 34% of commits
13.5/13.5Contributor breadth — 99 contributors
10/10OpenSSF Scorecard: Contributors — project has 34 contributing companies or organizations
Inputs used
bus_factor3
contributors_sampled99
top_contributor_share0.344
How it's scored
36/42Issue resolution — 86% of issues closed
23.8/30PR acceptance — 780/984 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
13.5/15OpenSSF Scorecard: Code-Review — Found 28/30 approved changesets -- score normalized to 9
Inputs used
merged_prs780
open_issues81
closed_issues483
prs_merged_7d0
prs_decided_7d0
prs_merged_30d2
prs_decided_30d2
issue_closed_ratio0.856
closed_unmerged_prs204
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 backing — organization-owned
20/20Verified domain
24.5/25Owner reach — 2,530 followers of near
25/25Track record — 397 public repos, account ~12 yr old
Inputs used
followers2,530
owner_typeOrganization
is_verifiedyes
owner_loginnear
public_repos397
account_age_days4,498

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 8 package(s) on crates
35/35Publish recency — latest publish 58 days ago
20/20Version history — 86 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagesnear-sdk, near-sys, near-digest, near-sdk-env, near-sdk-core, near-sdk-macros, near-crypto-hash, near-global-contracts
ecosystemscrates
any_deprecatedno
min_days_since_publish58

Engineering Quality

Are baseline engineering and documentation practices in place?

80Excellent · 19% of overall
How it's scored
24/24CI workflows — 8 workflow(s)
24/24Tests present
16/16Linter config — Cargo.toml ([workspace.lints]), near-crypto-hash/Cargo.toml ([lints]), near-digest/Cargo.toml ([lints]), near-global-contracts/Cargo.toml ([lints]), near-sdk-core/Cargo.toml ([lints]), near-sdk-env/Cargo.toml ([lints]), near-sdk/Cargo.toml ([lints]), rustfmt.toml
0/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://docs.near.org/build/smart-contracts/what-is
10/10Repository description
10/10Topics — 5 topics
10/10Wiki
Inputs used
topicsblockchain, nearprotocol, rust, sdk, wasm
has_wikiyes
homepagehttps://docs.near.org/build/smart-contracts/what-is
docs_sitehttps://docs.near.org/build/smart-contracts/what-is
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

61Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
2.5/2.5CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
6.8/7.5Code-Review — Found 28/30 approved changesets -- score normalized to 9
2.5/2.5Contributors — project has 34 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — no data
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
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_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate6.1
Excluded from scoring (no data or not applicable): Branch-Protection, 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.

77Good · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
15/15Machine-readable docs (llms.txt) — llms.txt served by the project website (https://docs.near.org/llms.txt)
40/40Legible commit history — 100 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtyes
llms_txt_urlhttps://docs.near.org/llms.txt
legible_history_share1
agent_instruction_files—
agent_instruction_max_bytes—
How it's scored
12.6/18One-command bootstrap — Cargo.toml, examples/adder/Cargo.toml, examples/callback-results/Cargo.toml (toolchain convention, no task runner)
22/22Automated tests
11/11Lint / format config — Cargo.toml ([workspace.lints]), near-crypto-hash/Cargo.toml ([lints]), near-digest/Cargo.toml ([lints]), near-global-contracts/Cargo.toml ([lints]), near-sdk-core/Cargo.toml ([lints]), near-sdk-env/Cargo.toml ([lints]), near-sdk/Cargo.toml ([lints]), rustfmt.toml
11/11Static type checking — Rust (statically typed)
10/10Reproducible environment — Dockerfile
10/10Demonstrated agent practice — 9 of the last 100 commits agent-authored or agent-credited
0/8Automated maintenance — no automated dependency updates observed
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_languageyes
bootstrap_files—
has_devcontainerno
has_linter_configyes
typecheck_configs—
agent_commit_share0.09
toolchain_manifestsCargo.toml, examples/adder/Cargo.toml, examples/callback-results/Cargo.toml, examples/cross-contract-calls/Cargo.toml, examples/cross-contract-calls/high-level/Cargo.toml, examples/cross-contract-calls/low-level/Cargo.toml, examples/factory-contract-global/Cargo.toml, examples/factory-contract/Cargo.toml, examples/factory-contract/high-level/Cargo.toml, examples/factory-contract/low-level/Cargo.toml, examples/fungible-token/Cargo.toml, examples/fungible-token/ft/Cargo.toml, examples/fungible-token/test-contract-defi/Cargo.toml, examples/lockable-fungible-token/Cargo.toml, examples/mission-control/Cargo.toml, examples/mpc-contract/Cargo.toml, examples/non-fungible-token/Cargo.toml, examples/non-fungible-token/nft/Cargo.toml, examples/non-fungible-token/test-approval-receiver/Cargo.toml, examples/non-fungible-token/test-token-receiver/Cargo.toml, examples/status-message/Cargo.toml, examples/test-contract/Cargo.toml, examples/versioned/Cargo.toml, near-contract-standards/Cargo.toml, near-crypto-hash/Cargo.toml, near-digest/Cargo.toml, near-global-contracts/Cargo.toml, near-sdk-core/Cargo.toml, near-sdk-env/Cargo.toml, near-sdk-macros/Cargo.toml, near-sdk/Cargo.toml, near-sdk/tests/test-contracts/deny_unknown_arguments/Cargo.toml, near-sdk/tests/test-contracts/lazy/Cargo.toml, near-sdk/tests/test-contracts/store/Cargo.toml, near-sys/Cargo.toml
dependency_bot_commit_share0
How it's scored
45/45Type-checkable code — Rust (statically typed)
53.9/55Manageable file sizes — 5/242 source files over 60KB
Inputs used
primary_languageRust
largest_source_bytes128,665
source_files_sampled242
oversized_source_files5
How it's scored
0/40API schema (OpenAPI/GraphQL/proto) — not applicable to this kind of software
0/20MCP server — not applicable to this kind of software
40/40Runnable examples — examples
Inputs used
example_dirsexamples
has_mcp_signalno
api_schema_files—
interfaces_expected_of—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

513GitHub stars
99contributors
136commits, last 12 months
13days since last push
100releases
3bus factor
81open issues
crates.iopackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • No resolved dependencies carried a version and a supported ecosystem

More detail

Star and fork history 0 ★ / 278 ⇿
0Stars
278Forks
71Releases

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.

05010015020025030027072019-082023-012026-06
Major 0Minor 0Patch 0

Each point covers 7 days.

OpenSSF Scorecard 6.1 / 10
6.1aggregate

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-09 22:50 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
9Code-ReviewFound 28/30 approved changesets -- score normalized to 9
10Contributorsproject has 34 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 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
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 59
RegistryPackageVersion constraintManifest
crates.ionear-sdk~5.29.0near-contract-standards/Cargo.toml
crates.iodigest0.11.3near-digest/Cargo.toml
crates.iozeroize1.9.0near-digest/Cargo.toml
crates.ionear-account-id2.3.0near-global-contracts/Cargo.toml
crates.ionear-crypto-hash~0.2.0near-global-contracts/Cargo.toml
crates.iohex0.4near-global-contracts/Cargo.toml
crates.iocfg_eval0.1near-global-contracts/Cargo.toml
crates.ioserde1near-global-contracts/Cargo.toml
crates.ioserde_with3.20near-global-contracts/Cargo.toml
crates.ioborsh1.0.0near-global-contracts/Cargo.toml
crates.ioarbitrary1.4near-global-contracts/Cargo.toml
crates.ionear-sdk-env~0.1.5near-global-contracts/Cargo.toml
crates.ionear-primitives-core0.37.0near-global-contracts/Cargo.toml
crates.ioschemars-v0_80.8.22near-global-contracts/Cargo.toml
crates.ioserde1near-sdk-core/Cargo.toml
crates.ioserde_json1near-sdk-core/Cargo.toml
crates.ioserde_with3near-sdk-core/Cargo.toml
crates.ioborsh1.0.0near-sdk-core/Cargo.toml
crates.iobase640.22near-sdk-core/Cargo.toml
crates.iohex0.4near-sdk-core/Cargo.toml
crates.iobs580.5near-sdk-core/Cargo.toml
crates.ioarbitrary1.4near-sdk-core/Cargo.toml
crates.ionear-account-id2.3.0near-sdk-core/Cargo.toml
crates.ionear-gas0.3near-sdk-core/Cargo.toml
crates.ionear-token0.3near-sdk-core/Cargo.toml
crates.ionear-crypto-hash~0.2.0near-sdk-core/Cargo.toml
crates.ionear-sdk-env~0.1.5near-sdk-core/Cargo.toml
crates.ioschemars-v0_80.8.22near-sdk-core/Cargo.toml
crates.ionear-primitives-core0.37.0near-sdk-core/Cargo.toml
crates.iounicode-segmentation1near-sdk-core/Cargo.toml
crates.ionear-parameters0.37.0near-sdk-core/Cargo.toml
crates.ionear-sys~0.2.13near-sdk-env/Cargo.toml
crates.ioproc-macro21near-sdk-macros/Cargo.toml
crates.iosyn2near-sdk-macros/Cargo.toml
crates.iostrum0.26near-sdk-macros/Cargo.toml
crates.iostrum_macros0.26near-sdk-macros/Cargo.toml
crates.ioquote1.0near-sdk-macros/Cargo.toml
crates.ioInflector0.11.4near-sdk-macros/Cargo.toml
crates.iodarling0.20.3near-sdk-macros/Cargo.toml
crates.ioserde1near-sdk-macros/Cargo.toml
crates.ioserde_json1near-sdk-macros/Cargo.toml
crates.ioserde1near-sdk/Cargo.toml
crates.ioserde_json1near-sdk/Cargo.toml
crates.ioserde_with3near-sdk/Cargo.toml
crates.ionear-sdk-macros~5.29.0near-sdk/Cargo.toml
crates.ionear-sys0.2.13near-sdk/Cargo.toml
crates.ionear-sdk-env~0.1.5near-sdk/Cargo.toml
crates.ionear-sdk-core~4.2.2near-sdk/Cargo.toml
crates.ionear-global-contracts~0.2.5near-sdk/Cargo.toml
crates.iobase640.22near-sdk/Cargo.toml
crates.ioborsh1.0.0near-sdk/Cargo.toml
crates.iobs580.5near-sdk/Cargo.toml
crates.iohex0.4near-sdk/Cargo.toml
crates.ioonce_cell1.17near-sdk/Cargo.toml
crates.ionear-account-id2.3.0near-sdk/Cargo.toml
crates.ionear-gas0.3near-sdk/Cargo.toml
crates.ionear-token0.3near-sdk/Cargo.toml
crates.ioarbitrary1.4near-sdk/Cargo.toml
crates.ionear-digest0.1.1near-sdk/Cargo.toml
All dependencies 68

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

RegistryPackageVersionRelation
crates.ioarbitrary—direct
crates.iobase64—direct
crates.ioborsh—direct
crates.iobs58—direct
crates.iocfg_eval—direct
crates.iodarling—direct
crates.iodigest—direct
crates.iohex—direct
crates.ioInflector—direct
crates.ionear-account-id—direct
crates.ionear-crypto-hash—direct
crates.ionear-digest—direct
crates.ionear-gas—direct
crates.ionear-global-contracts—direct
crates.ionear-parameters—direct
crates.ionear-primitives-core—direct
crates.ionear-sdk—direct
crates.ionear-sdk-core—direct
crates.ionear-sdk-env—direct
crates.ionear-sdk-macros—direct
crates.ionear-sys—direct
crates.ionear-token—direct
crates.ioonce_cell—direct
crates.ioproc-macro2—direct
crates.ioquote—direct
crates.ioserde—direct
crates.ioserde_json—direct
crates.ioserde_with—direct
crates.iostrum—direct
crates.iostrum_macros—direct
crates.iosyn—direct
crates.iounicode-segmentation—direct
crates.iozeroize—direct
crates.ioanyhow—indirect
crates.iocargo-near-build—indirect
crates.ioderive_arbitrary—indirect
crates.iodigest-io—indirect
crates.ioduct—indirect
crates.ioed25519-dalek—indirect
crates.iogetrandom—indirect
crates.iohex-literal—indirect
crates.ioimpl-tools—indirect
crates.ioinsta—indirect
crates.ionear-abi—indirect
crates.ionear-crypto—indirect
crates.ionear-primitives—indirect
crates.ionear-rng—indirect
crates.ionear-vm-runner—indirect
crates.ionear-workspaces—indirect
crates.ioopenssl—indirect
crates.iop256—indirect
crates.ioprettyplease—indirect
crates.ioquickcheck—indirect
crates.iorand—indirect
crates.iorand_chacha—indirect
crates.iorand_xorshift—indirect
crates.ioripemd—indirect
crates.iorstest—indirect
crates.iorustversion—indirect
crates.ioschemars—indirect
crates.iosha2—indirect
crates.iosha3—indirect
crates.iosymbolic-debuginfo—indirect
crates.iotest-case—indirect
crates.iotokio—indirect
crates.iotrybuild—indirect
crates.iowee_alloc—indirect
crates.iozstd—indirect
Dependency advisories not assessed

Advisory matching could not run for this report: No resolved dependencies carried a version and a supported ecosystem

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 — crates.io.