{"id":42599007,"url":"https://github.com/nspcc-dev/neofs-sdk-go","last_synced_at":"2026-01-29T00:16:22.932Z","repository":{"id":37420028,"uuid":"342175998","full_name":"nspcc-dev/neofs-sdk-go","owner":"nspcc-dev","description":"Go implementation of NeoFS SDK","archived":false,"fork":false,"pushed_at":"2026-01-20T08:47:32.000Z","size":4014,"stargazers_count":8,"open_issues_count":92,"forks_count":15,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-01-20T13:49:59.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/nspcc-dev.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":"2021-02-25T08:35:03.000Z","updated_at":"2026-01-19T14:06:58.000Z","dependencies_parsed_at":"2023-10-02T07:28:28.385Z","dependency_job_id":"fd3dd48a-423c-40dc-9f76-4e87a62c3bb7","html_url":"https://github.com/nspcc-dev/neofs-sdk-go","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/nspcc-dev/neofs-sdk-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Fneofs-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Fneofs-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Fneofs-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Fneofs-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nspcc-dev","download_url":"https://codeload.github.com/nspcc-dev/neofs-sdk-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Fneofs-sdk-go/sbom","scorecard":{"id":28533,"data":{"date":"2025-08-04","repo":{"name":"github.com/nspcc-dev/neofs-sdk-go","commit":"d8a4c4116cbd59f6ef03e7b6d22e11ca042bfa4f"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":6.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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/dco.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 3 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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/dco.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-sdk-go/dco.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-sdk-go/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-sdk-go/tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-sdk-go/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-sdk-go/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-sdk-go/tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-sdk-go/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:99: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-sdk-go/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:103: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-sdk-go/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:114: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-sdk-go/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:128: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-sdk-go/tests.yml/master?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"SAST","score":9,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 28 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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T18:29:16.468Z","repository_id":37420028,"created_at":"2025-08-14T18:29:16.468Z","updated_at":"2025-08-14T18:29:16.468Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28857417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2026-01-29T00:16:22.307Z","updated_at":"2026-01-29T00:16:22.927Z","avatar_url":"https://github.com/nspcc-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![codecov](https://codecov.io/gh/nspcc-dev/neofs-sdk-go/branch/master/graph/badge.svg)](https://codecov.io/gh/nspcc-dev/neofs-sdk-go)\n[![Report](https://goreportcard.com/badge/github.com/nspcc-dev/neofs-sdk-go)](https://goreportcard.com/report/github.com/nspcc-dev/neofs-sdk-go)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/nspcc-dev/neofs-sdk-go?sort=semver)\n![License](https://img.shields.io/github/license/nspcc-dev/neofs-sdk-go.svg?style=popout)\n\n# neofs-sdk-go\nGo implementation of NeoFS SDK. It contains high-level version-independent wrappers\nfor structures from [proto](https://github.com/nspcc-dev/neofs-sdk-go/proto) packages as well as\nhelper functions for simplifying node/dApp implementations.\n\n## Repository structure\n\n### accounting\nContains fixed-point `Decimal` type for performing balance calculations.\n\n### eacl\nContains Extended ACL types for fine-grained access control.\nThere is also a reference implementation of checking algorithm which is used in NeoFS node.\n\n### checksum\nContains `Checksum` type encapsulating checksum as well as it's kind.\nCurrently Sha256 and [Tillich-Zemor hashsum](https://github.com/nspcc-dev/tzhash) are in use.\n\n### bearer\nContains Bearer token type with several NeoFS-specific methods.\n\n### session\nTo help lightweight clients interact with NeoFS without sacrificing trust, NeoFS has a concept\nof session token. It is signed by client and allows any node with which a session is established\nto perform certain actions on behalf of the user.\n\n### client\nContains client for working with NeoFS.\n```go\nvar prmInit client.PrmInit\nprmInit.SetDefaultPrivateKey(key) // private key for request signing\n\nc, err := client.New(prmInit)\nif err != nil {\n    return\n}\n\nvar prmDial client.PrmDial\nprmDial.SetServerURI(\"grpcs://localhost:40005\") // endpoint address\n\nerr := c.Dial(prmDial)\nif err != nil {\n    return\n}\n    \nctx, cancel := context.WithTimeout(context.Background(), 5 * time.Second)\ndefer cancel()\n\nvar prm client.PrmBalanceGet\nprm.SetAccount(acc)\n\nres, err := c.BalanceGet(ctx, prm)\nif err != nil {\n    return\n}\n\nfmt.Printf(\"Balance for %s: %v\\n\", acc, res.Amount())\n```\n\n#### Response status\nIn NeoFS every operation can fail on multiple levels, so a single `error` doesn't suffice,\ne.g. consider a case when object was put on 4 out of 5 replicas. Thus, all request execution\ndetails are contained in `Status` returned from every RPC call. dApp can inspect them\nif needed and perform any desired action. In the case above we may want to report\nthese details to the user as well as retry an operation, possibly with different parameters.\nStatus wire-format is extendable and each node can report any set of details it wants.\nThe set of reserved status codes can be found in\n[NeoFS API](https://github.com/nspcc-dev/neofs-api/blob/master/status/types.proto).\n\n### netmap\nContains CRUSH-like implementation of container node selection algorithm. Relevant details\nare described in this paper http://ceur-ws.org/Vol-2344/short10.pdf . Note that it can be\noutdated in some details.\n\n`netmap/json_tests` subfolder contains language-agnostic tests for selection algorithm. \n\n```go\nimport (\n    \"github.com/nspcc-dev/neofs-sdk-go/netmap\"\n    \"github.com/nspcc-dev/neofs-sdk-go/object\"\n)\n\nfunc placementNodes(addr *object.Address, p *netmap.PlacementPolicy, neofsNodes []netmap.NodeInfo) {\n    // Convert list of nodes in NeoFS API format to the intermediate representation.\n    nodes := netmap.NodesFromInfo(nodes)\n\n    // Create new netmap (errors are skipped for the sake of clarity). \n    nm, _ := NewNetmap(nodes)\n\n    // Calculate nodes of container.\n    cn, _ := nm.GetContainerNodes(p, addr.ContainerID().ToV2().GetValue())\n\n    // Return list of nodes for each replica to place object on in the order of priority.\n    return nm.GetPlacementVectors(cn, addr.ObjectID().ToV2().GetValue())\n}\n```\n\n### pool\nSimple pool for managing connections to NeoFS nodes.\n\n### checksum, version\nContain simple API wrappers.\n\n## Development\n\n### NeoFS API protocol codegen\nGo code for NeoFS protocol messages, client and server is in `api` directory.\nTo compile source files from https://github.com/nspcc-dev/neofs-api repository,\nclone it first and then exec:\n```\n$ ./scripts/genapi.sh /path/to/neofs-api\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnspcc-dev%2Fneofs-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnspcc-dev%2Fneofs-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnspcc-dev%2Fneofs-sdk-go/lists"}