{"id":13480674,"url":"https://github.com/mongodb/mongo-c-driver","last_synced_at":"2025-11-11T20:57:33.081Z","repository":{"id":37549924,"uuid":"9735077","full_name":"mongodb/mongo-c-driver","owner":"mongodb","description":"The Official MongoDB driver for C language","archived":false,"fork":false,"pushed_at":"2025-10-01T14:39:46.000Z","size":190566,"stargazers_count":850,"open_issues_count":11,"forks_count":455,"subscribers_count":86,"default_branch":"master","last_synced_at":"2025-10-01T16:33:05.448Z","etag":null,"topics":["c","mongodb","mongodb-driver","nosql"],"latest_commit_sha":null,"homepage":"https://www.mongodb.com/docs/drivers/c/","language":"C","has_issues":false,"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/mongodb.png","metadata":{"files":{"readme":"README.rst","changelog":"NEWS","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","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":"2013-04-28T19:34:36.000Z","updated_at":"2025-10-01T14:39:51.000Z","dependencies_parsed_at":"2024-01-02T14:47:09.598Z","dependency_job_id":"8b5162ff-b0db-43cd-8952-e4da29863178","html_url":"https://github.com/mongodb/mongo-c-driver","commit_stats":{"total_commits":7271,"total_committers":154,"mean_commits":"47.214285714285715","dds":0.6975656718470638,"last_synced_commit":"e71642a4b4cd964f1d3b91e753af6c43971956ac"},"previous_names":[],"tags_count":265,"template":false,"template_full_name":null,"purl":"pkg:github/mongodb/mongo-c-driver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-c-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-c-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-c-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-c-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb","download_url":"https://codeload.github.com/mongodb/mongo-c-driver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-c-driver/sbom","scorecard":{"id":658473,"data":{"date":"2025-08-11","repo":{"name":"github.com/mongodb/mongo-c-driver","commit":"8f760c4d79d9d078e24a42d0c5a55622da58bf15"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.2,"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/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":"Maintained","score":10,"reason":"30 commit(s) and 0 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: COPYING:0","Info: FSF or OSI recognized license: Apache License 2.0: COPYING: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":8,"reason":"5 out of the last 5 releases have a total of 5 signed artifacts.","details":["Info: signed release artifact: mongo-c-driver-2.1.0.tar.gz.asc: https://github.com/mongodb/mongo-c-driver/releases/tag/2.1.0","Info: signed release artifact: mongo-c-driver-2.0.2.tar.gz.asc: https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.2","Info: signed release artifact: mongo-c-driver-1.30.5.tar.gz.asc: https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.5","Info: signed release artifact: mongo-c-driver-2.0.1.tar.gz.asc: https://github.com/mongodb/mongo-c-driver/releases/tag/2.0.1","Info: signed release artifact: mongo-c-driver-1.30.4.tar.gz.asc: https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.4","Warn: release artifact 2.1.0 does not have provenance: https://api.github.com/repos/mongodb/mongo-c-driver/releases/236870166","Warn: release artifact 2.0.2 does not have provenance: https://api.github.com/repos/mongodb/mongo-c-driver/releases/224132388","Warn: release artifact 1.30.5 does not have provenance: https://api.github.com/repos/mongodb/mongo-c-driver/releases/224125050","Warn: release artifact 2.0.1 does not have provenance: https://api.github.com/repos/mongodb/mongo-c-driver/releases/216801361","Warn: release artifact 1.30.4 does not have provenance: https://api.github.com/repos/mongodb/mongo-c-driver/releases/216792410"],"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":5,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'master'","Warn: 'stale review dismissal' is disabled on branch 'master'","Warn: required approving review count is 1 on branch 'master'","Info: codeowner review is required on branch 'master'","Warn: 'last push approval' is disabled on branch 'master'","Warn: no status checks found to merge onto branch 'master'","Info: PRs are required in order to make changes on 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":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2019-217 / GHSA-462w-v97r-4m45","Warn: Project is vulnerable to: PYSEC-2014-8 / GHSA-8r7q-cvjq-x353","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: PYSEC-2014-82 / GHSA-fqh9-2qgg-h84h","Warn: Project is vulnerable to: PYSEC-2021-66 / GHSA-g3rq-g295-4j3m","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: PYSEC-2019-220 / GHSA-hj2j-77xm-mc5v","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":10,"reason":"project is fuzzed","details":["Info: CLibFuzzer integration found: src/libbson/fuzz/init-from-json.c:8","Info: CLibFuzzer integration found: src/libbson/fuzz/utf8-escape-for-json.c:4"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"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"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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"}}]},"last_synced_at":"2025-08-21T15:22:11.593Z","repository_id":37549924,"created_at":"2025-08-21T15:22:11.593Z","updated_at":"2025-08-21T15:22:11.593Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278266901,"owners_count":25958733,"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-10-04T02:00:05.491Z","response_time":63,"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":["c","mongodb","mongodb-driver","nosql"],"created_at":"2024-07-31T17:00:43.460Z","updated_at":"2025-10-04T04:36:30.336Z","avatar_url":"https://github.com/mongodb.png","language":"C","readme":"==============\nmongo-c-driver\n==============\n\nAbout\n=====\n\nmongo-c-driver is a project that includes two libraries:\n\n- libmongoc, a client library written in C for MongoDB.\n- libbson, a library providing useful routines related to building, parsing, and iterating BSON documents.\n\nIf libmongoc is not needed, it is possible to build and install only libbson.\n\nThis project uses `Semantic Versioning \u003chttps://semver.org/\u003e`_.\n\nDocumentation / Support / Feedback\n==================================\n\nThe documentation is available at `MongoDB C Driver Docs \u003chttps://www.mongodb.com/docs/drivers/c/\u003e`_ and https://www.mongoc.org.\nFor issues with, questions about, or feedback for libmongoc, please look into\nour `support channels \u003chttps://www.mongodb.org/about/support\u003e`_. Please\ndo not email any of the libmongoc developers directly with issues or\nquestions - you're more likely to get an answer on the `MongoDB Community Forums`_ or `StackOverflow \u003chttps://stackoverflow.com/questions/tagged/mongodb+c\u003e`_.\n\nBugs / Feature Requests\n=======================\n\nThink you’ve found a bug? Want to see a new feature in libmongoc? Please open a\ncase in our issue management tool, JIRA:\n\n- `Create an account and login \u003chttps://jira.mongodb.org\u003e`_.\n- Navigate to `the CDRIVER project \u003chttps://jira.mongodb.org/browse/CDRIVER\u003e`_.\n- Click **Create Issue** - Please provide as much information as possible about the issue type and how to reproduce it.\n\nBug reports in JIRA for all driver projects (i.e. CDRIVER, CSHARP, JAVA) and the\nCore Server (i.e. SERVER) project are **public**.\n\nHow To Ask For Help\n-------------------\n\nIf you are having difficulty building the driver after reading the below instructions, please post on\nthe `MongoDB Community Forums`_ to ask for help. Please include in your post all of the following\ninformation:\n\n- The version of the driver you are trying to build (branch or tag).\n    - Examples: ``r1.17`` (branch), ``1.9.5`` (tag)\n- Host OS, version, and architecture.\n    - Examples: Windows 10 64-bit x86, Ubuntu 16.04 64-bit x86, macOS 11.0\n- C Compiler and version.\n    - Examples: GCC 7.3.0, Visual Studio Community 2017, clang 3.9, XCode 9.3\n- Run CMake with ``--log-level=debug`` and ``--log-context`` for more verbose output.\n- The output of any ``cmake``, ``make``, or other commands executed during the build.\n- The text of the error you encountered.\n\nFailure to include the relevant information will delay a useful response.\nHere is a made-up example of a help request that provides the relevant\ninformation:\n\n  Hello, I'm trying to build the C driver with Kerberos support, from\n  mongo-c-driver-1.9.5.tar.gz. I'm on Ubuntu 16.04, 64-bit Intel, with gcc\n  5.4.0. I run CMake like::\n\n    $ cmake .\n    -- The C compiler identification is ;GNU 5.4.0\n    -- Check for working C compiler: /usr/bin/cc\n    -- Check for working C compiler: /usr/bin/cc -- works\n\n    ... SNIPPED OUTPUT, but when you ask for help, include full output without any omissions ...\n\n    -- Searching for libsasl2\n    --   Not found (specify -DCMAKE_LIBRARY_PATH=/path/to/sasl/lib for SASL support)\n    CMake Error at CMakeLists.txt:10 (_message):\n        SASL not found\n\n  Can you tell me what I need to install? Thanks!\n\n.. _MongoDB Community Forums: https://www.mongodb.com/community/forums/tags/c/data/drivers/7/c-driver\n\nSecurity Vulnerabilities\n------------------------\n\nIf you’ve identified a security vulnerability in a driver or any other\nMongoDB project, please report it according to the `instructions here\n\u003chttps://www.mongodb.com/docs/manual/tutorial/create-a-vulnerability-report\u003e`_.\n\n\nInstallation\n============\n\nDetailed installation instructions are in the manual:\nhttps://www.mongodb.com/docs/languages/c/c-driver/current/libmongoc/tutorials/obtaining-libraries/\n\n\nResources\n============\n\n* `Getting Started Tutorial \u003chttps://www.mongodb.com/docs/languages/c/c-driver/current/libmongoc/tutorial\u003e`_.\n* `MongoDB C Driver Examples \u003chttps://github.com/mongodb/mongo-c-driver/tree/master/src/libmongoc/examples\u003e`_.\n* Tutorials, videos, and code examples using the MongoDB C Driver can also be found in the `MongoDB Developer Center \u003chttps://www.mongodb.com/developer/languages/c/\u003e`_.\n","funding_links":[],"categories":["Database","C","Libraries"],"sub_categories":["C"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fmongo-c-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb%2Fmongo-c-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fmongo-c-driver/lists"}