{"id":4212534,"name":"os_socketaddr","ecosystem":"cargo","description":"A type for handling platform-native socket addresses (struct sockaddr)","homepage":null,"licenses":"MIT OR Apache-2.0","normalized_licenses":["MIT","Apache-2.0"],"repository_url":"https://github.com/a-ba/os_socketaddr","keywords_array":["libc","sockaddr","socket"],"namespace":null,"versions_count":8,"first_release_published_at":"2018-04-28T18:36:11.909Z","latest_release_published_at":"2023-06-26T19:11:57.318Z","latest_release_number":"0.2.5","last_synced_at":"2026-09-28T09:23:03.465Z","created_at":"2022-04-12T21:22:02.206Z","updated_at":"2026-09-28T09:23:04.121Z","registry_url":"https://crates.io/crates/os_socketaddr/","install_command":"cargo install os_socketaddr","documentation_url":"https://docs.rs/os_socketaddr/","metadata":{"categories":["network-programming","os","api-bindings"]},"repo_metadata":{"id":54775638,"uuid":"131433753","full_name":"a-ba/os_socketaddr","owner":"a-ba","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-27T07:17:41.000Z","size":22,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-08-24T10:29:06.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a-ba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-28T18:21:37.000Z","updated_at":"2025-09-25T02:22:28.000Z","dependencies_parsed_at":"2025-07-28T20:33:00.367Z","dependency_job_id":"87015a91-89da-4108-ac87-b69c21cf3d2f","html_url":"https://github.com/a-ba/os_socketaddr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a-ba/os_socketaddr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-ba%2Fos_socketaddr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-ba%2Fos_socketaddr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-ba%2Fos_socketaddr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-ba%2Fos_socketaddr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-ba","download_url":"https://codeload.github.com/a-ba/os_socketaddr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-ba%2Fos_socketaddr/sbom","scorecard":{"id":157590,"data":{"date":"2025-08-11","repo":{"name":"github.com/a-ba/os_socketaddr","commit":"d3c19be92844a715fa8f59a4f3243ac4eebb2767"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/24 approved changesets -- score normalized to 0","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":"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":"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":"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/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/a-ba/os_socketaddr/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/a-ba/os_socketaddr/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/a-ba/os_socketaddr/ci.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 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":"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/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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"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 7 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-16T12:17:23.362Z","repository_id":54775638,"created_at":"2025-08-16T12:17:23.362Z","updated_at":"2025-08-16T12:17:23.362Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37433531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-18T02:00:15.364Z","response_time":89,"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"},"owner_record":{"login":"a-ba","name":null,"uuid":"6051986","kind":"user","description":null,"email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/6051986?v=4","repositories_count":16,"last_synced_at":"2023-08-13T00:50:16.945Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/a-ba","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-07T03:06:25.681Z","updated_at":"2023-08-13T00:50:17.132Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-ba","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-ba/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-09-28T09:23:04.121Z","dependent_packages_count":14,"downloads":303900,"downloads_period":"total","dependent_repos_count":9,"rankings":{"downloads":7.05511811023622,"dependent_repos_count":8.078853207912326,"dependent_packages_count":2.7932416007682725,"stargazers_count":34.30136575116314,"forks_count":26.272261289184744,"docker_downloads_count":null,"average":15.700167991852942},"purl":"pkg:cargo/os_socketaddr","advisories":[{"uuid":"GSA_kwCzR0hTQS1jNDM5LWNodjgtOGcyas4AAumV","url":"https://github.com/advisories/GHSA-c439-chv8-8g2j","title":"`os_socketaddr` invalidly assumes the memory layout of std::net::SocketAddr","description":"The [`os_socketaddr`](https://crates.io/crates/os_socketaddr) crate has assumed `std::net::SocketAddrV4` and `std::net::SocketAddrV6` have the same memory layout as the system C representation `sockaddr`. It has simply casted the pointers to convert the socket addresses to the system representation.\n\nThese layout were [changed into idiomatic rust types](https://github.com/rust-lang/rust/pull/78802) in nightly `std`. Starting from rustc 1.64 the affected versions of this crate will have undefined behaviour.\n\n","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2022-09-02T22:29:41.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":0.0,"cvss_vector":null,"references":["https://github.com/a-ba/os_socketaddr/issues/3","https://github.com/rust-lang/rust/pull/78802","https://github.com/a-ba/os_socketaddr/commit/1bc7f71d40de069727993a18fdada33eb0b4c94f","https://rustsec.org/advisories/RUSTSEC-2022-0052.html","https://github.com/advisories/GHSA-c439-chv8-8g2j"],"source_kind":"github","identifiers":["GHSA-c439-chv8-8g2j"],"repository_url":"https://github.com/a-ba/os_socketaddr","blast_radius":0.0,"created_at":"2022-12-21T16:12:00.021Z","updated_at":"2026-04-28T20:09:08.898Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jNDM5LWNodjgtOGcyas4AAumV","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1jNDM5LWNodjgtOGcyas4AAumV","packages":[{"ecosystem":"cargo","package_name":"os_socketaddr","versions":[{"first_patched_version":"0.2.2","vulnerable_version_range":"\u003c 0.2.2"}],"purl":"pkg:cargo/os_socketaddr"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jNDM5LWNodjgtOGcyas4AAumV/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/os_socketaddr","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/cargo/os_socketaddr","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/os_socketaddr/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-27T09:02:20.367Z","issues_count":2,"pull_requests_count":2,"avg_time_to_close_issue":5317675.0,"avg_time_to_close_pull_request":19737731.5,"issues_closed_count":2,"pull_requests_closed_count":2,"pull_request_authors_count":2,"issue_authors_count":2,"avg_comments_per_issue":4.0,"avg_comments_per_pull_request":1.5,"merged_pull_requests_count":2,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-ba%2Fos_socketaddr/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/os_socketaddr/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/os_socketaddr/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/os_socketaddr/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/os_socketaddr/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/os_socketaddr/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/os_socketaddr/codemeta","maintainers":[{"uuid":"20489","login":"a-ba","name":null,"email":null,"url":"https://github.com/a-ba","packages_count":3,"html_url":"https://crates.io/users/a-ba","role":null,"created_at":"2022-11-07T22:48:33.867Z","updated_at":"2022-11-07T22:48:33.867Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/a-ba/packages"}]}