{"id":3501355,"name":"github.com/cloudflare/tableflip","ecosystem":"go","description":"Package tableflip implements zero downtime upgrades.","homepage":"https://github.com/cloudflare/tableflip","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/cloudflare/tableflip","keywords_array":[],"namespace":"github.com/cloudflare","versions_count":6,"first_release_published_at":"2019-07-16T10:48:42.000Z","latest_release_published_at":"2022-03-30T17:12:35.000Z","latest_release_number":"v1.2.3","latest_published_release_number":"v1.2.3","last_synced_at":"2026-10-27T09:03:04.925Z","created_at":"2022-04-10T20:12:10.025Z","updated_at":"2026-10-27T09:03:04.925Z","registry_url":"https://pkg.go.dev/github.com/cloudflare/tableflip","install_command":"go get github.com/cloudflare/tableflip","documentation_url":"https://pkg.go.dev/github.com/cloudflare/tableflip#section-documentation","metadata":null,"repo_metadata":{"id":38904260,"uuid":"148815853","full_name":"cloudflare/tableflip","owner":"cloudflare","description":"Graceful process restarts in Go","archived":false,"fork":false,"pushed_at":"2026-04-23T22:28:41.000Z","size":76,"stargazers_count":3215,"open_issues_count":18,"forks_count":158,"subscribers_count":38,"default_branch":"master","last_synced_at":"2026-10-19T05:23:28.645Z","etag":null,"topics":["go","golang","graceful-restarts"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudflare.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,"accessibility":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,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null}},"created_at":"2018-09-14T16:37:37.000Z","updated_at":"2026-10-18T13:42:21.000Z","dependencies_parsed_at":"2026-10-19T01:29:33.169Z","dependency_job_id":null,"html_url":"https://github.com/cloudflare/tableflip","commit_stats":{"total_commits":64,"total_committers":15,"mean_commits":4.266666666666667,"dds":0.375,"last_synced_commit":"b3a0d54308fba327fb463cc1a3c11d3607deea53"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/cloudflare/tableflip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudflare","download_url":"https://codeload.github.com/cloudflare/tableflip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/sbom","scorecard":{"id":292592,"data":{"date":"2025-08-11","repo":{"name":"github.com/cloudflare/tableflip","commit":"64983fb2d863b805bc6ddd0d1163b08c6e627a86"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Code-Review","score":4,"reason":"Found 7/17 approved changesets -- score normalized to 4","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":"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":"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":"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":"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/semgrep.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudflare/tableflip/semgrep.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudflare/tableflip/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudflare/tableflip/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudflare/tableflip/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudflare/tableflip/test.yml/master?enable=pin","Info:   0 out of   5 GitHub-owned 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/semgrep.yml:1","Warn: no topLevel permission defined: .github/workflows/test.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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" 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":"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":"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"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/cloudflare/.github/SECURITY.md:1","Info: Found linked content: github.com/cloudflare/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/cloudflare/.github/SECURITY.md:1","Info: Found text in security policy: github.com/cloudflare/.github/SECURITY.md:1"],"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":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8"],"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 29 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-17T18:39:43.006Z","repository_id":38904260,"created_at":"2025-08-17T18:39:43.006Z","updated_at":"2025-08-17T18:39:43.006Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38349691,"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-19T02:00:06.414Z","response_time":53,"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":"cloudflare","name":"Cloudflare","uuid":"314135","kind":"organization","description":"","email":null,"website":"https://www.cloudflare.com","location":"San Francisco, London, Austin, Lisbon, Singapore","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/314135?v=4","repositories_count":454,"last_synced_at":"2024-04-14T06:37:39.634Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/cloudflare","funding_links":[],"total_stars":143015,"followers":5086,"following":0,"created_at":"2022-11-02T16:32:28.917Z","updated_at":"2024-04-14T06:39:14.488Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudflare","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudflare/repositories"},"tags":[{"name":"v1.2.3","sha":"b3a0d54308fba327fb463cc1a3c11d3607deea53","kind":"commit","published_at":"2022-03-30T17:12:35.000Z","download_url":"https://codeload.github.com/cloudflare/tableflip/tar.gz/v1.2.3","html_url":"https://github.com/cloudflare/tableflip/releases/tag/v1.2.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cloudflare/tableflip@v1.2.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags/v1.2.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags/v1.2.3/manifests"},{"name":"v1.2.2","sha":"9fd66fb495501f213e91b585e291d5fa76f7e166","kind":"commit","published_at":"2021-01-25T14:23:27.000Z","download_url":"https://codeload.github.com/cloudflare/tableflip/tar.gz/v1.2.2","html_url":"https://github.com/cloudflare/tableflip/releases/tag/v1.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cloudflare/tableflip@v1.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags/v1.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags/v1.2.2/manifests"},{"name":"v1.2.1","sha":"cae714b289e199db5da5f08af861ea65be6232c0","kind":"commit","published_at":"2021-01-22T18:28:28.000Z","download_url":"https://codeload.github.com/cloudflare/tableflip/tar.gz/v1.2.1","html_url":"https://github.com/cloudflare/tableflip/releases/tag/v1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cloudflare/tableflip@v1.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags/v1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags/v1.2.1/manifests"},{"name":"v1.2.0","sha":"ad79e1f268eddc5ba2700097d5688846edfc0f33","kind":"commit","published_at":"2020-04-30T16:37:07.000Z","download_url":"https://codeload.github.com/cloudflare/tableflip/tar.gz/v1.2.0","html_url":"https://github.com/cloudflare/tableflip/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cloudflare/tableflip@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"ea2ef0dc0d915e0cb48c40c2d2aefd57e9682ae9","kind":"commit","published_at":"2020-04-28T09:18:22.000Z","download_url":"https://codeload.github.com/cloudflare/tableflip/tar.gz/v1.1.0","html_url":"https://github.com/cloudflare/tableflip/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cloudflare/tableflip@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"ac9d683a1add3b25b6aa70fdf700563b71972de9","kind":"commit","published_at":"2019-07-16T10:48:42.000Z","download_url":"https://codeload.github.com/cloudflare/tableflip/tar.gz/v1.0.0","html_url":"https://github.com/cloudflare/tableflip/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cloudflare/tableflip@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-10-19T05:33:35.189Z","dependent_packages_count":87,"downloads":null,"downloads_period":null,"dependent_repos_count":127,"rankings":{"downloads":null,"dependent_repos_count":0.542393032473763,"dependent_packages_count":0.5385031228991994,"stargazers_count":1.3410213905130093,"forks_count":2.38092388344634,"docker_downloads_count":0.1734500705170787,"average":0.9952582999698782},"purl":"pkg:golang/github.com/cloudflare/tableflip","advisories":[{"uuid":"MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWdtcTItMzlmZi1mNXFn","url":"https://github.com/advisories/GHSA-gmq2-39ff-f5qg","title":"A failed upgrade may lead to hung goroutines","description":"### Impact\nProcesses using tableflip may encounter hung goroutines in the parent process, after a failed upgrade.\n\nThe Go runtime has annoying behaviour around setting and clearing\nO_NONBLOCK: exec.Cmd.Start() ends up calling os.File.Fd() for any\nfile in exec.Cmd.ExtraFiles. os.File.Fd() disables both the use\nof the runtime poller for the file and clears O_NONBLOCK from\nthe underlying open file descriptor.\n\nThis can lead to goroutines hanging in a parent process, after at least\none failed upgrade. The bug manifests in goroutines which rely on\neither a deadline or interruption via Close() to be unblocked being stuck\nin read or accept like syscalls. As far as I can tell we've not experienced\nthis problem in production, so it's most likely quite rare.\n\n### Patches\nThe problem has been fixed in v1.2.2.\n\n### Workarounds\nNone.\n\n### References\n* https://github.com/cloudflare/tableflip/commit/cae714b289e199db5da5f08af861ea65be6232c0","origin":"UNSPECIFIED","severity":"LOW","published_at":"2021-05-21T16:25:48.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":0.0,"cvss_vector":null,"references":["https://github.com/cloudflare/tableflip/security/advisories/GHSA-gmq2-39ff-f5qg","https://github.com/cloudflare/tableflip/commit/cae714b289e199db5da5f08af861ea65be6232c0","https://github.com/advisories/GHSA-gmq2-39ff-f5qg"],"source_kind":"github","identifiers":["GHSA-gmq2-39ff-f5qg"],"repository_url":"https://github.com/cloudflare/tableflip","blast_radius":0.0,"created_at":"2022-12-21T16:13:01.417Z","updated_at":"2026-05-04T17:10:50.740Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWdtcTItMzlmZi1mNXFn","html_url":"https://advisories.ecosyste.ms/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWdtcTItMzlmZi1mNXFn","packages":[{"ecosystem":"go","package_name":"github.com/cloudflare/tableflip","versions":[{"first_patched_version":"1.2.2","vulnerable_version_range":"\u003c 1.2.1"}],"purl":"pkg:go/github.com%2Fcloudflare%2Ftableflip"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWdtcTItMzlmZi1mNXFn/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/cloudflare/tableflip","docker_dependents_count":77,"docker_downloads_count":410884890,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/cloudflare/tableflip","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/cloudflare/tableflip/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-07T19:36:03.407Z","issues_count":30,"pull_requests_count":54,"avg_time_to_close_issue":3472641.1578947366,"avg_time_to_close_pull_request":571775.7777777778,"issues_closed_count":19,"pull_requests_closed_count":45,"pull_request_authors_count":26,"issue_authors_count":26,"avg_comments_per_issue":2.466666666666667,"avg_comments_per_pull_request":1.1666666666666667,"merged_pull_requests_count":34,"bot_issues_count":0,"bot_pull_requests_count":1,"past_year_issues_count":2,"past_year_pull_requests_count":5,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":1909835.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":4,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudflare%2Ftableflip/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcloudflare%2Ftableflip/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcloudflare%2Ftableflip/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcloudflare%2Ftableflip/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcloudflare%2Ftableflip/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcloudflare%2Ftableflip/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcloudflare%2Ftableflip/codemeta","maintainers":[]}