{"id":4070957,"name":"github.com/flamego/validator","ecosystem":"go","description":"Package validator implements value validations for structs and individual fields based on tags.","homepage":"https://github.com/flamego/validator","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/flamego/validator","keywords_array":[],"namespace":"github.com/flamego","versions_count":1,"first_release_published_at":"2021-10-24T10:14:40.000Z","latest_release_published_at":"2021-10-24T10:14:40.000Z","latest_release_number":"v1.0.0","last_synced_at":"2026-08-06T23:45:40.592Z","created_at":"2022-04-12T11:31:47.503Z","updated_at":"2026-08-06T23:46:09.367Z","registry_url":"https://pkg.go.dev/github.com/flamego/validator","install_command":"go get github.com/flamego/validator","documentation_url":"https://pkg.go.dev/github.com/flamego/validator#section-documentation","metadata":{},"repo_metadata":{"id":43275466,"uuid":"398354163","full_name":"flamego/validator","owner":"flamego","description":"💯 Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving","archived":false,"fork":false,"pushed_at":"2023-08-15T02:36:25.000Z","size":1931,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-01-30T02:31:26.964Z","etag":null,"topics":["go","lsif-enabled","validation"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/flamego.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}},"created_at":"2021-08-20T17:31:07.000Z","updated_at":"2024-11-14T22:11:12.000Z","dependencies_parsed_at":"2024-06-20T19:24:41.295Z","dependency_job_id":null,"html_url":"https://github.com/flamego/validator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/flamego/validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamego%2Fvalidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamego%2Fvalidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamego%2Fvalidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamego%2Fvalidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flamego","download_url":"https://codeload.github.com/flamego/validator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamego%2Fvalidator/sbom","scorecard":{"id":402471,"data":{"date":"2025-08-11","repo":{"name":"github.com/flamego/validator","commit":"f010475728f1c37de6df5955ba9b2d5ac3a9183b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Code-Review","score":1,"reason":"Found 4/30 approved changesets -- score normalized to 1","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Warn: no topLevel permission defined: .github/workflows/lsif.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":"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":"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":"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/go.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/validator/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/validator/go.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/validator/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/validator/go.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/validator/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lsif.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/validator/lsif.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lsif.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/validator/lsif.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lsif.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/validator/lsif.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lsif.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/flamego/validator/lsif.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 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":"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":"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":"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":"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: 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":"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":-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":"Vulnerabilities","score":0,"reason":"10 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","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","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2021-0113 / GHSA-ppp9-7jff-5vj2","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp","Warn: Project is vulnerable to: GO-2022-0603 / GHSA-hp87-p4gw-j4gq"],"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 7 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-18T20:23:13.001Z","repository_id":43275466,"created_at":"2025-08-18T20:23:13.001Z","updated_at":"2025-08-18T20:23:13.001Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36354153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"ssl_error","status_checked_at":"2026-08-06T04:43:02.660Z","response_time":54,"last_error":"SSL_read: 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"},"owner_record":{"login":"flamego","name":"Flamego","uuid":"83440738","kind":"organization","description":"A fantastic modular Go web framework with a slim core but limitless extensibility","email":null,"website":"https://flamego.dev","location":null,"twitter":"flamego_dev","company":null,"icon_url":"https://avatars.githubusercontent.com/u/83440738?v=4","repositories_count":20,"last_synced_at":"2026-02-27T01:40:53.488Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/flamego","funding_links":["https://github.com/sponsors/flamego"],"total_stars":730,"followers":27,"following":0,"created_at":"2022-11-14T06:02:19.444Z","updated_at":"2026-02-27T01:40:53.488Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flamego","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flamego/repositories"},"tags":[{"name":"v1.0.0","sha":"b2fe2371fec599b77801650ee11b38be3ca807dc","kind":"commit","published_at":"2021-10-24T10:14:40.000Z","download_url":"https://codeload.github.com/flamego/validator/tar.gz/v1.0.0","html_url":"https://github.com/flamego/validator/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/flamego/validator@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamego%2Fvalidator/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flamego%2Fvalidator/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-08-06T23:46:09.366Z","dependent_packages_count":9,"downloads":null,"downloads_period":null,"dependent_repos_count":4,"rankings":{"downloads":null,"dependent_repos_count":2.539141303061834,"dependent_packages_count":1.8911597232123625,"stargazers_count":9.927122296411124,"forks_count":18.740804334438582,"docker_downloads_count":null,"average":8.274556914280975},"purl":"pkg:golang/github.com/flamego/validator","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/flamego/validator","docker_dependents_count":1,"docker_downloads_count":103,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/flamego/validator","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/flamego/validator/dependencies","status":null,"funding_links":["https://github.com/sponsors/flamego"],"critical":null,"issue_metadata":{"last_synced_at":"2026-01-29T14:15:47.650Z","issues_count":0,"pull_requests_count":9,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":169435.125,"issues_closed_count":0,"pull_requests_closed_count":8,"pull_request_authors_count":2,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":1.222222222222222,"merged_pull_requests_count":7,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"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/flamego%2Fvalidator/issues","maintainers":[{"login":"unknwon","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/unknwon"},{"login":"wuhan005","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/wuhan005"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fflamego%2Fvalidator/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fflamego%2Fvalidator/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fflamego%2Fvalidator/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fflamego%2Fvalidator/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fflamego%2Fvalidator/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fflamego%2Fvalidator/codemeta","maintainers":[]}