{"id":4291614,"name":"sudo_plugin","ecosystem":"cargo","description":"Macros to easily write custom sudo plugins","homepage":"https://github.com/square/sudo_pair","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/square/sudo_pair","keywords_array":["sudo","sudo-plugin"],"namespace":null,"versions_count":3,"first_release_published_at":"2018-05-07T18:11:38.558Z","latest_release_published_at":"2020-03-26T08:19:57.025Z","latest_release_number":"1.2.0","last_synced_at":"2026-05-11T13:03:01.885Z","created_at":"2022-04-13T05:59:19.020Z","updated_at":"2026-05-11T13:03:01.885Z","registry_url":"https://crates.io/crates/sudo_plugin/","install_command":"cargo install sudo_plugin","documentation_url":"https://docs.rs/sudo_plugin/","metadata":{"categories":["external-ffi-bindings"]},"repo_metadata":{"id":32287833,"uuid":"132163916","full_name":"square/sudo_pair","owner":"square","description":"Plugin for sudo that requires another human to approve and monitor privileged sudo sessions","archived":false,"fork":false,"pushed_at":"2023-09-06T20:36:20.000Z","size":1562,"stargazers_count":1260,"open_issues_count":20,"forks_count":46,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-10-16T19:07:21.019Z","etag":null,"topics":["authentication","compliance","linux","pairing","pam","rust","security","sudo"],"latest_commit_sha":null,"homepage":"","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/square.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}},"created_at":"2018-05-04T16:27:51.000Z","updated_at":"2025-10-16T13:44:32.000Z","dependencies_parsed_at":"2024-01-08T07:57:59.912Z","dependency_job_id":"602cd269-8bca-4273-9acd-c36a1cbd09ef","html_url":"https://github.com/square/sudo_pair","commit_stats":{"total_commits":281,"total_committers":10,"mean_commits":28.1,"dds":0.09252669039145911,"last_synced_commit":"cf471074712acaf4f938b6845a2fb9b211c1da79"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/square/sudo_pair","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fsudo_pair","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fsudo_pair/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fsudo_pair/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fsudo_pair/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/square","download_url":"https://codeload.github.com/square/sudo_pair/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/square%2Fsudo_pair/sbom","scorecard":{"id":843232,"data":{"date":"2025-08-11","repo":{"name":"github.com/square/sudo_pair","commit":"cf471074712acaf4f938b6845a2fb9b211c1da79"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"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":"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":"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":"Code-Review","score":1,"reason":"Found 2/15 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/audit.yml:1","Warn: no topLevel permission defined: .github/workflows/rust.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":"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":"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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/audit.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/square/sudo_pair/audit.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/audit.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/square/sudo_pair/audit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/square/sudo_pair/rust.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/square/sudo_pair/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/square/sudo_pair/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/square/sudo_pair/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/square/sudo_pair/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/square/sudo_pair/rust.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/square/sudo_pair/rust.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/square/sudo_pair/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/square/sudo_pair/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/square/sudo_pair/rust.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:3","Warn: containerImage not pinned by hash: Dockerfile:14","Warn: containerImage not pinned by hash: Dockerfile:36","Warn: containerImage not pinned by hash: Dockerfile:55","Warn: containerImage not pinned by hash: Dockerfile:64","Warn: containerImage not pinned by hash: Dockerfile:70","Warn: containerImage not pinned by hash: Dockerfile:76","Warn: containerImage not pinned by hash: Dockerfile:82","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned","Info:   0 out of   8 containerImage 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"}}]},"last_synced_at":"2025-08-23T20:55:13.529Z","repository_id":32287833,"created_at":"2025-08-23T20:55:13.529Z","updated_at":"2025-08-23T20:55:13.529Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27750943,"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-12-15T02:00:09.782Z","response_time":96,"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":"square","name":"Square","uuid":"82592","kind":"organization","description":"","email":null,"website":"https://square.github.io","location":null,"twitter":"SquareDev","company":null,"icon_url":"https://avatars.githubusercontent.com/u/82592?v=4","repositories_count":299,"last_synced_at":"2025-03-30T07:02:01.128Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/square","funding_links":[],"total_stars":293376,"followers":2455,"following":0,"created_at":"2022-11-02T16:24:00.719Z","updated_at":"2025-03-30T07:02:01.128Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/square","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/square/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-04-06T12:12:53.492Z","dependent_packages_count":1,"downloads":5763,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":31.795313545265437,"dependent_repos_count":29.318292202377133,"dependent_packages_count":16.95609541526534,"stargazers_count":4.7047826764293506,"forks_count":8.451013993383613,"average":18.245099566544177},"purl":"pkg:cargo/sudo_plugin","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/sudo_plugin","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/cargo/sudo_plugin","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/sudo_plugin/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-29T21:13:43.286Z","issues_count":25,"pull_requests_count":80,"avg_time_to_close_issue":13883551.733333332,"avg_time_to_close_pull_request":7153654.109589041,"issues_closed_count":15,"pull_requests_closed_count":73,"pull_request_authors_count":13,"issue_authors_count":15,"avg_comments_per_issue":2.28,"avg_comments_per_pull_request":0.725,"merged_pull_requests_count":53,"bot_issues_count":5,"bot_pull_requests_count":19,"past_year_issues_count":2,"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":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":2,"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/square%2Fsudo_pair/issues","maintainers":[{"login":"stouset","count":51,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stouset"},{"login":"haikuginger","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/haikuginger"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/sudo_plugin/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/sudo_plugin/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/sudo_plugin/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/sudo_plugin/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/sudo_plugin/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/sudo_plugin/codemeta","maintainers":[{"uuid":"575","login":"stouset","name":"Stephen Touset","email":null,"url":"https://github.com/stouset","packages_count":6,"html_url":"https://crates.io/users/stouset","role":null,"created_at":"2022-11-08T01:48:52.067Z","updated_at":"2022-11-08T01:48:52.067Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/stouset/packages"}]}