{"id":3492785,"name":"github.com/caarlos0/ctrlc","ecosystem":"go","description":"Package ctrlc provides an easy way of having a task that is context-aware and that also deals with interrupt and term signals.","homepage":"https://github.com/caarlos0/ctrlc","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/caarlos0/ctrlc","keywords_array":[],"namespace":"github.com/caarlos0","versions_count":3,"first_release_published_at":"2018-01-02T14:48:29.000Z","latest_release_published_at":"2022-08-16T13:03:10.000Z","latest_release_number":"v1.2.0","last_synced_at":"2026-10-12T19:20:51.560Z","created_at":"2022-04-10T19:12:25.234Z","updated_at":"2026-10-12T19:20:56.043Z","registry_url":"https://pkg.go.dev/github.com/caarlos0/ctrlc","install_command":"go get github.com/caarlos0/ctrlc","documentation_url":"https://pkg.go.dev/github.com/caarlos0/ctrlc#section-documentation","metadata":null,"repo_metadata":{"id":28049774,"uuid":"116025011","full_name":"caarlos0/ctrlc","owner":"caarlos0","description":"Go library that provides an easy way of having a task that is context-aware and deals with SIGINT and SIGTERM signals","archived":true,"fork":false,"pushed_at":"2026-01-19T17:52:29.000Z","size":48,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-09-27T04:48:12.196Z","etag":null,"topics":[],"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/caarlos0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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},"funding":{"github":["caarlos0"]}},"created_at":"2018-01-02T14:43:01.000Z","updated_at":"2026-02-01T20:22:40.000Z","dependencies_parsed_at":"2024-02-01T16:16:46.641Z","dependency_job_id":"77d5b83d-9102-480c-a9d6-2bf43abe81fa","html_url":"https://github.com/caarlos0/ctrlc","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/caarlos0/ctrlc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0%2Fctrlc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0%2Fctrlc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0%2Fctrlc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0%2Fctrlc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caarlos0","download_url":"https://codeload.github.com/caarlos0/ctrlc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0%2Fctrlc/sbom","scorecard":{"id":261306,"data":{"date":"2025-08-11","repo":{"name":"github.com/caarlos0/ctrlc","commit":"57d670162663051cb681bc8c003116b09bc4f2dc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/11 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":"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/lint.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":"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/build.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/caarlos0/ctrlc/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/caarlos0/ctrlc/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/caarlos0/ctrlc/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/caarlos0/ctrlc/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/caarlos0/ctrlc/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/caarlos0/ctrlc/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/caarlos0/ctrlc/lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/caarlos0/ctrlc/lint.yml/main?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction 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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md: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":"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/build.yml:12"],"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":"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 20 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-17T10:54:24.999Z","repository_id":28049774,"created_at":"2025-08-17T10:54:24.999Z","updated_at":"2025-08-17T10:54:24.999Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343843146,"owners_count":38242677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-12T02:00:06.297Z","response_time":96,"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":"caarlos0","name":"Carlos Alexandro Becker","uuid":"245435","kind":"user","description":"The @goreleaser guy.","email":"","website":"https://caarlos0.dev","location":"Brazil","twitter":"caarlos0","company":"@github","icon_url":"https://avatars.githubusercontent.com/u/245435?u=016c628e1a5b95034b2b1af297827b7f545809bc\u0026v=4","repositories_count":104,"last_synced_at":"2026-10-11T01:34:22.260Z","metadata":{"has_sponsors_listing":true,"funding":{"github":["caarlos0"]}},"html_url":"https://github.com/caarlos0","funding_links":["https://github.com/sponsors/caarlos0"],"total_stars":13271,"followers":4687,"following":172,"created_at":"2022-11-05T01:42:21.728Z","updated_at":"2026-10-11T01:34:22.277Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caarlos0","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caarlos0/repositories"},"tags":[{"name":"v1.2.0","sha":"f2bfe12c6edae11ecab1122fb5e2261c14348656","kind":"tag","published_at":"2022-08-16T13:03:40.000Z","download_url":"https://codeload.github.com/caarlos0/ctrlc/tar.gz/v1.2.0","html_url":"https://github.com/caarlos0/ctrlc/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/caarlos0/ctrlc@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0%2Fctrlc/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0%2Fctrlc/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"7ef337d0b6bc94791d4ede567230538d02f574f3","kind":"tag","published_at":"2022-06-15T17:50:42.000Z","download_url":"https://codeload.github.com/caarlos0/ctrlc/tar.gz/v1.1.0","html_url":"https://github.com/caarlos0/ctrlc/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/caarlos0/ctrlc@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0%2Fctrlc/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0%2Fctrlc/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"70dc48d5d792f20f684a8f1d29bbac298f4b2ef4","kind":"commit","published_at":"2018-01-02T14:48:29.000Z","download_url":"https://codeload.github.com/caarlos0/ctrlc/tar.gz/v1.0.0","html_url":"https://github.com/caarlos0/ctrlc/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/caarlos0/ctrlc@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0%2Fctrlc/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0%2Fctrlc/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-10-12T19:20:56.043Z","dependent_packages_count":219,"downloads":null,"downloads_period":null,"dependent_repos_count":3442,"rankings":{"downloads":null,"dependent_repos_count":0.1355656544364535,"dependent_packages_count":0.352350820337046,"stargazers_count":9.76949296847129,"forks_count":18.87165773797925,"docker_downloads_count":0.6972090658157766,"average":5.965255249407963},"purl":"pkg:golang/github.com/caarlos0/ctrlc","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/caarlos0/ctrlc","docker_dependents_count":29,"docker_downloads_count":254777,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/caarlos0/ctrlc","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/caarlos0/ctrlc/dependencies","status":null,"funding_links":["https://github.com/sponsors/caarlos0"],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-21T15:41:17.282Z","issues_count":1,"pull_requests_count":41,"avg_time_to_close_issue":645660.0,"avg_time_to_close_pull_request":3298429.0555555555,"issues_closed_count":1,"pull_requests_closed_count":36,"pull_request_authors_count":3,"issue_authors_count":1,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":1.5609756097560976,"merged_pull_requests_count":24,"bot_issues_count":0,"bot_pull_requests_count":40,"past_year_issues_count":0,"past_year_pull_requests_count":3,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":4844499.666666667,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":3,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":3,"past_year_merged_pull_requests_count":3,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/caarlos0%2Fctrlc/issues","maintainers":[{"login":"caarlos0","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/caarlos0"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcaarlos0%2Fctrlc/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcaarlos0%2Fctrlc/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcaarlos0%2Fctrlc/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcaarlos0%2Fctrlc/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcaarlos0%2Fctrlc/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcaarlos0%2Fctrlc/codemeta","maintainers":[]}