{"id":34083445,"url":"https://github.com/alext234/rpc-sniffer","last_synced_at":"2026-04-01T23:38:21.888Z","repository":{"id":57462796,"uuid":"126388855","full_name":"alext234/rpc-sniffer","owner":"alext234","description":"Capture and decode (Ethereum) JSON RPC traffic ","archived":false,"fork":false,"pushed_at":"2018-03-26T09:49:52.000Z","size":27,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-16T15:23:21.345Z","etag":null,"topics":["blockchain","ethereum","jsonrpc","network","python","sniffing"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alext234.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}},"created_at":"2018-03-22T20:03:29.000Z","updated_at":"2025-12-09T13:25:06.000Z","dependencies_parsed_at":"2022-09-05T15:41:25.873Z","dependency_job_id":null,"html_url":"https://github.com/alext234/rpc-sniffer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/alext234/rpc-sniffer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alext234%2Frpc-sniffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alext234%2Frpc-sniffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alext234%2Frpc-sniffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alext234%2Frpc-sniffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alext234","download_url":"https://codeload.github.com/alext234/rpc-sniffer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alext234%2Frpc-sniffer/sbom","scorecard":{"id":182662,"data":{"date":"2025-08-11","repo":{"name":"github.com/alext234/rpc-sniffer","commit":"2137da4ee09f351fc2bf769d7feeccc56c3f5c67"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/17 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T19:08:53.568Z","repository_id":57462796,"created_at":"2025-08-16T19:08:53.568Z","updated_at":"2025-08-16T19:08:53.568Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":["blockchain","ethereum","jsonrpc","network","python","sniffing"],"created_at":"2025-12-14T12:44:08.503Z","updated_at":"2026-04-01T23:38:21.881Z","avatar_url":"https://github.com/alext234.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/alext234/rpc-sniffer.svg?branch=master)](https://travis-ci.org/alext234/rpc-sniffer)\n\n# rpc-sniffer\nThis tool captures network traffic and decode them if they contain (Ethereum) JSON RPC.\nThis might be useful in the following scenarios:\n\n- You want to know the exact RPC requests and responses sent to and from your Ethereum node.\n- You want to debug and understand what `web3` sends out.\n- You want to capture the contents `web3` sends out in order to use them in a different program.\n \n\n# Installation\n\nThe following assumes you already have Python virtualenv activated. \nIf not you may need to add `sudo`  in front of the setup.py command.\n\n- Via the `setup.py` script\n\n```\n(activate python virtualenv)\ngit clone https://github.com/alext234/rpc-sniffer\ncd rpc-sniffer\npython setup.py install\n```\n\n# Usage\n\nA `pcap` file can be given as the parameter:\n\n```\n\u003e rpc-sniffer.py  tests/data/web3_clientVersion.pcap \nINFO:root:Sniff network packets and decode JSONRPC on HTTP\nid        method                        params                                  result                                  \n1         web3_clientVersion            []                                      \n1                                                                               Geth/v1.8.2-stable/linux-amd64/go1.9.2  \n\n```\n\nOr a network interface can be given, for example with the local loopback interface `lo` (superuser is needed):\n\n```\n\u003e sudo su\n\n\u003e (activate python virtualenv)\n\n\u003e rpc-sniffer.py lo\n\n```\nYou will able to see the decoded traffic when you interact with a local RPC node via web3, for example.\n\n```\nid        method                        params                                  result                                  \n1         eth_accounts                  []                                      \n1         eth_getTransactionCount       ['0x70974f6673fa922eac3c2cd433d762e93db9399e', 'latest']\n1                                                                               0x30                                    \n1         net_version                   []                                      \n1                                                                               99                                      \n1         eth_gasPrice                  []                                      \n1                                                                               0x430e23400                             \n```\n\n\n# Limitations\n\n- This tool does not support encrypted SSL traffic (e.g. when you interact with an infura.io node).\n\n- This tool does not support RPC traffic that spans multiple packets (development is in progress for this feature).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falext234%2Frpc-sniffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falext234%2Frpc-sniffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falext234%2Frpc-sniffer/lists"}