{"id":19901922,"url":"https://github.com/hyperledger/fabric-cli","last_synced_at":"2026-03-09T16:35:31.050Z","repository":{"id":46233183,"uuid":"143250004","full_name":"hyperledger/fabric-cli","owner":"hyperledger","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-05T14:49:59.000Z","size":317,"stargazers_count":25,"open_issues_count":4,"forks_count":27,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-01-30T17:46:22.598Z","etag":null,"topics":["fabric-cli","hyperledger"],"latest_commit_sha":null,"homepage":"https://wiki.hyperledger.org/display/fabric","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperledger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-02T06:09:01.000Z","updated_at":"2026-01-27T19:29:19.000Z","dependencies_parsed_at":"2023-10-05T15:44:14.489Z","dependency_job_id":null,"html_url":"https://github.com/hyperledger/fabric-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hyperledger/fabric-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffabric-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffabric-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffabric-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffabric-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperledger","download_url":"https://codeload.github.com/hyperledger/fabric-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffabric-cli/sbom","scorecard":{"id":475406,"data":{"date":"2025-08-11","repo":{"name":"github.com/hyperledger/fabric-cli","commit":"7f578057d75f48d6a2f7deab1fae2ed0a710ba4e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.3,"checks":[{"name":"Code-Review","score":9,"reason":"Found 27/30 approved changesets -- score normalized to 9","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":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.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":"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":"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":"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":"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/build.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/hyperledger/fabric-cli/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/hyperledger/fabric-cli/build.yml/main?enable=pin","Warn: goCommand not pinned by hash: .github/workflows/build.yml:30","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 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":"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: Apache 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":"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":10,"reason":"0 existing vulnerabilities detected","details":null,"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 27 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-19T15:09:27.940Z","repository_id":46233183,"created_at":"2025-08-19T15:09:27.940Z","updated_at":"2025-08-19T15:09:27.940Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30302634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"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":["fabric-cli","hyperledger"],"created_at":"2024-11-12T20:16:38.434Z","updated_at":"2026-03-09T16:35:31.030Z","avatar_url":"https://github.com/hyperledger.png","language":"Go","readme":"[//]: # (SPDX-License-Identifier: CC-BY-4.0)\n\n**Note:** Issue tracking is handled in [Jira](https://jira.hyperledger.org/secure/Dashboard.jspa).\nIf you find any issues or you want to add new features, please work with Jira.\n\nThis repo is going to be used to implement [FAB-10734 Fabric CLI Redesign](https://jira.hyperledger.org/browse/FAB-10734).\nThis is NOT the \"official\" Fabric CLI and there is not yet any commitment that it is going to be.\n\n# Hyperledger Fabric CLI\n\nThe Hyperledger Fabric CLI is a tool used to interact with [Fabric networks](https://hyperledger-fabric.readthedocs.io/en/latest/).  \n\n## Installation\n\n1. Clone this repo\n2. Run `make`\n3. Locate the binary in the `bin` directory\n4. Add the binary to your PATH\n5. Execute `fabric` for more information\n\n## Getting Started\n\n1. Add a Network with `fabric network set`\n2. Add a Context with  `fabric context set`\n3. Use the new context with `fabric context use`\n4. You're all set... Have fun!\n\n## Network\n\nA network is a direct reference to a [Fabric-SDK-Go configuration](https://github.com/hyperledger/fabric-sdk-go/blob/main/pkg/core/config/testdata/config_test.yaml).  This configuration contains all of the necessary details for interacting with a Fabric network at a global scope.\n\n## Context\n\nA context defines the scope for interactions with the network.  An example of this would be: As `Admin`, I want peer `peer0.org1.example.com` in organization `Org1` to join channel `mychannel`.  In this example, the context would include the identity, peer, organization, and channel.\n\n## Built-in Commands\n\nBuilt-in commands can be found in [/cmd/fabric/commands](/cmd/fabric/commands).  These commands can serve as examples for building future commands like `plugin chaincode install ...`.\n\n## Plugins\n\nUsers can create and install custom commands to the Fabric CLI.  The only requirement is that all external commands must provide a `plugin.yaml`.\n\nThe YAML must specify:\n* Name - command name\n* Usage - usage syntax\n* Description - short description shown for help\n* Command - plugin execution\n\nExample plugins can be found in [pkg/plugin/testdata/plugins](pkg/plugin/testdata/plugins).\n\nFor example,if you want to integrate `cryptogen` into `fabric` cmd:\n\n1. Prepare the `plugin.yaml`:\n   ```yaml\n    name: cryptogen\n    usage: cryptogen [\u003cflags\u003e] \u003ccommand\u003e [\u003cargs\u003e ...]\n    description: Utility for generating Hyperledger Fabric key material\n    command: cryptogen\n    ```\n2. Exec the command: \n    ```shell script\n    #PATH is the location of `plugin.yaml`.\n    $fabric plugin install $PATH\n    ```\n3. To enjoy the command:\n    ```\n   $fabric cryptogen ...\n   ```\nYou can integrate some **Go Plugins** or **External Command** into **fabric** cmd, \n\n## Documentation\n* [Design Document](https://docs.google.com/document/d/1zIQrS4TRgQEx1z9-wwtO8tYOGRyWdUoTdfk49GFx1wY/edit?usp=sharing)\n* [User Stories](https://docs.google.com/document/d/1dxOeM85PgrMNQUJMxB2kwhDthyWnzDxdPvjlwk7x4-w/edit?usp=sharing)\n\n## Contributing\n1. Fork this repo on github.\n2. Clone the forked repo to your local enviroment (git clone https://github.com/you_username/fabric-cli.git \u0026\u0026 cd fabric-cli).\n3. Create your feature branch (git checkout -b feature-branch).\n4. Install `gobin` using `GO111MODULE=off go get -u github.com/myitcv/gobin`\n5. Make changes and use `make test` to finish the test.\n6. If test passed, add them (git add .).\n7. Use `make lint` to verify your code.\n8. If correct, commit your changes (git commit -s).\n9. Push to github (git push origin feature-branch).\n10. Create new Pull Request.\n\n## License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nHyperledger Project source code files are made available under the Apache\nLicense, Version 2.0 (Apache-2.0), located in the [LICENSE](LICENSE) file.\nHyperledger Project documentation files are made available under the Creative\nCommons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger%2Ffabric-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperledger%2Ffabric-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger%2Ffabric-cli/lists"}