# libp2p/rust-libp2p — health index 81/100 (Good)

> Inspection of the public repository libp2p/rust-libp2p by inspect.software. It holds a health index of 81 out of 100, placing it in the Good band. The index is a signal derived from publicly visible practice, not a warranty, a security audit, or an endorsement, and it is independent of payment.

- Repository: https://github.com/libp2p/rust-libp2p
- Report page: https://inspect.software/software/libp2p/rust-libp2p
- Full JSON report: https://inspect.software/api/repositories/libp2p/rust-libp2p/report
- Badge: https://raw.githubusercontent.com/inspect-software/badges/main/v1/l/libp2p/rust-libp2p.svg
- Inspected: 2026-07-21
- Methodology: metrics 1.13.0, report schema 0.25.0 (https://inspect.software/methodology.md)

## Category summary

| Category | Weight | Index | Band |
|---|---|---|---|
| Vitality | 22% | 80/100 | Good |
| Community & Adoption | 18% | 90/100 | Excellent |
| Sustainability & Governance | 24% | 84/100 | Good |
| Engineering Quality | 20% | 80/100 | Good |
| Security | 16% | 71/100 | Good |
| AI Readiness | not counted | 65/100 | Moderate |

## Repository facts

| Field | Value |
|---|---|
| Description | The Rust Implementation of the libp2p networking stack. |
| Homepage | https://libp2p.io |
| Primary language | Rust |
| License | MIT |
| Stars | 5,583 |
| Forks | 1,239 |
| Created | 2017-03-24 |
| Last push | 2026-07-21 |
| Latest release | libp2p-v0.56.0 |
| Commits (last year) | 193 |
| Bus factor | 3 |
| Topics | libp2p, networking, peer-to-peer, decentralization, rust |

## Published packages

| Registry | Package | Latest | Monthly downloads |
|---|---|---|---|
| crates | libp2p-core | 0.43.2 | 805,273 |
| crates | libp2p-swarm | 0.47.1 | 773,957 |
| crates | libp2p | 0.56.0 | 763,254 |
| crates | libp2p-identity | 0.2.14 | 988,861 |
| crates | libp2p-swarm-test | 0.6.0 | 37,328 |
| crates | libp2p-swarm-derive | 0.35.1 | 696,336 |

## Vitality — 80/100 (Good)

Is the project alive — is code being written and are releases shipping? Weight: 22% of the overall index.

### Development activity — 94/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Push recency | met | 36 / 36 | last push 0 days ago |
| Commit cadence | partial | 30.5 / 36 | 44/52 weeks with commits |
| Commit volume | met | 18 / 18 | 193 commits in the last year |
| OpenSSF Scorecard: Maintained | met | 10 / 10 | 30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10 |

### Release discipline — 60/100 (Moderate)

Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ships releases | met | 27 / 27 | 37 releases published |
| Release recency | partial | 7.2 / 36 | latest release 388 days ago |
| Release cadence | partial | 19.8 / 27 | a release every ~76.4 days |
| OpenSSF Scorecard: Signed-Releases | excluded | 0 / 10 | no releases found |

### Abandonment — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Project is still maintained | met | 100 / 100 | last human commit 0 days ago |

## Community & Adoption — 90/100 (Excellent)

Does the project have users, downloads, attention, and a welcoming setup for contributors? Weight: 18% of the overall index.

### Popularity & adoption — 96/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Stars | met | 60 / 60 | 5,583 stars |
| Forks | met | 25 / 25 | 1,239 forks |
| Watchers | partial | 11.1 / 15 | 99 watchers |

### Community health — 77/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 22.5 / 22.5 | — |
| License | met | 22.5 / 22.5 | recognized license (MIT) |
| CONTRIBUTING guide | met | 18 / 18 | — |
| Code of conduct | not met | 0 / 13.5 | — |
| Issue template | not met | 0 / 7.2 | — |
| PR template | met | 6.3 / 6.3 | — |

### Ecosystem adoption (downloads) — 100/100 (Excellent)

Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Monthly downloads | met | 80 / 80 | 4,065,009 downloads/month across crates |
| Registry dependents | excluded | 0 / 20 | not reported by this ecosystem |

## Sustainability & Governance — 84/100 (Good)

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep? Weight: 24% of the overall index.

### Maintainer resilience (bus factor) — 76/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Bus factor | partial | 36 / 54 | 3 contributor(s) cover half of all commits |
| Commit distribution | partial | 16.8 / 22.5 | top contributor authored 25% of commits |
| Contributor breadth | met | 13.5 / 13.5 | 99 contributors |
| OpenSSF Scorecard: Contributors | met | 10 / 10 | project has 42 contributing companies or organizations |

### Issue & PR responsiveness — 87/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Issue resolution | partial | 41 / 46.8 | 88% of issues closed |
| PR acceptance | partial | 31.4 / 38.2 | 3640/4441 decided PRs merged |
| OpenSSF Scorecard: Code-Review | met | 15 / 15 | all changesets reviewed |

### Ownership & stewardship — 78/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ownership backing | met | 30 / 30 | organization-owned |
| Verified domain | not met | 0 / 20 | — |
| Owner reach | partial | 22.5 / 25 | 1,326 followers of libp2p |
| Track record | met | 25 / 25 | 275 public repos, account ~10 yr old |

### Package maintenance — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Published & resolvable | met | 25 / 25 | 6 package(s) on crates |
| Publish recency | met | 35 / 35 | latest publish 55 days ago |
| Version history | met | 20 / 20 | 104 published versions |
| Not deprecated | met | 20 / 20 | active, not deprecated or yanked |

## Engineering Quality — 80/100 (Good)

Are baseline engineering and documentation practices in place? Weight: 20% of the overall index.

### Engineering practices — 74/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| CI workflows | met | 24 / 24 | 9 workflow(s) |
| Tests present | met | 24 / 24 | — |
| Linter config | not met | 0 / 16 | — |
| Pre-commit hooks | not met | 0 / 9.6 | — |
| .editorconfig | met | 6.4 / 6.4 | — |
| OpenSSF Scorecard: CI-Tests | met | 20 / 20 | 30 out of 30 merged PRs checked by a CI test -- score normalized to 10 |

### Documentation — 90/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 30 / 30 | — |
| Documentation directory | met | 25 / 25 | — |
| Documentation / homepage site | met | 15 / 15 | https://libp2p.io |
| Repository description | met | 10 / 10 | — |
| Topics | met | 10 / 10 | 5 topics |
| Wiki | not met | 0 / 10 | — |

## Security — 71/100 (Good)

Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure? Weight: 16% of the overall index.

### Security posture — 65/100 (Moderate)

Excluded from scoring (no data or not applicable): Branch-Protection, Signed-Releases. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Binary-Artifacts | met | 7.5 / 7.5 | no binaries found in the repo |
| Branch-Protection | excluded | 0 / 7.5 | internal 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 |
| CI-Tests | met | 2.5 / 2.5 | 30 out of 30 merged PRs checked by a CI test -- score normalized to 10 |
| CII-Best-Practices | not met | 0 / 2.5 | no effort to earn an OpenSSF best practices badge detected |
| Code-Review | met | 7.5 / 7.5 | all changesets reviewed |
| Contributors | met | 2.5 / 2.5 | project has 42 contributing companies or organizations |
| Dangerous-Workflow | met | 10 / 10 | no dangerous workflow patterns detected |
| Dependency-Update-Tool | met | 7.5 / 7.5 | update tool detected |
| Fuzzing | not met | 0 / 5 | project is not fuzzed |
| License | met | 2.5 / 2.5 | license file detected |
| Maintained | met | 7.5 / 7.5 | 30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10 |
| Packaging | met | 5 / 5 | packaging workflow detected |
| Pinned-Dependencies | partial | 1 / 5 | dependency not pinned by hash detected -- score normalized to 2 |
| SAST | not met | 0 / 5 | SAST tool is not run on all commits -- score normalized to 0 |
| Security-Policy | met | 5 / 5 | security policy file detected |
| Signed-Releases | excluded | 0 / 7.5 | no releases found |
| Token-Permissions | not met | 0 / 7.5 | detected GitHub workflow tokens with excessive permissions |
| Vulnerabilities | not met | 0 / 7.5 | 35 existing vulnerabilities detected |

### Dependency advisories — 93/100 (Excellent)

Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories. Remaining weights renormalized. Matched 740 resolved dependencies against OSV; 97 could not be assessed (no resolved version, an unsupported ecosystem, or beyond the reported package list). This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Direct dependencies free of known advisories | partial | 31.4 / 35 | 2 affected: rand 0.10.0 (low), rand 0.7.3 (low) |
| Indirect dependencies free of known advisories | excluded | 0 / 25 | transitive set not separable from development and test dependencies in this scope |
| No advisories left outstanding | partial | 38.1 / 40 | 2 advisory-carrying package(s) unaddressed past 90 days; oldest published 103 days ago |

### Malicious dependencies — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| No dependency reported as a malicious package | met | 100 / 100 | no dependency is reported as a malicious package |

### High-Risk Jurisdiction Exposure — 100/100 (Excellent)

Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Policy exposure multiplier | met | 100 / 100 | no confirmed policy-scope location match |

## AI Readiness — 65/100 (Moderate)

How well is the repo equipped to be developed and maintained with AI coding agents? An independent, experimental badge — weight 0.0, so it is surfaced on its own and does not affect the overall health score.

### Agent context & guidance — 40/100 (At risk)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Agent instructions | not met | 0 / 45 | no CLAUDE.md / AGENTS.md / editor rules |
| Machine-readable docs (llms.txt) | not met | 0 / 15 | — |
| Legible commit history | met | 40 / 40 | 48 of 48 human commits state their intent (structured subject or explanatory body) |

### Verify loop (build / test / typecheck) — 66/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| One-command bootstrap | partial | 12.6 / 18 | Cargo.toml, core/Cargo.toml, examples/autonat/Cargo.toml (toolchain convention, no task runner) |
| Automated tests | met | 22 / 22 | — |
| Lint / format config | not met | 0 / 11 | — |
| Static type checking | met | 11 / 11 | Rust (statically typed) |
| Reproducible environment | met | 10 / 10 | Dockerfile, lockfile |
| Demonstrated agent practice | not met | 0 / 10 | no agent-authored commits among the last 100 |
| Automated maintenance | met | 8 / 8 | 52 of the last 100 commits are automated dependency updates |
| OpenSSF Scorecard: Pinned-Dependencies | partial | 2 / 10 | dependency not pinned by hash detected -- score normalized to 2 |

### Code legibility for models — 99/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Type-checkable code | met | 45 / 45 | Rust (statically typed) |
| Manageable file sizes | partial | 54.2 / 55 | 6/416 source files over 60KB |

### Machine-readable interfaces — 80/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| API schema (OpenAPI/GraphQL/proto) | met | 40 / 40 | core/src/generated/envelope.proto, core/src/generated/peer_record.proto, identity/src/generated/keys.proto, misc/prost-codec/src/generated/test.proto, misc/webrtc-utils/src/generated/message.proto, protocols/autonat/src/v1/generated/structs.proto, protocols/autonat/src/v2/generated/structs.proto, protocols/dcutr/src/generated/message.proto, protocols/floodsub/src/generated/rpc.proto, protocols/gossipsub/src/generated/compat.proto, protocols/gossipsub/src/generated/rpc.proto, protocols/identify/src/generated/structs.proto, protocols/kad/src/generated/dht.proto, protocols/relay/src/generated/message.proto, protocols/rendezvous/src/generated/rpc.proto, transports/noise/src/generated/payload.proto, transports/plaintext/src/generated/structs.proto |
| MCP server | not met | 0 / 20 | — |
| Runnable examples | met | 40 / 40 | examples |

## Collection warnings

- Could not fetch crates package 'interop-tests' from its registry
- Could not fetch crates package 'hole-punching-tests' from its registry

## What this report is

inspect.software measures public repositories against a single published, versioned methodology and reports the result as a 1–100 health index. Findings are signals derived from what is visible in public repository data — they are not a security audit, a warranty, or an endorsement, and no result depends on payment.

- Methodology, formulas and weights: https://inspect.software/methodology.md
- What a result does and does not claim: https://inspect.software/wiki/signals-not-warranties.md
- Rating bands: https://inspect.software/wiki/scoring-bands.md
- Corrections: https://inspect.software/contact.md
- Index of all documents: https://inspect.software/llms.txt
