{"id":1359451,"name":"@web3-react/metamask","ecosystem":"npm","description":"","homepage":"https://github.com/Uniswap/web3-react#readme","licenses":"GPL-3.0-or-later","normalized_licenses":["GPL-3.0-or-later"],"repository_url":"https://github.com/Uniswap/web3-react","keywords_array":["web3-react","metamask"],"namespace":"web3-react","versions_count":54,"first_release_published_at":"2022-01-11T16:30:11.155Z","latest_release_published_at":"2023-10-02T16:57:23.415Z","latest_release_number":"8.2.4","last_synced_at":"2026-04-07T22:30:23.705Z","created_at":"2022-04-08T22:17:56.398Z","updated_at":"2026-04-07T22:30:23.705Z","registry_url":"https://www.npmjs.com/package/@web3-react/metamask","install_command":"npm install @web3-react/metamask","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"8.2.4","beta":"8.1.2-beta.0","next":"8.1.0-beta.0"}},"repo_metadata":{"id":37431850,"uuid":"157421028","full_name":"Uniswap/web3-react","owner":"Uniswap","description":"A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps","archived":false,"fork":false,"pushed_at":"2024-08-20T17:47:06.000Z","size":19486,"stargazers_count":5691,"open_issues_count":176,"forks_count":1496,"subscribers_count":78,"default_branch":"main","last_synced_at":"2026-03-20T14:52:23.935Z","etag":null,"topics":["dapp","ethereum","javascript","typescript","web3"],"latest_commit_sha":null,"homepage":"https://web3-react-mu.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Uniswap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-11-13T17:39:38.000Z","updated_at":"2026-03-20T02:25:55.000Z","dependencies_parsed_at":"2022-07-12T13:19:53.972Z","dependency_job_id":"b18f820c-3326-4d23-b2da-f2bc54c9796b","html_url":"https://github.com/Uniswap/web3-react","commit_stats":{"total_commits":560,"total_committers":51,"mean_commits":"10.980392156862745","dds":0.2410714285714286,"last_synced_commit":"bd267025f06b5808fd6ccc4e18dde4d400c4076a"},"previous_names":["noahzinsmeister/web3-react"],"tags_count":669,"template":false,"template_full_name":null,"purl":"pkg:github/Uniswap/web3-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fweb3-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fweb3-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fweb3-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fweb3-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uniswap","download_url":"https://codeload.github.com/Uniswap/web3-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fweb3-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30788092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-20T22:51:33.771Z","status":"online","status_checked_at":"2026-03-21T02:00:07.962Z","response_time":114,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"Uniswap","name":"Uniswap Labs","uuid":"36115574","kind":"organization","description":"Web3 infrastructure and products","email":"support@uniswap.org","website":"https://uniswap.org","location":"Ethereum","twitter":"Uniswap","company":null,"icon_url":"https://avatars.githubusercontent.com/u/36115574?v=4","repositories_count":90,"last_synced_at":"2025-04-25T12:45:51.455Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/Uniswap","funding_links":[],"total_stars":null,"followers":5722,"following":0,"created_at":"2022-11-02T16:33:10.010Z","updated_at":"2025-04-25T12:45:51.456Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uniswap","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uniswap/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-04-04T10:25:08.492Z","dependent_packages_count":145,"downloads":48865,"downloads_period":"last-month","dependent_repos_count":515,"rankings":{"downloads":0.7185515363401543,"dependent_repos_count":0.7553878410468494,"dependent_packages_count":0.27805904868344206,"stargazers_count":1.320159478291131,"forks_count":0.9903928031344225,"docker_downloads_count":1.0706207279974354,"average":0.8555285725822391},"purl":"pkg:npm/%40web3-react/metamask","advisories":[{"uuid":"GSA_kwCzR0hTQS04cGYzLTZmZ3ItM2czZ84AAy3P","url":"https://github.com/advisories/GHSA-8pf3-6fgr-3g3g","title":"`chainId` may be outdated if user changes chains as part of connection in @web3-react","description":"### Impact\n`chainId` may be outdated if the user changes chains as part of the connection flow. This means that the value of `chainId` returned by `useWeb3React()` may be incorrect. In an application, this means that any data derived from `chainId` could be incorrect.\n\nFor example, if a swapping application derives a wrapped token contract address from the `chainId` *and* a user has changed chains as part of their connection flow the application could cause the user to send funds to the incorrect address when wrapping. This is a common approach when using other foundational libraries like [`ethers`](https://github.com/ethers-io/ethers.js), and most users of v8 will want to upgrade past the affected versions.\n\n### Patches\nPatched in https://github.com/Uniswap/web3-react/pull/749.\nUsers of web3-react@8.0.x-beta.0 should upgrade to at least:\n - @web3-react/coinbase-wallet@^8.0.35-beta.0\n - @web3-react/eip1193@^8.0.27-beta.0\n - @web3-react/metamask@^8.0.30-beta.0\n - @web3-react/walletconnect@^8.0.37-beta.0\n\n### Workarounds\nN/A\n\n### References\nN/A\n","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2023-04-18T22:29:53.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":5.2,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:L","references":["https://github.com/Uniswap/web3-react/security/advisories/GHSA-8pf3-6fgr-3g3g","https://nvd.nist.gov/vuln/detail/CVE-2023-30543","https://github.com/Uniswap/web3-react/pull/749","https://github.com/advisories/GHSA-8pf3-6fgr-3g3g"],"source_kind":"github","identifiers":["GHSA-8pf3-6fgr-3g3g","CVE-2023-30543"],"repository_url":"https://github.com/Uniswap/web3-react","blast_radius":0.0,"created_at":"2023-04-18T23:03:15.795Z","updated_at":"2026-04-05T20:08:55.415Z","epss_percentage":0.00054,"epss_percentile":0.16953,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04cGYzLTZmZ3ItM2czZ84AAy3P","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS04cGYzLTZmZ3ItM2czZ84AAy3P","packages":[{"ecosystem":"npm","package_name":"@web3-react/walletconnect","versions":[{"first_patched_version":"8.0.37-beta.0","vulnerable_version_range":"\u003e= 6.0.0, \u003c 8.0.37-beta.0"}],"purl":"pkg:npm/%40web3-react%2Fwalletconnect"},{"ecosystem":"npm","package_name":"@web3-react/metamask","versions":[{"first_patched_version":"8.0.30-beta.0","vulnerable_version_range":"\u003e= 6.0.0, \u003c 8.0.30-beta.0"}],"purl":"pkg:npm/%40web3-react%2Fmetamask"},{"ecosystem":"npm","package_name":"@web3-react/eip1193","versions":[{"first_patched_version":"8.0.27-beta","vulnerable_version_range":"\u003e= 6.0.0, \u003c 8.0.27-beta.0"}],"purl":"pkg:npm/%40web3-react%2Feip1193"},{"ecosystem":"npm","package_name":"@web3-react/coinbase-wallet","versions":[{"first_patched_version":"8.0.35-beta.0","vulnerable_version_range":"\u003e= 6.0.0, \u003c 8.0.35-beta.0"}],"purl":"pkg:npm/%40web3-react%2Fcoinbase-wallet"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04cGYzLTZmZ3ItM2czZ84AAy3P/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@web3-react/metamask","docker_dependents_count":8,"docker_downloads_count":1414,"usage_url":"https://repos.ecosyste.ms/usage/npm/@web3-react/metamask","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@web3-react/metamask/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-02-24T14:08:52.306Z","issues_count":118,"pull_requests_count":132,"avg_time_to_close_issue":13835004.457142858,"avg_time_to_close_pull_request":8609838.484536082,"issues_closed_count":35,"pull_requests_closed_count":97,"pull_request_authors_count":74,"issue_authors_count":98,"avg_comments_per_issue":3.1779661016949152,"avg_comments_per_pull_request":1.8484848484848484,"merged_pull_requests_count":40,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":5,"past_year_pull_requests_count":4,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":90.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":2,"past_year_pull_request_authors_count":3,"past_year_issue_authors_count":5,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":1.25,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uniswap%2Fweb3-react/issues","maintainers":[{"login":"grabbou","count":17,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/grabbou"},{"login":"JFrankfurt","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/JFrankfurt"},{"login":"zzmp","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/zzmp"},{"login":"vm","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/vm"},{"login":"mirshko","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mirshko"},{"login":"talentlessguy","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/talentlessguy"},{"login":"NoahZinsmeister","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/NoahZinsmeister"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@web3-react%2Fmetamask/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@web3-react%2Fmetamask/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@web3-react%2Fmetamask/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@web3-react%2Fmetamask/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@web3-react%2Fmetamask/codemeta","maintainers":[{"uuid":"cmcewen","login":"cmcewen","name":null,"email":"connor.mcewen@gmail.com","url":null,"packages_count":36,"html_url":"https://www.npmjs.com/~cmcewen","role":null,"created_at":"2022-11-20T09:36:31.633Z","updated_at":"2022-11-20T09:36:31.633Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/cmcewen/packages"},{"uuid":"zzmp","login":"zzmp","name":null,"email":"tavoricko@gmail.com","url":null,"packages_count":51,"html_url":"https://www.npmjs.com/~zzmp","role":null,"created_at":"2022-11-20T09:36:31.624Z","updated_at":"2022-11-20T09:36:31.624Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/zzmp/packages"},{"uuid":"towering-elsie","login":"towering-elsie","name":null,"email":"jordan@uniswap.org","url":null,"packages_count":34,"html_url":"https://www.npmjs.com/~towering-elsie","role":null,"created_at":"2023-06-09T19:46:54.012Z","updated_at":"2023-06-09T19:46:54.012Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/towering-elsie/packages"}]}