{"id":36790670,"url":"https://github.com/csmith/webhooked","last_synced_at":"2026-01-12T13:25:19.448Z","repository":{"id":38463303,"uuid":"248962158","full_name":"csmith/webhooked","owner":"csmith","description":"Simple command line utility to install a webhook in each of your GitHub repositories.","archived":false,"fork":false,"pushed_at":"2025-11-11T17:18:52.000Z","size":202,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-11T19:15:49.248Z","etag":null,"topics":["automation","github","webhooks"],"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/csmith.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-03-21T11:28:49.000Z","updated_at":"2025-11-11T17:18:50.000Z","dependencies_parsed_at":"2023-02-18T02:30:44.987Z","dependency_job_id":"a5854a4e-03ce-4a52-9371-b77d0862fcc2","html_url":"https://github.com/csmith/webhooked","commit_stats":{"total_commits":36,"total_committers":2,"mean_commits":18.0,"dds":"0.19444444444444442","last_synced_commit":"71fe0192320c74ab7cc7e731687894267d643a26"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/csmith/webhooked","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fwebhooked","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fwebhooked/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fwebhooked/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fwebhooked/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csmith","download_url":"https://codeload.github.com/csmith/webhooked/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fwebhooked/sbom","scorecard":{"id":389,"data":{"date":"2025-08-11","repo":{"name":"github.com/csmith/webhooked","commit":"1f15f95016daf49150e618749a2429e9655ad9ed"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.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":"Maintained","score":9,"reason":"11 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Code-Review","score":0,"reason":"Found 0/3 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/image.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":"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":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/csmith/webhooked/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/image.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/csmith/webhooked/image.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:11: pin your Docker image by updating ghcr.io/greboid/dockerbase/nonroot:1.20250803.0 to ghcr.io/greboid/dockerbase/nonroot:1.20250803.0@sha256:4771328537af0c3e3f4aac642d419e454b074e7f514e9f3a66fc704b56ba4f08","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   1 out of   1 goCommand dependencies pinned","Info:   0 out of   2 containerImage 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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENCE:0","Info: FSF or OSI recognized license: MIT License: LICENCE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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"}},{"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T12:22:33.418Z","repository_id":38463303,"created_at":"2025-08-14T12:22:33.418Z","updated_at":"2025-08-14T12:22:33.418Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["automation","github","webhooks"],"created_at":"2026-01-12T13:25:19.139Z","updated_at":"2026-01-12T13:25:19.382Z","avatar_url":"https://github.com/csmith.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webhooked\n\nSimple command line utility to install a webhook in each of your GitHub repositories.\n\n## Basic usage\n\n1. Obtain a personal access token from https://github.com/settings/tokens\n\n   * Webhooked requires the `admin:repo_hook` scope\n   * Optional: to add hooks to private repositories, also select the `repo` scope\n\n2. Install webhooked:\n\n    ```\n    $ go install github.com/csmith/webhooked\n    ```\n\n3. Run webhooked with your hook details:\n\n   ```shell script\n   $ webhooked \\\n       --token your_personal_access_token \\\n       --url https://example.com/your_webhook \\\n       --secret your_secret \n   ```\n\nWebHooked will iterate through all the repositories you own and install the webhook.\nIf a repository already has a webhook with the same URL, its config will be updated\nto match the one specified on the command line.\n\n## Advanced options\n\n### Custom event types\n\nBy default webhooked opts for your webhook to receive all events. You can specify\ncustom events with a comma-separated list: \n\n```shell script\n$ webhooked \\\n   --token your_personal_access_token \\\n   --url https://example.com/your_webhook \\\n   --secret your_secret \\\n   --events push,pull_request\n```\n\nYou can see all the available event types in the\n[GitHub API docs for events](https://developer.github.com/v3/activity/events/types/).\n\n### Repos owned by a different user/org\n\nYou can scan repos owned by a different org or user (that you have appropriate access to)\nby specifying the owner argument:\n\n```shell script\n$ webhooked \\\n   --token your_personal_access_token \\\n   --url https://example.com/your_webhook \\\n   --secret your_secret \\\n   --owner my_org\n```\n\nIf user is not specified, webhooked will scan the repositories of the user that created\nthe personal access token.\n\n### Changing webhook content type\n\nUnless otherwise specified, webhooked assumes you want JSON. To change it simply pass\nthe content-type argument:\n\n```shell script\n$ webhooked \\\n   --token your_personal_access_token \\\n   --url https://example.com/your_webhook \\\n   --secret your_secret \\\n   --content-type form\n```\n\nYou can see the supported content types in the\n[GitHub API docs for creating a hook](https://developer.github.com/v3/repos/hooks/#create-a-hook)\n\n### Monitoring mode\n\nWebhooked can optionally run continuously, scanning repositories at a set interval. This\nis enabled with the `--monitor` flag, which takes a duration argument.\n\nDurations are specified as a sequence of numbers with one of the following unit suffixes:\n`s` for seconds, `m` for minutes, and `h` for hours. For example, `3.5h` and `3h30m` are both\nthree hours and thirty minutes.\n\nAny duration under a minute will be ignored (i.e., monitor mode will be disabled). In order to\navoid an excessive amount of traffic to the GitHub API, it is recommended to set a monitor\nduration of at least 1 hour, preferably much higher. If you frequently add new repositories\nand require timely updates you should consider using a GitHub application instead of webhooked.\n\nAs an example:\n\n```shell script\n$ webhooked \\\n   --token your_personal_access_token \\\n   --url https://example.com/your_webhook \\\n   --secret your_secret \\\n   --monitor 6h\n```\n\n### Docker\n\nWebhooked is available as a small docker image, and accepts all its arguments as environment\nvariables as well as command line arguments.\n\nFor example, to run using docker-compose:\n\n```yaml\n---\nversion: '3.7'\n\nservices:\n  webhooked:\n    image: ghcr.io/csmith/webhooked\n    environment:\n      TOKEN: your_personal_access_token\n      URL: https://example.com/your_webhook\n      SECRET: your_secret\n      MONITOR: 6h\n    restart: always\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsmith%2Fwebhooked","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsmith%2Fwebhooked","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsmith%2Fwebhooked/lists"}