# TanStack/db — health index 40/100 (At risk)

> Inspection of the public repository TanStack/db by inspect.software. It holds a health index of 40 out of 100, placing it in the At risk 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/TanStack/db
- Report page: https://inspect.software/software/TanStack/db
- Full JSON report: https://inspect.software/api/repositories/TanStack/db/report
- Badge: https://raw.githubusercontent.com/inspect-software/badges/main/v1/t/TanStack/db.svg
- Inspected: 2026-07-21
- Methodology: metrics 1.13.0, report schema 0.18.0 (https://inspect.software/methodology.md)

## Category summary

| Category | Weight | Index | Band |
|---|---|---|---|
| Vitality | 22% | 98/100 | Excellent |
| Community & Adoption | 18% | 86/100 | Excellent |
| Sustainability & Governance | 24% | 78/100 | Good |
| Engineering Quality | 20% | 84/100 | Good |
| Security | 16% | 44/100 | At risk |
| AI Readiness | not counted | 74/100 | Good |

High-Risk Jurisdiction Policy applies a 50% multiplier to weighted overall health and gives it an At risk ceiling of 49.

## Repository facts

| Field | Value |
|---|---|
| Description | The reactive client store for your API. |
| Homepage | https://tanstack.com/db |
| Primary language | TypeScript |
| License | MIT |
| Stars | 3,825 |
| Forks | 247 |
| Created | 2025-03-11 |
| Last push | 2026-07-20 |
| Latest release | @tanstack/electron-db-sqlite-persistence@0.1.20 |
| Commits (last year) | 696 |
| Bus factor | 2 |

## Published packages

| Registry | Package | Latest | Monthly downloads |
|---|---|---|---|
| npm | @tanstack/db | 0.6.16 | 1,660,478 |
| npm | @tanstack/db-ivm | 0.1.18 | 1,589,125 |
| npm | @tanstack/react-db | 0.1.94 | 1,508,799 |
| npm | @tanstack/solid-db | 0.2.30 | 17,105 |
| npm | @tanstack/angular-db | 0.1.76 | 7,472 |
| npm | @tanstack/rxdb-db-collection | 0.1.82 | 17,430 |
| npm | @tanstack/query-db-collection | 1.1.0 | 879,012 |
| npm | @tanstack/offline-transactions | 1.0.41 | 49,437 |

## Vitality — 98/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 0 days ago |
| Commit cadence | partial | 32.5 / 36 | 47/52 weeks with commits |
| Commit volume | met | 18 / 18 | 696 commits in the last year |
| OpenSSF Scorecard: Maintained | met | 10 / 10 | 30 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10 |

### Release discipline — 100/100 (Excellent)

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ships releases | met | 27 / 27 | 100 releases published |
| Release recency | met | 36 / 36 | latest release 4 days ago |
| Release cadence | met | 27 / 27 | a release every ~0 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 | maintenance record not established from the collected data |

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

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

### Popularity & adoption — 84/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Stars | partial | 58.1 / 60 | 3,825 stars |
| Forks | partial | 19.9 / 25 | 247 forks |
| Watchers | partial | 6.2 / 15 | 14 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 | 5,728,858 downloads/month across npm |
| Registry dependents | excluded | 0 / 20 | not reported by this ecosystem |

## Sustainability & Governance — 78/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) — 63/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Bus factor | partial | 25.2 / 54 | 2 contributor(s) cover half of all commits |
| Commit distribution | partial | 13.9 / 22.5 | top contributor authored 38% of commits |
| Contributor breadth | met | 13.5 / 13.5 | 73 contributors |
| OpenSSF Scorecard: Contributors | met | 10 / 10 | project has 8 contributing companies or organizations |

### Issue & PR responsiveness — 78/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Issue resolution | partial | 32 / 46.8 | 68% of issues closed |
| PR acceptance | partial | 32.2 / 38.2 | 868/1030 decided PRs merged |
| OpenSSF Scorecard: Code-Review | partial | 13.5 / 15 | Found 23/24 approved changesets -- score normalized to 9 |

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ownership backing | met | 30 / 30 | organization-owned |
| Verified domain | not met | 0 / 20 | — |
| Owner reach | met | 25 / 25 | 10,972 followers of TanStack |
| Track record | partial | 22 / 25 | 26 public repos, account ~5 yr old |

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

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

## Engineering Quality — 84/100 (Good)

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

### Engineering practices — 86/100 (Excellent)

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

### Documentation — 80/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 30 / 30 | — |
| Documentation directory | met | 25 / 25 | — |
| Documentation / homepage site | met | 15 / 15 | https://tanstack.com/db |
| Repository description | met | 10 / 10 | — |
| Topics | not met | 0 / 10 | — |
| Wiki | not met | 0 / 10 | — |

## Security — 44/100 (At risk)

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 — 30/100 (At risk)

Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized. High-Risk Jurisdiction Policy applies a 50% multiplier to Security posture and gives it an At risk ceiling of 49.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Binary-Artifacts | partial | 6 / 7.5 | binaries present in source code |
| Branch-Protection | partial | 2.2 / 7.5 | branch protection is not maximal on development and all release branches |
| CI-Tests | partial | 2 / 2.5 | 26 out of 30 merged PRs checked by a CI test -- score normalized to 8 |
| CII-Best-Practices | not met | 0 / 2.5 | no effort to earn an OpenSSF best practices badge detected |
| Code-Review | partial | 6.8 / 7.5 | Found 23/24 approved changesets -- score normalized to 9 |
| Contributors | met | 2.5 / 2.5 | project has 8 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 | met | 5 / 5 | project is fuzzed |
| License | met | 2.5 / 2.5 | license file detected |
| Maintained | met | 7.5 / 7.5 | 30 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10 |
| Packaging | excluded | 0 / 5 | packaging workflow not 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 | not met | 0 / 5 | security policy file not 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 | 249 existing vulnerabilities detected |

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

Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 1912 resolved dependencies against OSV; 1481 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 | met | 35 / 35 | no direct dependency carries a known advisory |
| 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 | excluded | 0 / 40 | no advisory carries a publication date |

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

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 | partial | 50 / 100 | Russia: top_contributor (1) |

## AI Readiness — 74/100 (Good)

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 — 75/100 (Good)

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Agent instructions | met | 45 / 45 | AGENTS.md, examples/react/projects/AGENT.md |
| Machine-readable docs (llms.txt) | not met | 0 / 15 | — |
| Legible commit history | excluded | 0 / 40 | no data |

### Verify loop (build / test / typecheck) — 77/100 (Good)

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| One-command bootstrap | not met | 0 / 18 | — |
| Automated tests | met | 22 / 22 | — |
| Lint / format config | met | 11 / 11 | eslint.config.js, eslint.config.mjs |
| Static type checking | met | 11 / 11 | examples/angular/todos/tsconfig.json, examples/electron/offline-first/tsconfig.json, examples/react-native/offline-transactions/tsconfig.json, examples/react-native/shopping-list/tsconfig.json, examples/react/offline-transactions/tsconfig.json, examples/react/paced-mutations-demo/tsconfig.json, examples/react/projects/tsconfig.json, examples/react/todo/tsconfig.json, examples/solid/todo/tsconfig.json, packages/angular-db/tsconfig.json, packages/browser-db-sqlite-persistence/tsconfig.json, packages/capacitor-db-sqlite-persistence/e2e/app/tsconfig.json, packages/capacitor-db-sqlite-persistence/tsconfig.json, packages/cloudflare-durable-objects-db-sqlite-persistence/tsconfig.json, packages/db-collection-e2e/tsconfig.json, packages/db-ivm/tsconfig.json, packages/db-sqlite-persistence-core/tsconfig.json, packages/db/tsconfig.json, packages/electric-db-collection/tsconfig.json, packages/electron-db-sqlite-persistence/tsconfig.json, packages/expo-db-sqlite-persistence/e2e/expo-runtime-app/tsconfig.json, packages/expo-db-sqlite-persistence/tsconfig.json, packages/node-db-sqlite-persistence/tsconfig.json, packages/offline-transactions/tsconfig.json, packages/powersync-db-collection/tsconfig.json, packages/query-db-collection/tsconfig.json, packages/react-db/tsconfig.json, packages/react-native-db-sqlite-persistence/tsconfig.json, packages/rxdb-db-collection/tsconfig.json, packages/solid-db/tsconfig.json, packages/svelte-db/tsconfig.json, packages/tauri-db-sqlite-persistence/e2e/app/tsconfig.json, packages/tauri-db-sqlite-persistence/tsconfig.json, packages/trailbase-db-collection/tsconfig.json, packages/vue-db/tsconfig.json, 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 — 98/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Type-checkable code | met | 45 / 45 | TypeScript (statically typed) |
| Manageable file sizes | partial | 53.4 / 55 | 21/715 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 | examples |

## Collection warnings

- Resolved dependency list truncated to 2000 of 3393 packages (counts remain complete)
- deps.dev does not index npm:@tanstack/db@0.6.16; advisories assessed against the repository dependency graph instead

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