# xchainjs/xchainjs-lib — health index 78/100 (Good)

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

## Category summary

| Category | Weight | Index | Band |
|---|---|---|---|
| Vitality | 22% | 93/100 | Excellent |
| Community & Adoption | 18% | 64/100 | Moderate |
| Sustainability & Governance | 24% | 83/100 | Good |
| Engineering Quality | 20% | 87/100 | Excellent |
| Security | 16% | 57/100 | Moderate |
| AI Readiness | not counted | 80/100 | Good |

## Repository facts

| Field | Value |
|---|---|
| Description | Lightweight typescript library for cross-chain wallets. Connect with multiple blockchains via a common interface, with support for the minimum features necessary. |
| Primary language | TypeScript |
| License | MIT |
| Stars | 133 |
| Forks | 109 |
| Created | 2020-10-04 |
| Last push | 2026-07-23 |
| Latest release | @xchainjs/xchain-wallet@2.0.31 |
| Commits (last year) | 259 |
| Bus factor | 4 |
| Topics | bitcoin, blockchain, wallet, binance, bitcoincash, cosmos, ethereum, litecoin, thorchain |

## Published packages

| Registry | Package | Latest | Monthly downloads |
|---|---|---|---|
| npm | @xchainjs/xchain-bsc | 2.0.21 | 1,687 |
| npm | @xchainjs/xchain-evm | 2.0.20 | 2,566 |
| npm | @xchainjs/xchain-avax | 2.0.20 | 1,791 |
| npm | @xchainjs/xchain-base | 1.0.20 | 1,540 |
| npm | @xchainjs/xchain-dash | 2.2.8 | 1,285 |
| npm | @xchainjs/xchain-doge | 2.3.0 | 2,051 |
| npm | @xchainjs/xchain-client | 2.0.16 | 7,451 |
| npm | @xchainjs/xchain-cosmos | 3.0.16 | 2,384 |

## Vitality — 93/100 (Excellent)

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

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Push recency | met | 36 / 36 | last push 3 days ago |
| Commit cadence | partial | 24.2 / 36 | 35/52 weeks with commits |
| Commit volume | met | 18 / 18 | 259 commits in the last year |
| OpenSSF Scorecard: Maintained | met | 10 / 10 | 30 commit(s) and 4 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 6 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 | last human commit 6 days ago |

## Community & Adoption — 64/100 (Moderate)

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

### Popularity & adoption — 55/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Stars | partial | 34.4 / 60 | 133 stars |
| Forks | partial | 16.9 / 25 | 109 forks |
| Watchers | partial | 3.3 / 15 | 5 watchers |

### Community health — 70/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 | not met | 0 / 6.3 | — |

### Ecosystem adoption (downloads) — 72/100 (Good)

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Monthly downloads | partial | 57.6 / 80 | 20,755 downloads/month across npm |
| Registry dependents | excluded | 0 / 20 | not reported by this ecosystem |

## Sustainability & Governance — 83/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) — 84/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Bus factor | partial | 43.2 / 54 | 4 contributor(s) cover half of all commits |
| Commit distribution | partial | 17.8 / 22.5 | top contributor authored 21% of commits |
| Contributor breadth | met | 13.5 / 13.5 | 45 contributors |
| OpenSSF Scorecard: Contributors | met | 10 / 10 | project has 4 contributing companies or organizations |

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Issue resolution | partial | 45.7 / 46.8 | 98% of issues closed |
| PR acceptance | partial | 33.4 / 38.2 | 912/1044 decided PRs merged |
| OpenSSF Scorecard: Code-Review | met | 15 / 15 | all changesets reviewed |

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ownership backing | met | 30 / 30 | organization-owned |
| Verified domain | not met | 0 / 20 | — |
| Owner reach | partial | 8 / 25 | 12 followers of xchainjs |
| Track record | partial | 18.8 / 25 | 9 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 6 days ago |
| Version history | met | 20 / 20 | 92 published versions |
| Not deprecated | met | 20 / 20 | active, not deprecated or yanked |

## Engineering Quality — 87/100 (Excellent)

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

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

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

### Documentation — 85/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 30 / 30 | — |
| Documentation directory | met | 25 / 25 | — |
| Documentation / homepage site | not met | 0 / 15 | — |
| Repository description | met | 10 / 10 | — |
| Topics | met | 10 / 10 | 9 topics |
| Wiki | met | 10 / 10 | — |

## Security — 57/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 — 56/100 (Moderate)

Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, 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 | partial | 2.2 / 2.5 | 22 out of 24 merged PRs checked by a CI test -- score normalized to 9 |
| 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 4 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 4 issue activity found in the last 90 days -- score normalized to 10 |
| Packaging | excluded | 0 / 5 | packaging workflow not detected |
| Pinned-Dependencies | not met | 0 / 5 | dependency not pinned by hash detected -- score normalized to 0 |
| 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 | 74 existing vulnerabilities detected |

### Dependency advisories — 61/100 (Moderate)

Matched the npm:@xchainjs/xchain-bsc@2.0.21 runtime dependency closure — what installing the published package pulls in — 111 packages. 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 | partial | 4.2 / 25 | 5 affected: axios 1.12.2 (high 8.7), axios 1.13.5 (high 8.7), axios 1.16.1 (high 8.2), +2 more |
| No advisories left outstanding | partial | 22.2 / 40 | 4 advisory-carrying package(s) unaddressed past 90 days; oldest published 198 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 — 80/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 — 85/100 (Excellent)

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

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| One-command bootstrap | not met | 0 / 18 | — |
| Automated tests | met | 22 / 22 | — |
| Lint / format config | met | 11 / 11 | eslint.config.mjs |
| Static type checking | met | 11 / 11 | packages/xchain-aggregator/__e2e__/tsconfig.json, packages/xchain-aggregator/__mocks__/tsconfig.json, packages/xchain-aggregator/__tests__/tsconfig.json, packages/xchain-aggregator/tsconfig.json, packages/xchain-arbitrum/__e2e__/tsconfig.json, packages/xchain-arbitrum/tsconfig.json, packages/xchain-avax/__e2e__/tsconfig.json, packages/xchain-avax/tsconfig.json, packages/xchain-base/__e2e__/tsconfig.json, packages/xchain-base/__test__/tsconfig.json, packages/xchain-base/tsconfig.json, packages/xchain-bitcoin/__e2e__/tsconfig.json, packages/xchain-bitcoin/__mocks__/tsconfig.json, packages/xchain-bitcoin/__tests__/tsconfig.json, packages/xchain-bitcoin/tsconfig.json, packages/xchain-bitcoincash/__e2e__/tsconfig.json, packages/xchain-bitcoincash/__mocks__/tsconfig.json, packages/xchain-bitcoincash/__tests__/tsconfig.json, packages/xchain-bitcoincash/tsconfig.json, packages/xchain-bsc/__e2e__/tsconfig.json, packages/xchain-bsc/tsconfig.json, packages/xchain-cardano/__mocks__/tsconfig.json, packages/xchain-cardano/__tests__/tsconfig.json, packages/xchain-cardano/tsconfig.json, packages/xchain-client/tsconfig.json, packages/xchain-cosmos-sdk/__e2e__/tsconfig.json, packages/xchain-cosmos-sdk/tsconfig.json, packages/xchain-cosmos/__e2e__/tsconfig.json, packages/xchain-cosmos/__tests__/tsconfig.json, packages/xchain-cosmos/tsconfig.json, packages/xchain-crypto/__tests__/tsconfig.json, packages/xchain-crypto/tsconfig.json, packages/xchain-dash/__e2e__/tsconfig.json, packages/xchain-dash/__mocks__/tsconfig.json, packages/xchain-dash/__tests__/tsconfig.json, packages/xchain-dash/tsconfig.json, packages/xchain-doge/__e2e__/tsconfig.json, packages/xchain-doge/__mocks__/tsconfig.json, packages/xchain-doge/__tests__/tsconfig.json, packages/xchain-doge/tsconfig.json, packages/xchain-ethereum/__e2e__/tsconfig.json, packages/xchain-ethereum/tsconfig.json, packages/xchain-evm-providers/__e2e__/tsconfig.json, packages/xchain-evm-providers/tsconfig.json, packages/xchain-evm/__e2e__/tsconfig.json, packages/xchain-evm/__mocks__/tsconfig.json, packages/xchain-evm/__tests__/tsconfig.json, packages/xchain-evm/tsconfig.json, packages/xchain-kujira/__e2e__/tsconfig.json, packages/xchain-kujira/__tests__/tsconfig.json, packages/xchain-kujira/tsconfig.json, packages/xchain-litecoin/__e2e__/tsconfig.json, packages/xchain-litecoin/__mocks__/tsconfig.json, packages/xchain-litecoin/__tests__/tsconfig.json, packages/xchain-litecoin/tsconfig.json, packages/xchain-mayachain-amm/__e2e__/tsconfig.json, packages/xchain-mayachain-amm/__mocks__/tsconfig.json, packages/xchain-mayachain-amm/__tests__/tsconfig.json, packages/xchain-mayachain-amm/tsconfig.json, packages/xchain-mayachain-query/__e2e__/tsconfig.json, packages/xchain-mayachain-query/__mocks__/tsconfig.json, packages/xchain-mayachain-query/__tests__/tsconfig.json, packages/xchain-mayachain-query/tsconfig.json, packages/xchain-mayachain/__e2e__/tsconfig.json, packages/xchain-mayachain/__tests__/tsconfig.json, packages/xchain-mayachain/tsconfig.json, packages/xchain-mayamidgard-query/__mocks__/tsconfig.json, packages/xchain-mayamidgard-query/__tests__/tsconfig.json, packages/xchain-mayamidgard-query/tsconfig.json, packages/xchain-mayamidgard/tsconfig.json, packages/xchain-mayanode/tsconfig.json, packages/xchain-midgard-query/__e2e__/tsconfig.json, packages/xchain-midgard-query/__mocks__/tsconfig.json, packages/xchain-midgard-query/__tests__/tsconfig.json, packages/xchain-midgard-query/tsconfig.json, packages/xchain-midgard/tsconfig.json, packages/xchain-monero/__e2e__/tsconfig.json, packages/xchain-monero/__tests__/tsconfig.json, packages/xchain-monero/tsconfig.json, packages/xchain-radix/__e2e__/tsconfig.json, packages/xchain-radix/__mocks__/tsconfig.json, packages/xchain-radix/__tests__/tsconfig.json, packages/xchain-radix/tsconfig.json, packages/xchain-ripple/__e2e__/tsconfig.json, packages/xchain-ripple/tsconfig.json, packages/xchain-solana/__e2e__/tsconfig.json, packages/xchain-solana/__mocks__/tsconfig.json, packages/xchain-solana/__tests__/tsconfig.json, packages/xchain-solana/tsconfig.json, packages/xchain-sui/__tests__/tsconfig.json, packages/xchain-sui/tsconfig.json, packages/xchain-thorchain-amm/__e2e__/tsconfig.json, packages/xchain-thorchain-amm/__mocks__/tsconfig.json, packages/xchain-thorchain-amm/__tests__/tsconfig.json, packages/xchain-thorchain-amm/tsconfig.json, packages/xchain-thorchain-query/__e2e__/tsconfig.json, packages/xchain-thorchain-query/__mocks__/tsconfig.json, packages/xchain-thorchain-query/__tests__/tsconfig.json, packages/xchain-thorchain-query/tsconfig.json, packages/xchain-thorchain/__e2e__/tsconfig.json, packages/xchain-thorchain/__tests__/tsconfig.json, packages/xchain-thorchain/tsconfig.json, packages/xchain-thornode/tsconfig.json, packages/xchain-tron/__e2e__/tsconfig.json, packages/xchain-tron/tsconfig.json, packages/xchain-util/__tests__/tsconfig.json, packages/xchain-util/tsconfig.json, packages/xchain-utxo-providers/__e2e__/tsconfig.json, packages/xchain-utxo-providers/__mocks__/tsconfig.json, packages/xchain-utxo-providers/__tests__/tsconfig.json, packages/xchain-utxo-providers/tsconfig.json, packages/xchain-utxo/__tests__/tsconfig.json, packages/xchain-utxo/tsconfig.json, packages/xchain-wallet/__e2e__/tsconfig.json, packages/xchain-wallet/__tests__/tsconfig.json, packages/xchain-wallet/tsconfig.json, packages/xchain-zcash/__e2e__/tsconfig.json, packages/xchain-zcash/__mocks__/tsconfig.json, packages/xchain-zcash/__tests__/tsconfig.json, packages/xchain-zcash/tsconfig.json, packages/zcash-js/tsconfig.json, scripts/tsconfig.json, tools/xchain-suite/tsconfig.json, tsconfig.json |
| Reproducible environment | met | 10 / 10 | lockfile |
| Demonstrated agent practice | met | 10 / 10 | 55 of the last 100 commits agent-authored or agent-credited |
| Automated maintenance | partial | 5 / 8 | dependency automation configured, none observed in the sampled commits |
| OpenSSF Scorecard: Pinned-Dependencies | not met | 0 / 10 | dependency not pinned by hash detected -- score normalized to 0 |

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

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Type-checkable code | met | 45 / 45 | TypeScript (statically typed) |
| Manageable file sizes | partial | 54.8 / 55 | 3/782 source files over 60KB |

## Collection warnings

- Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

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