Ethereum middleware for composing an Ethereum provider using json-rpc-engine. Intended to replace provider-engine
Installations
npm install eth-json-rpc-middleware
Developer
MetaMask
Developer Guide
Module System
CommonJS, UMD
Min. Node Version
>=14.0.0
Typescript Support
Yes
Node Version
14.19.3
NPM Version
6.14.17
Statistics
179 Stars
352 Commits
88 Forks
42 Watching
16 Branches
283 Contributors
Updated on 25 Nov 2024
Languages
TypeScript (94.59%)
JavaScript (5.15%)
Shell (0.26%)
Total Downloads
Cumulative downloads
Total Downloads
43,020,675
Last day
-2.6%
17,493
Compared to previous day
Last week
12.9%
111,935
Compared to previous week
Last month
-2.2%
433,655
Compared to previous month
Last year
-58.7%
5,814,489
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
11
Dev Dependencies
28
eth-json-rpc-middleware
Ethereum-related middleware for json-rpc-engine
.
See tests for usage details.
Running Tests
1yarn test
See Also
No vulnerabilities found.
Reason
all changesets reviewed
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: ISC License: LICENSE:0
Reason
security policy file detected
Details
- Info: security policy file detected: github.com/MetaMask/.github/SECURITY.md:1
- Info: Found linked content: github.com/MetaMask/.github/SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/MetaMask/.github/SECURITY.md:1
- Info: Found text in security policy: github.com/MetaMask/.github/SECURITY.md:1
Reason
SAST tool is not run on all commits -- score normalized to 9
Details
- Warn: 28 commits out of 30 are checked with a SAST tool
Reason
1 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
Reason
9 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 8
Reason
branch protection is not maximal on development and all release branches
Details
- Warn: branch protection not enabled for branch '14.x'
- Info: 'allow deletion' disabled on branch 'main'
- Info: 'force pushes' disabled on branch 'main'
- Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'
- Info: 'stale review dismissal' is required to merge on branch 'main'
- Warn: required approving review count is 1 on branch 'main'
- Info: codeowner review is required on branch 'main'
- Warn: 'last push approval' is disabled on branch 'main'
- Info: status check found to merge onto on branch 'main'
- Info: PRs are required in order to make changes on branch 'main'
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/create-release-pr.yml:21
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/main.yml:72
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/publish-release.yml:12
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/security-code-scanner.yml:14
- Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/security-code-scanner.yml:15
- Info: jobLevel 'actions' permission set to 'read': .github/workflows/security-code-scanner.yml:13
- Warn: no topLevel permission defined: .github/workflows/build-lint-test.yml:1
- Warn: no topLevel permission defined: .github/workflows/create-release-pr.yml:1
- Warn: no topLevel permission defined: .github/workflows/main.yml:1
- Warn: no topLevel permission defined: .github/workflows/publish-release.yml:1
- Warn: no topLevel permission defined: .github/workflows/security-code-scanner.yml:1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-lint-test.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/build-lint-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-lint-test.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/build-lint-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-lint-test.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/build-lint-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-lint-test.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/build-lint-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-lint-test.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/build-lint-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-lint-test.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/build-lint-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-lint-test.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/build-lint-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-lint-test.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/build-lint-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release-pr.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/create-release-pr.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release-pr.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/create-release-pr.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-release-pr.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/create-release-pr.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/main.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/main.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/publish-release.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-release.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/publish-release.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-release.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/publish-release.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-release.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/publish-release.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/security-code-scanner.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/MetaMask/eth-json-rpc-middleware/security-code-scanner.yml/main?enable=pin
- Warn: downloadThenRun not pinned by hash: .github/workflows/main.yml:17
- Info: 0 out of 19 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 6 third-party GitHubAction dependencies pinned
- Info: 0 out of 1 downloadThenRun dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
6.3
/10
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to eth-json-rpc-middleware
@trufflesuite/eth-json-rpc-middleware
Fork of https://github.com/MetaMask/eth-json-rpc-middleware
@metamask/eth-json-rpc-middleware
Ethereum-related json-rpc-engine middleware.
@metamask/eth-json-rpc-provider
Create an Ethereum provider using a JSON-RPC engine or middleware
eth-json-rpc-filters
[json-rpc-engine](https://github.com/MetaMask/json-rpc-engine) middleware implementing ethereum filter methods. Backed by an [eth-block-tracker](https://github.com/MetaMask/eth-block-tracker) and web3 provider interface (`web3.currentProvider`).