{"id":28458789,"url":"https://github.com/openmined/sycret","last_synced_at":"2025-08-28T06:14:22.036Z","repository":{"id":37219064,"uuid":"308124020","full_name":"OpenMined/sycret","owner":"OpenMined","description":"Function Secret Sharing library for Python and Rust with hardware acceleration (PETS '22)","archived":false,"fork":false,"pushed_at":"2023-07-24T07:57:25.000Z","size":476,"stargazers_count":58,"open_issues_count":12,"forks_count":9,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-07-09T06:42:09.345Z","etag":null,"topics":["python","rust"],"latest_commit_sha":null,"homepage":"https://openmined.github.io/sycret/","language":"Rust","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/OpenMined.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},"funding":{"github":"openmined","open_collective":"openmined"}},"created_at":"2020-10-28T19:44:58.000Z","updated_at":"2025-06-05T07:29:30.000Z","dependencies_parsed_at":"2022-06-22T10:11:34.527Z","dependency_job_id":null,"html_url":"https://github.com/OpenMined/sycret","commit_stats":{"total_commits":134,"total_committers":5,"mean_commits":26.8,"dds":0.582089552238806,"last_synced_commit":"6f745306fb7771a88981b1b61645029097a41174"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/OpenMined/sycret","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fsycret","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fsycret/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fsycret/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fsycret/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenMined","download_url":"https://codeload.github.com/OpenMined/sycret/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fsycret/sbom","scorecard":{"id":105432,"data":{"date":"2025-08-11","repo":{"name":"github.com/OpenMined/sycret","commit":"6f745306fb7771a88981b1b61645029097a41174"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"Code-Review","score":1,"reason":"Found 3/18 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":"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":"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":"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":"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":"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":"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/codeql-analysis.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/docs.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docs.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/docs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-ci.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/python-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-ci.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/python-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python-ci.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/python-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpublish-linux.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/pythonpublish-linux.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pythonpublish-linux.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/pythonpublish-linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpublish-linux.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/pythonpublish-linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpublish-linux.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/pythonpublish-linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpublish-linux.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/pythonpublish-linux.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:89: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:107: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:110: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:116: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:122: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:132: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:134: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:142: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:150: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:159: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:161: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:167: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/sycret/rust-ci.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/pythonpublish-linux.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/pythonpublish-linux.yml:29","Warn: downloadThenRun not pinned by hash: .github/workflows/pythonpublish-linux.yml:40","Warn: pipCommand not pinned by hash: .github/workflows/pythonpublish-linux.yml:43","Warn: downloadThenRun not pinned by hash: .github/workflows/pythonpublish-linux.yml:52","Warn: pipCommand not pinned by hash: .github/workflows/pythonpublish-linux.yml:56","Info:   0 out of  18 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  20 third-party GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned","Info:   0 out of   2 downloadThenRun 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/docs.yml:1","Warn: no topLevel permission defined: .github/workflows/python-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/pythonpublish-linux.yml:1","Warn: no topLevel permission defined: .github/workflows/rust-ci.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":"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":"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":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2022-180 / GHSA-m87f-39q9-6f55","Warn: Project is vulnerable to: PYSEC-2022-212 / GHSA-v7vq-3x77-87vg","Warn: Project is vulnerable to: PYSEC-2018-34 / GHSA-2fc2-6r4j-p65h","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2018-33 / GHSA-cw6w-4rcx-xphc","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2017-1 / GHSA-frgw-fgh6-9g52","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p"],"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":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 21 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-15T11:00:07.169Z","repository_id":37219064,"created_at":"2025-08-15T11:00:07.169Z","updated_at":"2025-08-15T11:00:07.169Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272452483,"owners_count":24937465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["python","rust"],"created_at":"2025-06-07T00:39:48.430Z","updated_at":"2025-08-28T06:14:22.017Z","avatar_url":"https://github.com/OpenMined.png","language":"Rust","funding_links":["https://github.com/sponsors/openmined","https://opencollective.com/openmined"],"categories":[],"sub_categories":[],"readme":"# Sycret\n\nPython library for [Function Secret Sharing](https://eprint.iacr.org/2018/707) with an efficient Rust backend using the AES-NI hardware acceleration. It is used in [PySyft](https://github.com/OpenMined/PySyft) for [ARIANN: Low-Interaction Privacy-Preserving Deep Learning via Function Secret Sharing](https://arxiv.org/abs/2006.04593).\n\n**Disclaimer.** Sycret is not production-ready yet. It is intended for research and prototyping purposes. \n\n\n## Installation\n\n```bash\npip install sycret\n```\n\n## Integration with PySyft\n\nThe Python package is called from PySyft, like in [this branch](https://github.com/OpenMined/PySyft/blob/49b1d03de1ba82c4043dc63772ed0ebba7aad6c7/syft/frameworks/torch/mpc/fss.py#L317).\n\n\n## Development instructions\n\n### Structure\n\n- `src`: the Rust crate.\n- `rustfss`: the Python package calling the Rust crate with [Maturin](https://github.com/PyO3/maturin). \n- `tests`: tests for the Rust crate.\n- `test`: tests for the Python wrapper.\n\n### Build\n\n- Create a Python environment from `dev-requirements.txt`\n- `maturin develop -b cffi --release` to build the crate, bind it to the Python package and install the package locally.\n\n### Test\n- `cargo test` to test the Rust functionality.\n- `pytest test` to test the Python package.\n\n### Publish \n\nSee [docs/publish.md](https://github.com/OpenMined/sycret/blob/master/docs/publish.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmined%2Fsycret","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmined%2Fsycret","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmined%2Fsycret/lists"}