{"id":43674969,"url":"https://github.com/indece-official/clair-client","last_synced_at":"2026-02-05T00:49:26.857Z","repository":{"id":64303569,"uuid":"360288463","full_name":"indece-official/clair-client","owner":"indece-official","description":"Command line client for quay/clair v4.x.x","archived":false,"fork":false,"pushed_at":"2022-04-13T01:53:40.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T03:44:44.976Z","etag":null,"topics":["clair","clair-scanner","docker","docker-security","security","security-tools"],"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/indece-official.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}},"created_at":"2021-04-21T19:48:46.000Z","updated_at":"2024-06-20T03:44:44.977Z","dependencies_parsed_at":"2023-01-15T10:00:41.589Z","dependency_job_id":null,"html_url":"https://github.com/indece-official/clair-client","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/indece-official/clair-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indece-official%2Fclair-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indece-official%2Fclair-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indece-official%2Fclair-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indece-official%2Fclair-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indece-official","download_url":"https://codeload.github.com/indece-official/clair-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indece-official%2Fclair-client/sbom","scorecard":{"id":487178,"data":{"date":"2025-08-11","repo":{"name":"github.com/indece-official/clair-client","commit":"2813118e76eb4b6c8ac09b5b7257e2dab23117b1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"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":"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/9 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":"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":"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":"SAST","score":10,"reason":"SAST tool detected: CodeQL","details":["Info: SAST configuration detected: CodeQL","Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/indece-official/clair-client/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/indece-official/clair-client/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/indece-official/clair-client/codeql-analysis.yml/master?enable=pin","Warn: goCommand not pinned by hash: .github/workflows/codeql-analysis.yml:55","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   2 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":"Token-Permissions","score":9,"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/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":"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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.1 not signed: https://api.github.com/repos/indece-official/clair-client/releases/41801815","Warn: release artifact v1.0.0 not signed: https://api.github.com/repos/indece-official/clair-client/releases/41799830","Warn: release artifact v1.0.1 does not have provenance: https://api.github.com/repos/indece-official/clair-client/releases/41801815","Warn: release artifact v1.0.0 does not have provenance: https://api.github.com/repos/indece-official/clair-client/releases/41799830"],"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":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0379 / GHSA-qq97-vm5h-rrhg","Warn: Project is vulnerable to: GHSA-hqxw-f8mx-cpmw","Warn: Project is vulnerable to: GHSA-77vh-xpmg-72qh"],"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-19T18:07:06.880Z","repository_id":64303569,"created_at":"2025-08-19T18:07:06.880Z","updated_at":"2025-08-19T18:07:06.880Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29104233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T22:44:52.815Z","status":"ssl_error","status_checked_at":"2026-02-04T22:44:16.428Z","response_time":62,"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"}},"keywords":["clair","clair-scanner","docker","docker-security","security","security-tools"],"created_at":"2026-02-05T00:49:26.095Z","updated_at":"2026-02-05T00:49:26.849Z","avatar_url":"https://github.com/indece-official.png","language":"Go","readme":"# clair-client\nCommand line client for [quay/clair v4](https://github.com/quay/clair/)\n\n## Installation\n* Download [latest Release](https://github.com/indece-official/clair-client/releases/latest)\n* Move binary to `/usr/local/bin/clair-client`\n\n## Usage\n```\n$\u003e clair-client -docker-registry https://docker.mysite.com -image myorg/myimage:latest -docker-username myusername -docker-password mypassword -clair-url https://clair.mysite.com  -whitelist ./config/whitelist\n```\n\n```\nUsage of clair-client:\n  -clair-index-timeout int\n        Index timeout for clair (default 120s)\n  -clair-password string\n        Clair password\n  -clair-url string\n        Clair URL\n  -clair-username string\n        Clair username\n  -docker-password string\n        Docker registry password\n  -docker-registry string\n        Docker Registry\n  -docker-username string\n        Docker registry username\n  -image string\n        Url of docker image\n  -max-severity string\n        Maximum severity regarded as ok (default \"Medium\")\n  -quiet\n        Be quiet\n  -v    \n        Print the version info and exit\n  -whitelist string\n        Name of whitelist file for CVEs\n```\n\nOutput:\n```\nLogging into docker registry https://docker.mysite.com ...\nLoading docker manifest for image myorg/myimage:latest from registry ...\nIndexing docker manifest in clair ...\nWaiting for indexing of docker manifest in clair to finish ...\nGenerating vulnerability report ...\nProcessing vulnerability report ...\n\n+--------------------------------+----------+--------------------------------+---------+-----------+-------------+\n| VULNERABILITY                  | SEVERITY | COMPONENT                      | VERSION | FIXEDIN   | WHITELISTED |\n+--------------------------------+----------+--------------------------------+---------+-----------+-------------+\n| CVE-2021-22890                 | Unknown  | Alpine Linux v3.12 \u003e curl      |         | 7.76.0-r0 | false       |\n| pyup.io-39252                  | Unknown  | cryptography                   | \u003c3.3    |           | false       |\n| pyup.io-39606 (CVE-2020-36242) | Unknown  | cryptography                   | \u003c3.3.2  |           | false       |\n| pyup.io-38932 (CVE-2020-25659) | Unknown  | cryptography                   | \u003c=3.2   |           | false       |\n| CVE-2021-30139                 | Unknown  | Alpine Linux v3.12 \u003e apk-tools |         | 2.10.6-r0 | true        |\n| CVE-2020-8284                  | Unknown  | Alpine Linux v3.12 \u003e curl      |         | 7.74.0-r0 | false       |\n| CVE-2021-22876                 | Unknown  | Alpine Linux v3.12 \u003e curl      |         | 7.76.0-r0 | false       |\n+--------------------------------+----------+--------------------------------+---------+-----------+-------------+\n\nFound 0 vulnerabilities with severity 'Medium' or more (0 whitelisted)\n\n```\n\nExits with code 1 when non-whitelisted vulnerabilities with an severity above `max-severity` were found.\n\n### Whitelist file\nExample:\n\n```\n# This is a comment\nCVE-2021-30139\nCVE-2020-8284\n```\n\n### Tested Clair-Servers\n| Version | Status |\n| --- | --- |\n| v4.0.5 | OK |\n| v4.1.0 | OK |\n\n## Development\n### Snapshot build\n\n```\n$\u003e make --always-make\n```\n\n### Release build\n\n```\n$\u003e BUILD_VERSION=1.0.0 make --always-make\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findece-official%2Fclair-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findece-official%2Fclair-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findece-official%2Fclair-client/lists"}