{"id":27137886,"url":"https://github.com/hadi77ir/nativemessagingproxy","last_synced_at":"2026-04-20T13:35:38.583Z","repository":{"id":284968663,"uuid":"955667677","full_name":"hadi77ir/nativemessagingproxy","owner":"hadi77ir","description":"Simple proxy for Native Messaging Hosts in Chrome extensions, allowing for executing MITM on them","archived":false,"fork":false,"pushed_at":"2025-03-28T17:14:41.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T17:38:57.761Z","etag":null,"topics":["chrome-extension","chrome-native-messaging","mitm","mitm-attacks","mitmproxy","native-messaging","native-messaging-host"],"latest_commit_sha":null,"homepage":"","language":"Go","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/hadi77ir.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}},"created_at":"2025-03-27T02:11:48.000Z","updated_at":"2025-03-28T17:14:44.000Z","dependencies_parsed_at":"2025-03-28T17:49:30.267Z","dependency_job_id":null,"html_url":"https://github.com/hadi77ir/nativemessagingproxy","commit_stats":null,"previous_names":["hadi77ir/nativemessagingproxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadi77ir%2Fnativemessagingproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadi77ir%2Fnativemessagingproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadi77ir%2Fnativemessagingproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadi77ir%2Fnativemessagingproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hadi77ir","download_url":"https://codeload.github.com/hadi77ir/nativemessagingproxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247779794,"owners_count":20994569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["chrome-extension","chrome-native-messaging","mitm","mitm-attacks","mitmproxy","native-messaging","native-messaging-host"],"created_at":"2025-04-08T04:37:09.762Z","updated_at":"2026-04-20T13:35:33.542Z","avatar_url":"https://github.com/hadi77ir.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NativeMessagingProxy\nThis is a simple proxy that sends messages received and sent by both parties through a proxy, allowing meddling ability\nfor debugging and reverse-engineering.\n\nSo far only HTTP proxy and SOCKS5 proxies are supported.\n\n## Features\n- Sends messages through a proxy\n- Supports injection of messages\n\n## Usage\n1. Open the manifest and look for `path`. In Linux and macOS, manifests can be found in `NativeMessagingHosts` directory under Chrome/Chromium configs directory (in Linux: `/home/USER/.config/chromium/NativeMessagingHosts`).\n2. Copy its value and write the config file in your config directory. (default in Linux: `/home/USER/.config/nmproxy.cfg`):\n```\ncommand: '/home/USER/.bin/myextension_host'\nproxy: socks5://127.0.0.1:1080/\nlog: /home/USER/nmproxy.log\n```\n3. Now change the `path` in manifest to point to NativeMessagingProxy.\n4. Start a `mitmproxy` instance on the address that you specified in the config.\n5. Run Chrome/Chromium.\n\n### Valid values\n- `command`: full path to single executable without args. \n- `proxy`: proxy URI with these protocols: `socks5`, `socks5h`, `http`, `https`. for example: `socks5://127.0.0.1:1080` \n- `log`: file path and `stderr`.\n\n### Custom Config Path\nYou may specify custom configuration file path through `NMPROXY_CONFIG` environment variable.\n\n## Credits\nCode from [miku](https://gist.github.com/miku/bda33de6b0a005c1d71406581649b693)'s gist has been used to enable usage of\nHTTP(S) proxies.\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadi77ir%2Fnativemessagingproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhadi77ir%2Fnativemessagingproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadi77ir%2Fnativemessagingproxy/lists"}