{"id":3763393,"name":"github.com/hashicorp/dbassert","ecosystem":"go","description":"Package dbassert provides a set of assertions for testing Go database applications.","homepage":"https://github.com/hashicorp/dbassert","licenses":"MPL-2.0","normalized_licenses":["MPL-2.0"],"repository_url":"https://github.com/hashicorp/dbassert","keywords_array":[],"namespace":"github.com/hashicorp","versions_count":8,"first_release_published_at":"2021-07-08T20:26:08.000Z","latest_release_published_at":"2023-10-12T10:50:25.000Z","latest_release_number":"v0.0.0-20231012105025-1bc1bd88e22b","last_synced_at":"2026-09-21T10:11:53.512Z","created_at":"2022-04-11T16:06:19.632Z","updated_at":"2026-09-21T19:51:28.743Z","registry_url":"https://pkg.go.dev/github.com/hashicorp/dbassert","install_command":"go get github.com/hashicorp/dbassert","documentation_url":"https://pkg.go.dev/github.com/hashicorp/dbassert#section-documentation","metadata":{},"repo_metadata":{"id":57546371,"uuid":"268156018","full_name":"hashicorp/dbassert","owner":"hashicorp","description":"Go database assert package","archived":false,"fork":false,"pushed_at":"2026-06-29T23:33:26.000Z","size":212,"stargazers_count":20,"open_issues_count":8,"forks_count":3,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-09-21T09:54:05.649Z","etag":null,"topics":["db","golang","testing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hashicorp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","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-05-30T20:38:42.000Z","updated_at":"2026-09-14T13:45:08.000Z","dependencies_parsed_at":"2025-06-16T17:26:38.972Z","dependency_job_id":"1d34aa25-7347-432c-a758-2fcfacf7abfa","html_url":"https://github.com/hashicorp/dbassert","commit_stats":{"total_commits":20,"total_committers":6,"mean_commits":"3.3333333333333335","dds":0.5,"last_synced_commit":"1bc1bd88e22b317e8c04a72d9fb5b7aa969f2edd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hashicorp/dbassert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fdbassert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fdbassert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fdbassert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fdbassert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashicorp","download_url":"https://codeload.github.com/hashicorp/dbassert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fdbassert/sbom","scorecard":{"id":457007,"data":{"date":"2025-08-11","repo":{"name":"github.com/hashicorp/dbassert","commit":"4861aad89c464547a0a8058dd8d3191f80edbd4a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":7.2,"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":"Maintained","score":10,"reason":"18 commit(s) and 0 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":"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":8,"reason":"Found 7/8 approved changesets -- score normalized to 8","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: no topLevel permission defined: .github/workflows/build_test.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.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":10,"reason":"all dependencies are pinned","details":["Info:   7 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 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:0","Info: FSF or OSI recognized license: Mozilla Public 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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/hashicorp/.github/SECURITY.md:1","Info: Found linked content: github.com/hashicorp/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/hashicorp/.github/SECURITY.md:1","Info: Found text in security policy: github.com/hashicorp/.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":"Branch-Protection","score":6,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Info: 'stale review dismissal' is required to merge on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Info: codeowner review is required on branch 'main'","Info: 'last push approval' is required to merge on branch 'main'","Warn: no status checks found to merge onto branch 'main'","Info: PRs are required in order to make changes on 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":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3829 / GHSA-4vq8-7jfc-9cvp","Warn: Project is vulnerable to: GO-2025-3787 / GHSA-fv92-fjc5-jj9h"],"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":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 9 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-19T09:58:42.653Z","repository_id":57546371,"created_at":"2025-08-19T09:58:42.653Z","updated_at":"2025-08-19T09:58:42.653Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37573941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-21T02:00:06.232Z","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":"hashicorp","name":"HashiCorp","uuid":"761456","kind":"organization","description":"Consistent workflows to provision, secure, connect, and run any infrastructure for any application.","email":"hello@hashicorp.com","website":"https://hashicorp.com","location":"San Francisco, CA","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/761456?v=4","repositories_count":944,"last_synced_at":"2026-09-21T09:42:55.820Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/hashicorp","funding_links":[],"total_stars":338000,"followers":10893,"following":0,"created_at":"2022-11-02T16:21:47.799Z","updated_at":"2026-09-21T09:42:55.843Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashicorp","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashicorp/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-09-21T19:51:28.742Z","dependent_packages_count":12,"downloads":null,"downloads_period":null,"dependent_repos_count":13,"rankings":{"downloads":null,"dependent_repos_count":1.477211367317961,"dependent_packages_count":1.486710797352159,"stargazers_count":10.41807491550507,"forks_count":13.455087253311909,"docker_downloads_count":1.3337570337771196,"average":5.634168273452843},"purl":"pkg:golang/github.com/hashicorp/dbassert","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/hashicorp/dbassert","docker_dependents_count":9,"docker_downloads_count":606,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/hashicorp/dbassert","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/hashicorp/dbassert/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-08-06T11:10:03.742Z","issues_count":0,"pull_requests_count":55,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":1824280.0,"issues_closed_count":0,"pull_requests_closed_count":44,"pull_request_authors_count":11,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.2,"merged_pull_requests_count":34,"bot_issues_count":0,"bot_pull_requests_count":44,"past_year_issues_count":0,"past_year_pull_requests_count":29,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":487935.1904761905,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":21,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.27586206896551724,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":28,"past_year_merged_pull_requests_count":13,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashicorp%2Fdbassert/issues","maintainers":[{"login":"jefferai","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jefferai"},{"login":"mohanmanikanta2299","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mohanmanikanta2299"},{"login":"CreatorHead","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/CreatorHead"},{"login":"mgaffney","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mgaffney"}],"active_maintainers":[{"login":"CreatorHead","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/CreatorHead"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fhashicorp%2Fdbassert/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fhashicorp%2Fdbassert/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fhashicorp%2Fdbassert/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fhashicorp%2Fdbassert/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fhashicorp%2Fdbassert/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fhashicorp%2Fdbassert/codemeta","maintainers":[]}