{"id":17297362,"url":"https://github.com/lucab/memfd-rs","last_synced_at":"2025-09-07T08:44:11.189Z","repository":{"id":32903703,"uuid":"145612850","full_name":"lucab/memfd-rs","owner":"lucab","description":"A pure-Rust library to work with Linux memfd","archived":false,"fork":false,"pushed_at":"2025-09-01T14:05:01.000Z","size":100,"stargazers_count":35,"open_issues_count":5,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-06T10:57:02.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crates.io/crates/memfd","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/lucab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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}},"created_at":"2018-08-21T19:56:16.000Z","updated_at":"2025-09-01T14:04:36.000Z","dependencies_parsed_at":"2024-06-19T16:02:12.209Z","dependency_job_id":"4a7ed345-6f66-48f0-bfee-f3544bebb86f","html_url":"https://github.com/lucab/memfd-rs","commit_stats":{"total_commits":68,"total_committers":9,"mean_commits":7.555555555555555,"dds":0.6176470588235294,"last_synced_commit":"354dc873a860b222102e95d9750208527567109f"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/lucab/memfd-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucab%2Fmemfd-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucab%2Fmemfd-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucab%2Fmemfd-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucab%2Fmemfd-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucab","download_url":"https://codeload.github.com/lucab/memfd-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucab%2Fmemfd-rs/sbom","scorecard":{"id":601658,"data":{"date":"2025-08-11","repo":{"name":"github.com/lucab/memfd-rs","commit":"5203af38695fa04e2d04876de99c3c0a36e8b234"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/memfd.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":"Code-Review","score":5,"reason":"Found 7/13 approved changesets -- score normalized to 5","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":"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/memfd.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/memfd.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/memfd.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/memfd.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/memfd.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/memfd.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/memfd.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/memfd.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/memfd.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/memfd.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/memfd.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/memfd.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/memfd.yml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/memfd.yml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/memfd.yml:99: update your workflow using https://app.stepsecurity.io/secureworkflow/lucab/memfd-rs/memfd.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  12 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE: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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T00:35:44.927Z","repository_id":32903703,"created_at":"2025-08-21T00:35:44.927Z","updated_at":"2025-08-21T00:35:44.927Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273997155,"owners_count":25204479,"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-09-07T02:00:09.463Z","response_time":67,"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":[],"created_at":"2024-10-15T11:15:42.002Z","updated_at":"2025-09-07T08:44:11.152Z","avatar_url":"https://github.com/lucab.png","language":"Rust","readme":"# memfd\n\n[![crates.io](https://img.shields.io/crates/v/memfd.svg)](https://crates.io/crates/memfd)\n[![Documentation](https://docs.rs/memfd/badge.svg)](https://docs.rs/memfd)\n\nA pure-Rust library to work with Linux memfd and seals.\n\nIt provides support for creating `memfd` objects on Linux\nand handling seals on them. This was first introduced in\nLinux kernel 3.17.\nFor further details, see `memfd_create(2)` manpage.\n\n## Example\n\n```rust\nextern crate memfd;\nuse memfd::errors::Result;\n\nfn new_sized_memfd() -\u003e Result\u003cmemfd::Memfd\u003e {\n    // Create a sealable memfd.\n    let opts = memfd::MemfdOptions::default().allow_sealing(true);\n    let mfd = opts.create(\"sized-1K\")?;\n\n    // Resize to 1024B.\n    mfd.as_file().set_len(1024)?;\n\n    // Add seals to prevent further resizing.\n    let mut seals = memfd::SealsHashSet::new();\n    seals.insert(memfd::FileSeal::SealShrink);\n    seals.insert(memfd::FileSeal::SealGrow);\n    mfd.add_seals(\u0026seals)?;\n\n    // Prevent further sealing changes.\n    mfd.add_seal(memfd::FileSeal::SealSeal);\n\n    Ok(mfd)\n}\n```\n\nSome more examples are available under [examples](examples).\n\n## License\n\nLicensed under either of\n\n * MIT license - \u003chttp://opensource.org/licenses/MIT\u003e\n * Apache License, Version 2.0 - \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e\n\nat your option.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucab%2Fmemfd-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucab%2Fmemfd-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucab%2Fmemfd-rs/lists"}