{"id":13492198,"url":"https://github.com/nih-at/libzip","last_synced_at":"2026-02-21T11:31:42.806Z","repository":{"id":37502671,"uuid":"51913230","full_name":"nih-at/libzip","owner":"nih-at","description":"A C library for reading, creating, and modifying zip archives.","archived":false,"fork":false,"pushed_at":"2026-01-23T09:40:58.000Z","size":48071,"stargazers_count":978,"open_issues_count":1,"forks_count":307,"subscribers_count":33,"default_branch":"main","last_synced_at":"2026-01-24T02:40:09.531Z","etag":null,"topics":["archive","compression","encryption","library","zip"],"latest_commit_sha":null,"homepage":"https://libzip.org/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nih-at.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-02-17T10:07:33.000Z","updated_at":"2026-01-23T09:41:03.000Z","dependencies_parsed_at":"2025-01-20T11:24:08.242Z","dependency_job_id":"729c463c-3d43-4d6f-a972-61026cc4c6eb","html_url":"https://github.com/nih-at/libzip","commit_stats":{"total_commits":3303,"total_committers":75,"mean_commits":44.04,"dds":0.5189221919467151,"last_synced_commit":"f8c294ade0f795d70fa65ce700081e8d118ecb2b"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/nih-at/libzip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nih-at%2Flibzip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nih-at%2Flibzip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nih-at%2Flibzip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nih-at%2Flibzip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nih-at","download_url":"https://codeload.github.com/nih-at/libzip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nih-at%2Flibzip/sbom","scorecard":{"id":9658,"data":{"date":"2025-08-04","repo":{"name":"github.com/nih-at/libzip","commit":"542fc1cd52aa0551422a147c731e6f6d0417c73a"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":6.4,"checks":[{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Maintained","score":10,"reason":"16 commit(s) and 4 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":"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":"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":"Code-Review","score":1,"reason":"Found 3/29 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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:26","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:27","Info: topLevel 'contents' permission set to 'read': .github/workflows/CIFuzz.yml:4","Info: topLevel 'contents' permission set to 'read': .github/workflows/bsd.yml:4","Info: topLevel 'contents' permission set to 'read': .github/workflows/build.yml:4","Info: topLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:18","Info: topLevel 'contents' permission set to 'read': .github/workflows/coverity.yml:10","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":"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":"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found","Info: CLibFuzzer integration found: ossfuzz/fuzz_main.c:7","Info: CLibFuzzer integration found: ossfuzz/fuzz_main.c:49","Info: CLibFuzzer integration found: ossfuzz/zip_read_file_fuzzer.c:52","Info: CLibFuzzer integration found: ossfuzz/zip_read_fuzzer.c:10","Info: CLibFuzzer integration found: ossfuzz/zip_write_encrypt_aes256_file_fuzzer.c:22","Info: CLibFuzzer integration found: ossfuzz/zip_write_encrypt_pkware_file_fuzzer.c:23"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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 v1.11.4 not signed: https://api.github.com/repos/nih-at/libzip/releases/220654367","Warn: release artifact v1.11.3 not signed: https://api.github.com/repos/nih-at/libzip/releases/195620417","Warn: release artifact v1.11.2 not signed: https://api.github.com/repos/nih-at/libzip/releases/183018824","Warn: release artifact v1.11.1 not signed: https://api.github.com/repos/nih-at/libzip/releases/175867056","Warn: release artifact v1.11 not signed: https://api.github.com/repos/nih-at/libzip/releases/175847614","Warn: release artifact v1.11.4 does not have provenance: https://api.github.com/repos/nih-at/libzip/releases/220654367","Warn: release artifact v1.11.3 does not have provenance: https://api.github.com/repos/nih-at/libzip/releases/195620417","Warn: release artifact v1.11.2 does not have provenance: https://api.github.com/repos/nih-at/libzip/releases/183018824","Warn: release artifact v1.11.1 does not have provenance: https://api.github.com/repos/nih-at/libzip/releases/175867056","Warn: release artifact v1.11 does not have provenance: https://api.github.com/repos/nih-at/libzip/releases/175847614"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"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/CIFuzz.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/CIFuzz.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/CIFuzz.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/CIFuzz.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CIFuzz.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/CIFuzz.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bsd.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/bsd.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/bsd.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/bsd.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/coverity.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/coverity.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/coverity.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/nih-at/libzip/coverity.yml/main?enable=pin","Warn: containerImage not pinned by hash: android/docker/Dockerfile:41: pin your Docker image by updating ubuntu:18.04 to ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98","Warn: pipCommand not pinned by hash: .github/workflows/build.yml:42","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 pipCommand 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":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 4 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"}}]},"last_synced_at":"2025-08-14T14:17:43.972Z","repository_id":37502671,"created_at":"2025-08-14T14:17:43.972Z","updated_at":"2025-08-14T14:17:43.972Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T11:29:27.227Z","status":"ssl_error","status_checked_at":"2026-02-21T11:29:20.292Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["archive","compression","encryption","library","zip"],"created_at":"2024-07-31T19:01:03.940Z","updated_at":"2026-02-21T11:31:42.801Z","avatar_url":"https://github.com/nih-at.png","language":"C","funding_links":[],"categories":["C","Compression"],"sub_categories":[],"readme":"# libzip\n\n## A C Library for Reading, Creating, and Modifying Zip Archives\n\n## Why Use libzip?\n\nlibzip has been continuously developed since 2005. It is efficient, small, and flexible. It is usable on Linux, macOS, and Windows and many other operating systems.\n\nThe main design criteria are:\n\n- Maintain a stable API without breaking backwards compatibility.\n- Do not create corrupt files, even in case of errors.\n- Do not delete data.\n- Be efficient.\n\nIt supports the following features:\n\n- Reading archives and file data from files or memory buffers\n- Reverting unsaved changes\n- Zip64 large archives\n- Deflate, bzip2, LZMA, and zstd compression\n- Winzip AES and legacy PKWARE encryption\n\nThe [BSD license](LICENSE) used for libzip allows its use in commercial products.\n\n## Who Uses libzip?\n\nlibzip is used in major open source projects like [KDE](https://kde.org/), [Chromium](https://www.chromium.org/Home), [ImageMagick](https://github.com/ImageMagick/ImageMagick/), and [VeraCrypt](https://www.veracrypt.fr/).\n\nCommercial products using libzip include [Lightroom from Adobe](https://lightroom.adobe.com/) and the [Kobo eReader](http://www.kobo.com/desktop).\n\nThere are also bindings for other programming languages: [Python](https://github.com/KOLANICH-libs/libzip.py), [Ruby](http://rubygems.org/gems/zipruby/), [Lua](https://github.com/brimworks/lua-zip), [PHP](http://pecl.php.net/package/zip), and others.\n\nThere is a more complete [list of projects](https://libzip.org/users/).\n\n## Getting Started\n\nMost Linux and other Unix distributions include libzip in their package distributions, it is usually called `libzip` or `libzip-dev`.\n\nOn macOS, it is included in both Homebrew and Mac Ports.\n\nOn Windows, it is in vcpkg.\n\nA list of available packages can be found on [Repology](https://repology.org/project/libzip/versions).\n\nFor building and installing libzip from source, see the [INSTALL.md](INSTALL.md) file.\n\n## Using libzip\n\nlibzip is fully documented via man pages. HTML versions of the man\npages are on [libzip.org](https://libzip.org/documentation/) and in the [man](man) directory. You can start with\n[libzip(3)](https://libzip.org/documentation/libzip.html), which lists\nall others. Example source code is in the [examples](examples) and\n[src](src) subdirectories.\n\nIf you have developed an application using libzip, you can find out\nabout API changes and how to adapt your code for them in the included\nfile [API-CHANGES.md](API-CHANGES.md).\n\n## Staying in Touch\n\nMore information and the latest version can always be found on [libzip.org](https://libzip.org). The official repository is at [GitHub](https://github.com/nih-at/libzip/).\n\nIf you want to reach the authors in private, use \u003cinfo@libzip.org\u003e.\n\n[![Packaging status](https://repology.org/badge/tiny-repos/libzip.svg)](https://repology.org/project/libzip/versions)\n\n[![Github Actions Build Status](https://github.com/nih-at/libzip/workflows/build/badge.svg)](https://github.com/nih-at/libzip/actions?query=workflow%3Abuild)\n[![Appveyor Build status](https://ci.appveyor.com/api/projects/status/f1bqqt9djvf22f5g?svg=true)](https://ci.appveyor.com/project/nih-at/libzip)\n[![Coverity Status](https://scan.coverity.com/projects/127/badge.svg)](https://scan.coverity.com/projects/libzip)\n[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/libzip.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened\u0026can=1\u0026q=proj:libzip)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnih-at%2Flibzip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnih-at%2Flibzip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnih-at%2Flibzip/lists"}