{"id":42598983,"url":"https://github.com/nspcc-dev/neofs-contract","last_synced_at":"2026-01-29T00:16:17.472Z","repository":{"id":38310833,"uuid":"252229159","full_name":"nspcc-dev/neofs-contract","owner":"nspcc-dev","description":"NeoFS smart-contract","archived":false,"fork":false,"pushed_at":"2026-01-22T15:03:54.000Z","size":3516,"stargazers_count":11,"open_issues_count":37,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-23T05:40:57.191Z","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":"gpl-3.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":"2020-04-01T16:29:10.000Z","updated_at":"2026-01-22T15:04:12.000Z","dependencies_parsed_at":"2024-04-27T07:43:23.505Z","dependency_job_id":"3aace826-c30d-4024-ac40-e305cf0b92ec","html_url":"https://github.com/nspcc-dev/neofs-contract","commit_stats":null,"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/nspcc-dev/neofs-contract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Fneofs-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Fneofs-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Fneofs-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Fneofs-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nspcc-dev","download_url":"https://codeload.github.com/nspcc-dev/neofs-contract/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Fneofs-contract/sbom","scorecard":{"id":26935,"data":{"date":"2025-08-04","repo":{"name":"github.com/nspcc-dev/neofs-contract","commit":"63a8deaafd21ce741d026e3e3973093596e41932"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":4.9,"checks":[{"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":"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":"Maintained","score":10,"reason":"26 commit(s) and 12 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":"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":"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/go.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":"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-contract/dco.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-contract/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-contract/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-contract/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-contract/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-contract/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-contract/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-contract/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/neofs-contract/go.yml/master?enable=pin","Info:   0 out of   6 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: GNU General Public License v3.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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.23.0 not signed: https://api.github.com/repos/nspcc-dev/neofs-contract/releases/224298999","Warn: release artifact v0.22.0 not signed: https://api.github.com/repos/nspcc-dev/neofs-contract/releases/214475663","Warn: release artifact v0.21.0 not signed: https://api.github.com/repos/nspcc-dev/neofs-contract/releases/201092866","Warn: release artifact v0.20.0 not signed: https://api.github.com/repos/nspcc-dev/neofs-contract/releases/167816043","Warn: release artifact v0.19.1 not signed: https://api.github.com/repos/nspcc-dev/neofs-contract/releases/131778930","Warn: release artifact v0.23.0 does not have provenance: https://api.github.com/repos/nspcc-dev/neofs-contract/releases/224298999","Warn: release artifact v0.22.0 does not have provenance: https://api.github.com/repos/nspcc-dev/neofs-contract/releases/214475663","Warn: release artifact v0.21.0 does not have provenance: https://api.github.com/repos/nspcc-dev/neofs-contract/releases/201092866","Warn: release artifact v0.20.0 does not have provenance: https://api.github.com/repos/nspcc-dev/neofs-contract/releases/167816043","Warn: release artifact v0.19.1 does not have provenance: https://api.github.com/repos/nspcc-dev/neofs-contract/releases/131778930"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"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":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 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":6,"reason":"4 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","Warn: Project is vulnerable to: GO-2024-3333"],"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:08:12.809Z","repository_id":38310833,"created_at":"2025-08-14T18:08:12.810Z","updated_at":"2025-08-14T18:08:12.810Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28857412,"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:16.680Z","updated_at":"2026-01-29T00:16:17.446Z","avatar_url":"https://github.com/nspcc-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"./.github/logo.svg\" width=\"500px\" alt=\"NeoFS\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://fs.neo.org\"\u003eNeoFS\u003c/a\u003e related smart contracts.\n\u003c/p\u003e\n\n---\n\n[![codecov](https://codecov.io/gh/nspcc-dev/neofs-contract/branch/master/graph/badge.svg)](https://codecov.io/gh/nspcc-dev/neofs-contract)\n[![GithubWorkflows Tests](https://github.com/nspcc-dev/neofs-contract/actions/workflows/go.yml/badge.svg)](https://github.com/nspcc-dev/neofs-contract/actions/workflows/go.yml)\n[![Report](https://goreportcard.com/badge/github.com/nspcc-dev/neofs-contract)](https://goreportcard.com/report/github.com/nspcc-dev/neofs-contract)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/nspcc-dev/neofs-contract?sort=semver)\n![License](https://img.shields.io/github/license/nspcc-dev/neofs-contract.svg?style=popout)\n\n# Overview\n\nneofs-contract contains all NeoFS-related contracts written for\n[neo-go](https://github.com/nspcc-dev/neo-go) compiler. There are contracts\nboth for the main and FS chains.\n\nMain chain (mainnet) contracts:\n\n- neofs\n- processing\n\nFS chain contracts:\n\n- alphabet\n- balance\n- container\n- netmap\n- nns\n- proxy\n- reputation\n\n# Getting started \n\n## Compilation\n\nTo build and compile smart contract, run `make all` command. Compiled contracts\n`contract.nef` and manifest `manifest.json` files are placed in the\ncorresponding directories. Generated RPC binding files `rpcbinding.go` are\nplaced in the corresponding `rpc` directories.\n\n```\n$ make all\n/home/user/go/bin/cli contract compile -i contracts/alphabet -c contracts/alphabet/config.yml -m contracts/alphabet/manifest.json -o contracts/alphabet/contract.nef --bindings contracts/alphabet/bindings_config.yml\nmkdir -p rpc/alphabet\n/home/user/go/bin/cli contract generate-rpcwrapper -o rpc/alphabet/rpcbinding.go -m contracts/alphabet/manifest.json --config contracts/alphabet/bindings_config.yml\n...\n```\n\nYou can specify path to the `neo-go` binary with `NEOGO` environment variable:\n\n```\n$ NEOGO=/home/user/neo-go/bin/neo-go make all\n```\n\nRemove compiled files with `make clean` command.\n\n## Building Debian package\n\nTo build Debian package containing compiled contracts, run `make debpackage`\ncommand. Package will install compiled contracts `contract.nef` and manifest\n`manifest.json` with corresponding directories to `/var/lib/neofs/contract` for\nfurther usage.\nIt will download and build neo-go, if needed.\n\nTo clean package-related files, use `make debclean`.\n\n# Testing\nSmartcontract tests reside in `tests/` directory. To execute test suite\nafter applying changes, simply run `make test`.\n```\n$ make test\nok      github.com/nspcc-dev/neofs-contract/tests       0.462s\n```\n\n# Comparing contracts content of NeoFS chains\n`scripts` directory contains CLI utilities to compare some of the NeoFS contract\ncontents between two RPC nodes:\n * `compare-fscontent` performs comparison of container blobs and NetMap contract\n   entries.\n * `compare-deposits` performs comparison of mainnet deposits and FS chain balance\n   mints.\n\n# License\n\nContracts are licensed under the GPLv3 license, bindings and other integration\ncode is provided under the Apache 2.0 license - see [LICENSE.md](LICENSE.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnspcc-dev%2Fneofs-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnspcc-dev%2Fneofs-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnspcc-dev%2Fneofs-contract/lists"}