{"id":46915640,"url":"https://github.com/hashmatter/p3lib","last_synced_at":"2026-03-11T02:31:01.749Z","repository":{"id":57484974,"uuid":"166391611","full_name":"hashmatter/p3lib","owner":"hashmatter","description":"privacy preserving primitives and protocols (p3) for routing and messaging in P2P networks","archived":false,"fork":false,"pushed_at":"2020-06-28T22:53:15.000Z","size":120,"stargazers_count":90,"open_issues_count":16,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-06-19T01:51:15.786Z","etag":null,"topics":["anonymous","messaging","p2p","privacy-enhancing-technologies"],"latest_commit_sha":null,"homepage":"https://hashmatter.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hashmatter.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}},"created_at":"2019-01-18T11:00:52.000Z","updated_at":"2024-06-05T05:34:02.000Z","dependencies_parsed_at":"2022-08-26T13:23:42.073Z","dependency_job_id":null,"html_url":"https://github.com/hashmatter/p3lib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hashmatter/p3lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashmatter%2Fp3lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashmatter%2Fp3lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashmatter%2Fp3lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashmatter%2Fp3lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashmatter","download_url":"https://codeload.github.com/hashmatter/p3lib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashmatter%2Fp3lib/sbom","scorecard":{"id":457245,"data":{"date":"2025-08-11","repo":{"name":"github.com/hashmatter/p3lib","commit":"a3f0f6aee3f98d01b7379b505e3e34d487e8c3a0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"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":"Code-Review","score":1,"reason":"Found 2/20 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":"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":"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":"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":"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":"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"}},{"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":"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":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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 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":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-1148 / GHSA-j7qp-mfxf-8xjw","Warn: Project is vulnerable to: GO-2023-2024 / GHSA-gcq9-qqwx-rgj3","Warn: Project is vulnerable to: GO-2023-2000 / GHSA-876p-8259-xjgg","Warn: Project is vulnerable to: GO-2024-3218 / GHSA-mqr9-hjr8-2m9w","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T10:03:00.371Z","repository_id":57484974,"created_at":"2025-08-19T10:03:00.371Z","updated_at":"2025-08-19T10:03:00.371Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30367814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"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":["anonymous","messaging","p2p","privacy-enhancing-technologies"],"created_at":"2026-03-11T02:31:01.187Z","updated_at":"2026-03-11T02:31:01.738Z","avatar_url":"https://github.com/hashmatter.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# p3lib\n\n[![Build Status](https://api.travis-ci.org/hashmatter/p3lib.svg)](https://travis-ci.org/hashmatter/p3lib) ![Version](https://img.shields.io/badge/version-0.1-blue.svg)\n\n**The toolbox for enhancing privacy in P2P networks**\n\np3lib implements a set of privacy preserving primitives and protocols that help\nengineers to build P2P and decentralized systems that protect peer's privacy. \n\nThe primitives implemented by p3lib are based on privacy enhancing technology\nresearch:\n\n- `p3lib-sphinx` implements a general-purpose onion routing packet\nconstruction and processor based on Sphinx [1]. p3lib aims at adding more primitives and\nprotocols in the future. Stay tuned and [let us know what you'd like to see as part of p3lib](https://github.com/hashmatter/p3lib/issues/18)\nlibrary.\n\n- `p3lib-fullrt` implements a full routing table DHT lookup for libp2p that was\n  suggested by OctupusDHT [2], to protect DHT initiator privacy during the\nrecursive network lookup.\n\n- `p3lib-sinkhole` is a computational PIR system [3] that complements DHT lookups\n\tand guarantees probavle privacy for DHT lookup initiators\n\n\n| Layer | p3lib components | implementation status |\n| --- | --- | --- |\n| Packet format  | `p3lib-sphinx` [1]  | v0.1 |\n| Full Routing Table request | `p3lib-fullrt` [2] | v0.1 |\n| Sinkhole DHT | `p3lib-sinkhole` | specs |\n\nIf you are interested about implementation details and APIs of p3lib components,\ncheck the [specifications](./specs).\n\np3lib is designed to integrate seamlessly with [libp2p](https://github.com/libp2p).\n\nDo you have ideas about some rad stuff you'd like to see implemented by p3lib?\nOpen an issue or [let's have a chat](https://twitter.com/gpestana)!.\n\n### References\n\n[1] [Sphinx: A Compact and Provably Secure Mix Format](https://www.cypherpunks.ca/~iang/pubs/SphinxOR.pdf)\n\n[3] [Private Information Retrieval](https://wikipedia.com/Private_information_retrieval)\n\n### Contributing\n\nFork and PR. Issues for discussion.\n\n### License and support\n\n© MIT (hashmatter)\n\nThis work is supported by [hashmatter](https://hashmatter.com). Want to become\na supporter? [Reach out!](mailto:mx@hashmatter.com?subject=[p3lib]%20Become%20a%20backer!)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashmatter%2Fp3lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashmatter%2Fp3lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashmatter%2Fp3lib/lists"}