{"id":48369721,"url":"https://github.com/jpxd/torblock","last_synced_at":"2026-04-05T16:01:45.849Z","repository":{"id":57648445,"uuid":"383463123","full_name":"jpxd/torblock","owner":"jpxd","description":"Traefik plugin for blocking traffic from the Tor network","archived":false,"fork":false,"pushed_at":"2022-01-02T15:21:23.000Z","size":73,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T01:54:18.072Z","etag":null,"topics":["traefik","traefik-plugin"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpxd.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":"2021-07-06T12:35:57.000Z","updated_at":"2024-05-06T08:39:34.000Z","dependencies_parsed_at":"2022-09-13T21:51:16.792Z","dependency_job_id":null,"html_url":"https://github.com/jpxd/torblock","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jpxd/torblock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpxd%2Ftorblock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpxd%2Ftorblock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpxd%2Ftorblock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpxd%2Ftorblock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpxd","download_url":"https://codeload.github.com/jpxd/torblock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpxd%2Ftorblock/sbom","scorecard":{"id":536321,"data":{"date":"2025-08-11","repo":{"name":"github.com/jpxd/torblock","commit":"cb07cdbe641b045c49b94710700f10e2b8a665c1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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":"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":10,"reason":"no dangerous workflow patterns detected","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":"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":"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":"Code-Review","score":0,"reason":"Found 0/15 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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go-cross.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/jpxd/torblock/go-cross.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go-cross.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/jpxd/torblock/go-cross.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go-cross.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/jpxd/torblock/go-cross.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/jpxd/torblock/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/jpxd/torblock/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/jpxd/torblock/main.yml/main?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/main.yml:52","Warn: downloadThenRun not pinned by hash: .github/workflows/main.yml:55","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 downloadThenRun dependencies pinned"],"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go-cross.yml:1","Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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 'main'"],"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"}},{"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"}}]},"last_synced_at":"2025-08-20T07:04:21.751Z","repository_id":57648445,"created_at":"2025-08-20T07:04:21.751Z","updated_at":"2025-08-20T07:04:21.751Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31441057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T15:22:31.103Z","status":"ssl_error","status_checked_at":"2026-04-05T15:22:00.205Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["traefik","traefik-plugin"],"created_at":"2026-04-05T16:01:45.186Z","updated_at":"2026-04-05T16:01:45.842Z","avatar_url":"https://github.com/jpxd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TorBlock\nTorBlock is a [Traefik](https://traefik.io) plugin which can block requests originating from the Tor network. The publicly available list of Tor exit nodes (`https://check.torproject.org/exit-addresses`) is fetched regularly in order to identify the requests to be blocked.\n\n## Configuration\n\nRequirements: `Traefik \u003e= v2.5.5`\n\n### Static\n\nFor each plugin, the Traefik static configuration must define the module name (as is usual for Go packages).\n\nThe following declaration (given here in YAML) defines an plugin:\n\n```yaml\n# Static configuration\npilot:\n  token: xxxxx\n\nexperimental:\n  plugins:\n    torblock:\n      moduleName: github.com/jpxd/torblock\n      version: v0.1.1\n```\n\nHere is an example of a file provider dynamic configuration (given here in YAML), where the interesting part is the `http.middlewares` section:\n\n```yaml\n# Dynamic configuration\n\nhttp:\n  routers:\n    my-router:\n      rule: host(`demo.localhost`)\n      service: service-foo\n      entryPoints:\n        - web\n      middlewares:\n        - my-middleware\n\n  services:\n   service-foo:\n      loadBalancer:\n        servers:\n          - url: http://127.0.0.1:5000\n  \n  middlewares:\n    my-middleware:\n      torblock:\n        enabled: true\n```\n\n### Local Mode\n\nTraefik also offers a developer mode that can be used for temporary testing or offline usage of plugins not hosted on GitHub. To use a plugin in local mode, the Traefik static configuration must define the module name (as is usual for Go packages) and a path to a [Go workspace](https://golang.org/doc/gopath_code.html#Workspaces), which can be the local GOPATH or any directory.\n\nThe plugins must be placed in `./plugins-local` directory, which should be next to the Traefik binary.\nThe source code of the plugin should be organized as follows:\n\n```\n./plugins-local/\n    └── src\n        └── github.com\n            └── jpxd\n                └── torblock\n                    ├── torblock.go\n                    ├── torblock_test.go\n                    ├── go.mod\n                    ├── LICENSE\n                    ├── Makefile\n                    └── README.md\n```\n\n```yaml\n# Static configuration\npilot:\n  token: xxxxx\n\nexperimental:\n  localPlugins:\n    example:\n      moduleName: github.com/jpxd/torblock\n```\n\n(In the above example, the `torblock` plugin will be loaded from the path `./plugins-local/src/github.com/jpxd/torblock`.)\n\n```yaml\n# Dynamic configuration\n\nhttp:\n  routers:\n    my-router:\n      rule: host(`demo.localhost`)\n      service: service-foo\n      entryPoints:\n        - web\n      middlewares:\n        - my-middleware\n\n  services:\n   service-foo:\n      loadBalancer:\n        servers:\n          - url: http://127.0.0.1:5000\n  \n  middlewares:\n    my-middleware:\n      plugin:\n        torblock:\n          enabled: true\n```\n\n### Examples\n\nYou can also see a working example `docker-compose.yml` in the `examples` directory, which loads the plugin in local mode.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpxd%2Ftorblock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpxd%2Ftorblock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpxd%2Ftorblock/lists"}