# otter-sec/anchor — health index 84/100 (Good)

> Inspection of the public repository otter-sec/anchor by inspect.software. It holds a health index of 84 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/otter-sec/anchor
- Report page: https://inspect.software/software/otter-sec/anchor
- Full JSON report: https://inspect.software/api/repositories/otter-sec/anchor/report
- Badge: https://raw.githubusercontent.com/inspect-software/badges/main/v1/o/otter-sec/anchor.svg
- Inspected: 2026-07-16
- Methodology: metrics 1.13.0, report schema 0.11.0 (https://inspect.software/methodology.md)

## Category summary

| Category | Weight | Index | Band |
|---|---|---|---|
| Vitality | 22% | 91/100 | Excellent |
| Community & Adoption | 18% | 97/100 | Excellent |
| Sustainability & Governance | 24% | 82/100 | Good |
| Engineering Quality | 20% | 81/100 | Good |
| Security | 16% | 68/100 | Moderate |
| AI Readiness | not counted | 55/100 | Moderate |

## Repository facts

| Field | Value |
|---|---|
| Description | ⚓ Solana Program Framework |
| Homepage | https://anchor-lang.com |
| Primary language | Rust |
| License | Apache-2.0 |
| Stars | 5,103 |
| Forks | 1,949 |
| Created | 2021-01-01 |
| Last push | 2026-07-14 |
| Latest release | v1.0.3 |
| Commits (last year) | 375 |
| Bus factor | 3 |
| Topics | solana, rust, blockchain, smart-contracts |

## Published packages

| Registry | Package | Latest | Monthly downloads |
|---|---|---|---|
| crates | avm | 1.0.1 | 381 |
| crates | anchor-cli | 1.1.2 | 4,603 |
| crates | anchor-client | 1.1.2 | 51,246 |
| crates | anchor-lang-idl | 0.1.4 | 277,074 |
| crates | anchor-lang | 1.1.2 | 371,941 |
| crates | anchor-spl | 1.1.2 | 225,311 |

## Vitality — 91/100 (Excellent)

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

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

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

### Release discipline — 83/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ships releases | met | 27 / 27 | 58 releases published |
| Release recency | met | 36 / 36 | latest release 19 days ago |
| Release cadence | partial | 19.8 / 27 | a release every ~48.1 days |
| OpenSSF Scorecard: Signed-Releases | not met | 0 / 10 | Project has not signed or included provenance with any releases. |

### Abandonment — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Project is still maintained | met | 100 / 100 | maintenance record not established from the collected data |

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

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

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Stars | met | 60 / 60 | 5,103 stars |
| Forks | met | 25 / 25 | 1,949 forks |
| Watchers | partial | 9.7 / 15 | 56 watchers |

### Community health — 100/100 (Excellent)

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

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

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Monthly downloads | partial | 77.5 / 80 | 653,101 downloads/month across crates |
| Registry dependents | excluded | 0 / 20 | not reported by this ecosystem |

## Sustainability & Governance — 82/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.9 / 22.5 | top contributor authored 25% of commits |
| Contributor breadth | met | 13.5 / 13.5 | 100 contributors |
| OpenSSF Scorecard: Contributors | met | 10 / 10 | project has 30 contributing companies or organizations |

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Issue resolution | partial | 45.2 / 46.8 | 97% of issues closed |
| PR acceptance | partial | 28.2 / 38.2 | 1936/2630 decided PRs merged |
| OpenSSF Scorecard: Code-Review | met | 15 / 15 | all changesets reviewed |

### Ownership & stewardship — 69/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ownership backing | met | 30 / 30 | organization-owned |
| Verified domain | not met | 0 / 20 | — |
| Owner reach | partial | 17.6 / 25 | 281 followers of otter-sec |
| Track record | partial | 21.8 / 25 | 58 public repos, account ~4 yr old |

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

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

## Engineering Quality — 81/100 (Good)

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

### Engineering practices — 68/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| CI workflows | met | 24 / 24 | 14 workflow(s) |
| Tests present | met | 24 / 24 | — |
| Linter config | not met | 0 / 16 | — |
| Pre-commit hooks | not met | 0 / 9.6 | — |
| .editorconfig | not met | 0 / 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 — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 30 / 30 | — |
| Documentation directory | met | 25 / 25 | — |
| Documentation / homepage site | met | 15 / 15 | https://anchor-lang.com |
| Repository description | met | 10 / 10 | — |
| Topics | met | 10 / 10 | 4 topics |
| Wiki | met | 10 / 10 | — |

## Security — 68/100 (Moderate)

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 — 68/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Binary-Artifacts | partial | 6 / 7.5 | binaries present in source code |
| Branch-Protection | partial | 4.5 / 7.5 | branch protection is not maximal on development and all release branches |
| 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 30 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 22 issue activity found in the last 90 days -- score normalized to 10 |
| Packaging | met | 5 / 5 | packaging workflow detected |
| Pinned-Dependencies | partial | 4.5 / 5 | dependency not pinned by hash detected -- score normalized to 9 |
| 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 | not met | 0 / 7.5 | Project has not signed or included provenance with any releases. |
| Token-Permissions | partial | 6 / 7.5 | detected GitHub workflow tokens with excessive permissions |
| Vulnerabilities | not met | 0 / 7.5 | 48 existing vulnerabilities detected |

### 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 — 55/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 — 1/100 (Critical)

Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.

| 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 | excluded | 0 / 40 | no data |

### Verify loop (build / test / typecheck) — 85/100 (Excellent)

Excluded from scoring (no data or not applicable): Demonstrated agent practice, Automated maintenance. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| One-command bootstrap | met | 18 / 18 | Makefile, docker/Makefile |
| Automated tests | met | 22 / 22 | — |
| Lint / format config | not met | 0 / 11 | — |
| Static type checking | met | 11 / 11 | docs-v2/tsconfig.json, docs/tsconfig.json, examples/tutorial/basic-5/tsconfig.json, tests/account-generation-test/tsconfig.json, tests/accountloader-realloc/tsconfig.json, tests/anchor-cli-account/tsconfig.json, tests/anchor-cli-idl/tsconfig.json, tests/anchor-cli-legacy-idl/tsconfig.json, tests/auction-house/tsconfig.json, tests/bench/tsconfig.json, tests/bpf-upgradeable-state/tsconfig.json, tests/cpi-returns/tsconfig.json, tests/custom-coder/tsconfig.json, tests/custom-discriminator/tsconfig.json, tests/custom-program/tsconfig.json, tests/declare-id/tsconfig.json, tests/declare-program/tsconfig.json, tests/duplicate-mutable-accounts/tsconfig.json, tests/errors/tsconfig.json, tests/escrow/tsconfig.json, tests/events/tsconfig.json, tests/floats/tsconfig.json, tests/idl/tsconfig.json, tests/interface-account/tsconfig.json, tests/lazy-account/tsconfig.json, tests/misc/tsconfig.json, tests/multiple-scripts/tsconfig.json, tests/multiple-suites-run-single/tsconfig.json, tests/multiple-suites/tsconfig.json, tests/optional/tsconfig.json, tests/pda-derivation/tsconfig.json, tests/pyth/tsconfig.json, tests/realloc/tsconfig.json, tests/relations-derivation/tsconfig.json, tests/safety-checks/tsconfig.json, tests/spl/metadata/tsconfig.json, tests/spl/token-extensions/tsconfig.json, tests/spl/token-wrapper/tsconfig.json, tests/spl/transfer-hook/tsconfig.json, tests/typescript/tsconfig.json, tests/validator-clone/tsconfig.json, ts/packages/anchor-errors/tsconfig.json, ts/packages/anchor/tsconfig.json, ts/packages/borsh/tsconfig.json, ts/packages/spl-associated-token-account/tsconfig.json, ts/packages/spl-binary-option/tsconfig.json, ts/packages/spl-binary-oracle-pair/tsconfig.json, ts/packages/spl-feature-proposal/tsconfig.json, ts/packages/spl-governance/tsconfig.json, ts/packages/spl-memo/tsconfig.json, ts/packages/spl-name-service/tsconfig.json, ts/packages/spl-record/tsconfig.json, ts/packages/spl-stake-pool/tsconfig.json, ts/packages/spl-stateless-asks/tsconfig.json, ts/packages/spl-token-lending/tsconfig.json, ts/packages/spl-token-swap/tsconfig.json, ts/packages/spl-token/tsconfig.json, ts/tests/tsconfig.json |
| Reproducible environment | met | 10 / 10 | Dockerfile, lockfile |
| Demonstrated agent practice | excluded | 0 / 10 | no data |
| Automated maintenance | excluded | 0 / 8 | no data |
| OpenSSF Scorecard: Pinned-Dependencies | partial | 9 / 10 | dependency not pinned by hash detected -- score normalized to 9 |

### 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.3 / 55 | 10/747 source files over 60KB |

### Machine-readable interfaces — 40/100 (At risk)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| API schema (OpenAPI/GraphQL/proto) | not met | 0 / 40 | — |
| MCP server | not met | 0 / 20 | — |
| Runnable examples | met | 40 / 40 | example, examples |

## Collection warnings

- crates package 'avm' points at a different repository (https://github.com/schultyy/avm); excluded from ecosystem scoring
- crates package 'anchor-lang-idl' points at a different repository (https://github.com/solana-foundation/anchor); excluded from ecosystem scoring
- Resolved dependency list truncated to 2000 of 2287 packages (counts remain complete)

## 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
