{"id":37334514,"uuid":"193160679","full_name":"sqlc-dev/sqlc","owner":"sqlc-dev","description":"Generate type-safe code from SQL","archived":false,"fork":false,"pushed_at":"2026-06-17T16:05:35.000Z","size":23575,"stargazers_count":17889,"open_issues_count":696,"forks_count":1057,"subscribers_count":82,"default_branch":"main","last_synced_at":"2026-06-18T16:34:42.951Z","etag":null,"topics":["code-generator","go","kotlin","mysql","orm","postgresql","python","sql","sqlite"],"latest_commit_sha":null,"homepage":"https://sqlc.dev","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/sqlc-dev.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["kyleconroy"]}},"created_at":"2019-06-21T21:11:35.000Z","updated_at":"2026-06-18T11:39:50.000Z","dependencies_parsed_at":"2023-07-26T17:54:51.315Z","dependency_job_id":"49118a5c-1021-4acc-9be1-a116fecc73c8","html_url":"https://github.com/sqlc-dev/sqlc","commit_stats":{"total_commits":1032,"total_committers":155,"mean_commits":6.658064516129032,"dds":0.5562015503875969,"last_synced_commit":"a8a9ff91f32f9495b74b2b2d26ee5947daf7204f"},"previous_names":["kyleconroy/dinosql","sqlc-dev/sqlc","kyleconroy/sqlc"],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/sqlc-dev/sqlc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlc-dev%2Fsqlc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlc-dev%2Fsqlc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlc-dev%2Fsqlc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlc-dev%2Fsqlc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sqlc-dev","download_url":"https://codeload.github.com/sqlc-dev/sqlc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlc-dev%2Fsqlc/sbom","scorecard":{"id":575223,"data":{"date":"2025-08-11","repo":{"name":"github.com/sqlc-dev/sqlc","commit":"fe96e1237e98aa4a3e9d6f8a543ab357b2e827a9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.2,"checks":[{"name":"Maintained","score":10,"reason":"27 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/buf.yml:1","Warn: no topLevel permission defined: .github/workflows/ci-kotlin.yml:1","Warn: no topLevel permission defined: .github/workflows/ci-python.yml:1","Warn: no topLevel permission defined: .github/workflows/ci-typescript.yml:1","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/gen.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":"Code-Review","score":6,"reason":"Found 12/19 approved changesets -- score normalized to 6","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":"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":"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":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: GoBuiltInFuzzer integration found: internal/codegen/golang/opts/override_test.go:103","Info: GoBuiltInFuzzer integration found: internal/config/config_test.go:72"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/buf.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/buf.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/buf.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/buf.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/buf.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/buf.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-kotlin.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci-kotlin.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-kotlin.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci-kotlin.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-kotlin.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci-kotlin.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-python.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci-python.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-python.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci-python.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-python.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci-python.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-typescript.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci-typescript.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-typescript.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci-typescript.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-typescript.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci-typescript.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:81: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gen.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/gen.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gen.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/gen.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gen.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/sqlc-dev/sqlc/gen.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:2","Warn: containerImage not pinned by hash: Dockerfile:16: pin your Docker image by updating gcr.io/distroless/base-debian12 to gcr.io/distroless/base-debian12@sha256:4f6e739881403e7d50f52a4e574c4e3c88266031fd555303ee2f1ba262523d6a","Warn: goCommand not pinned by hash: .github/workflows/ci.yml:37","Info:   0 out of  15 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   6 out of   7 goCommand 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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT 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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.29.0 not signed: https://api.github.com/repos/sqlc-dev/sqlc/releases/213007211","Warn: release artifact v1.28.0 not signed: https://api.github.com/repos/sqlc-dev/sqlc/releases/195704518","Warn: release artifact v1.27.0 not signed: https://api.github.com/repos/sqlc-dev/sqlc/releases/168783842","Warn: release artifact v1.26.0 not signed: https://api.github.com/repos/sqlc-dev/sqlc/releases/148944178","Warn: release artifact v1.25.0 not signed: https://api.github.com/repos/sqlc-dev/sqlc/releases/135758673","Warn: release artifact v1.29.0 does not have provenance: https://api.github.com/repos/sqlc-dev/sqlc/releases/213007211","Warn: release artifact v1.28.0 does not have provenance: https://api.github.com/repos/sqlc-dev/sqlc/releases/195704518","Warn: release artifact v1.27.0 does not have provenance: https://api.github.com/repos/sqlc-dev/sqlc/releases/168783842","Warn: release artifact v1.26.0 does not have provenance: https://api.github.com/repos/sqlc-dev/sqlc/releases/148944178","Warn: release artifact v1.25.0 does not have provenance: https://api.github.com/repos/sqlc-dev/sqlc/releases/135758673"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-2606 / GHSA-7jwh-3vrq-q3m8 / GHSA-mrww-27vc-gghv","Warn: Project is vulnerable to: GO-2024-2605 / GHSA-m7wr-2xf7-cm9p","Warn: Project is vulnerable to: GO-2024-2567 / GHSA-fqpg-rq76-99pq","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77"],"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-20T17:29:57.561Z","repository_id":37334514,"created_at":"2025-08-20T17:29:57.562Z","updated_at":"2025-08-20T17:29:57.562Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34843146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"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"}}