{"date":"2024-03-19","repo":{"name":"github.com/ossrs/srs","commit":"ce2ce1542fc1f989cd86a47bad5f5f6f385e0033"},"scorecard":{"version":"v4.8.0","commit":"c40859202d739b31fd060ac5b30d17326cd74275"},"score":6.2,"checks":[{"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/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#binary-artifacts"}},{"name":"Branch-Protection","score":2,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'force pushes' disabled on branch 'develop'","Info: 'allow deletion' disabled on branch 'develop'","Warn: settings do not apply to administrators on branch 'develop'","Info: status checks require up-to-date branches for 'develop'","Info: status check found to merge onto on branch 'develop'","Warn: number of required reviewers is only 1 on branch 'develop'","Warn: Stale review dismissal disabled on branch 'develop'","Info: codeowner review is required on branch 'develop'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#branch-protection"}},{"name":"CI-Tests","score":9,"reason":"20 out of 22 merged PRs checked by a CI test -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#ci-tests"}},{"name":"CII-Best-Practices","score":5,"reason":"badge detected: passing","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#cii-best-practices"}},{"name":"Code-Review","score":7,"reason":"21 out of last 30 changesets reviewed before merge -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#code-review"}},{"name":"Contributors","score":10,"reason":"5 different organizations found -- score normalized to 10","details":["Info: contributors work for bravo,kuaishou,ossrs,pion,tencent"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#contributors"}},{"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/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#dangerous-workflow"}},{"name":"Dependency-Update-Tool","score":0,"reason":"no update tool detected","details":["Warn: dependabot config file not detected in source location.\n\t\t\tWe recommend setting this configuration in code so it can be easily verified by others.","Warn: renovatebot config file not detected in source location.\n\t\t\tWe recommend setting this configuration in code so it can be easily verified by others."],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#dependency-update-tool"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":null,"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: : LICENSE:1"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#license"}},{"name":"Maintained","score":10,"reason":"17 commit(s) out of 30 and 25 issue activity out of 30 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/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#maintained"}},{"name":"Packaging","score":10,"reason":"publishing workflow detected","details":["Info: GitHub publishing workflow used in run https://api.github.com/repos/ossrs/srs/actions/runs/7916552941: .github/workflows/release.yml:242"],"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/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":7,"reason":"dependency not pinned by hash detected -- score normalized to 7","details":["Warn: containerImage not pinned by hash: Dockerfile:3","Warn: containerImage not pinned by hash: Dockerfile:37","Warn: containerImage not pinned by hash: trunk/3rdparty/signaling/Dockerfile:5: pin your Docker image by updating registry.cn-hangzhou.aliyuncs.com/ossrs/srs:dev to registry.cn-hangzhou.aliyuncs.com/ossrs/srs:dev@sha256:c443268cc21f01c602246e9d2eaf6fcf961529c971976feb2ca9c9321e18a9db","Warn: containerImage not pinned by hash: trunk/3rdparty/signaling/Dockerfile:15: pin your Docker image by updating centos:7 to centos:7@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4","Warn: containerImage not pinned by hash: trunk/3rdparty/st-srs/Dockerfile.cov:1: pin your Docker image by updating ossrs/srs to ossrs/srs@sha256:843d395d6609adcf5ca738904fbc3699dbe0ab5a6f6ce79f4bc5f533d6e3facc","Warn: containerImage not pinned by hash: trunk/3rdparty/st-srs/Dockerfile.test:1: pin your Docker image by updating ossrs/srs to ossrs/srs@sha256:843d395d6609adcf5ca738904fbc3699dbe0ab5a6f6ce79f4bc5f533d6e3facc","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:2: pin your Docker image by updating ossrs/srs:dev-cache to ossrs/srs:dev-cache@sha256:11cb751e7fa536d542d24ab52752db5d419977bd5a38b2955813846fae1f5144","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:6: pin your Docker image by updating ossrs/srs:dev-cache to ossrs/srs:dev-cache@sha256:11cb751e7fa536d542d24ab52752db5d419977bd5a38b2955813846fae1f5144","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:10: pin your Docker image by updating ossrs/srs:dev-cache to ossrs/srs:dev-cache@sha256:11cb751e7fa536d542d24ab52752db5d419977bd5a38b2955813846fae1f5144","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:14: pin your Docker image by updating ossrs/srs:dev-cache to ossrs/srs:dev-cache@sha256:11cb751e7fa536d542d24ab52752db5d419977bd5a38b2955813846fae1f5144","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:18: pin your Docker image by updating ossrs/srs:dev-cache to ossrs/srs:dev-cache@sha256:11cb751e7fa536d542d24ab52752db5d419977bd5a38b2955813846fae1f5144","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:23: pin your Docker image by updating ossrs/srs:ubuntu16-cache to ossrs/srs:ubuntu16-cache@sha256:bdd90509dc220bea818436243f9057ec12b7fe449eba5c42b126a8e351a21c07","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:27: pin your Docker image by updating ossrs/srs:ubuntu16-cache to ossrs/srs:ubuntu16-cache@sha256:bdd90509dc220bea818436243f9057ec12b7fe449eba5c42b126a8e351a21c07","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:32: pin your Docker image by updating ossrs/srs:ubuntu18-cache to ossrs/srs:ubuntu18-cache@sha256:794925ea3be323028ef1c229336fdf0c5c7c8a22926a5c87df59f570c79dbf09","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:36: pin your Docker image by updating ossrs/srs:ubuntu18-cache to ossrs/srs:ubuntu18-cache@sha256:794925ea3be323028ef1c229336fdf0c5c7c8a22926a5c87df59f570c79dbf09","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:41: pin your Docker image by updating ossrs/srs:ubuntu20-cache to ossrs/srs:ubuntu20-cache@sha256:cb384b050571a98a5ab56fb28ca9d7a7da33cb86fbf34cb5a55ce43138b500cb","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:45: pin your Docker image by updating ossrs/srs:ubuntu20-cache to ossrs/srs:ubuntu20-cache@sha256:cb384b050571a98a5ab56fb28ca9d7a7da33cb86fbf34cb5a55ce43138b500cb","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:50: pin your Docker image by updating ossrs/srs:ubuntu16-cache-cross-arm to ossrs/srs:ubuntu16-cache-cross-arm@sha256:378042283edaa98296294994552de69e77aea05987a32d5b7e552e5c76d4cc02","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:54: pin your Docker image by updating ossrs/srs:ubuntu16-cache-cross-aarch64 to ossrs/srs:ubuntu16-cache-cross-aarch64@sha256:e06101d752a1f7148ecf3b80e5ee412bb946aa2f009e861e0eef741589eee6f9","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:59: pin your Docker image by updating ossrs/srs:ubuntu20-cache-cross-arm to ossrs/srs:ubuntu20-cache-cross-arm@sha256:f3d64441c044e54b8f84f29ae9cc29b65cb02bd9e56d4fefdf4badd4f8ff1a9f","Warn: containerImage not pinned by hash: trunk/Dockerfile.builds:63: pin your Docker image by updating ossrs/srs:ubuntu20-cache-cross-aarch64 to ossrs/srs:ubuntu20-cache-cross-aarch64@sha256:bc1b76320ec52701bcc44dff418be333083a81172dd09d4ee2e8ccb1c90523b5","Warn: containerImage not pinned by hash: trunk/Dockerfile.cov:1: pin your Docker image by updating ossrs/srs to ossrs/srs@sha256:843d395d6609adcf5ca738904fbc3699dbe0ab5a6f6ce79f4bc5f533d6e3facc","Warn: containerImage not pinned by hash: trunk/Dockerfile.pkg:1: pin your Docker image by updating ossrs/srs to ossrs/srs@sha256:843d395d6609adcf5ca738904fbc3699dbe0ab5a6f6ce79f4bc5f533d6e3facc","Warn: containerImage not pinned by hash: trunk/Dockerfile.test:1: pin your Docker image by updating ossrs/srs to ossrs/srs@sha256:843d395d6609adcf5ca738904fbc3699dbe0ab5a6f6ce79f4bc5f533d6e3facc","Info: GitHub-owned GitHubActions are pinned","Info: Third-party GitHubActions are pinned","Info: no insecure (not pinned by hash) dependency downloads found in Dockerfiles","Info: no insecure (not pinned by hash) dependency downloads found in shell scripts"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commmits","details":["Warn: 0 commits out of 22 are checked with a SAST tool","Info: SAST tool detected: CodeQL"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#sast"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy detected in current repo: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#security-policy"}},{"name":"Signed-Releases","score":0,"reason":"0 out of 5 artifacts are signed or have provenance","details":["Warn: release artifact v6.0-d4 does not have provenance: https://api.github.com/repos/ossrs/srs/releases/142153026","Warn: release artifact v6.0-d4 not signed: https://api.github.com/repos/ossrs/srs/releases/142153026","Warn: release artifact v5.0-r1 does not have provenance: https://api.github.com/repos/ossrs/srs/releases/142088992","Warn: release artifact v5.0-r1 not signed: https://api.github.com/repos/ossrs/srs/releases/142088992","Warn: release artifact v5.0-r0 does not have provenance: https://api.github.com/repos/ossrs/srs/releases/135393079","Warn: release artifact v5.0-r0 not signed: https://api.github.com/repos/ossrs/srs/releases/135393079","Warn: release artifact v6.0-d3 does not have provenance: https://api.github.com/repos/ossrs/srs/releases/130219079","Warn: release artifact v6.0-d3 not signed: https://api.github.com/repos/ossrs/srs/releases/130219079","Warn: release artifact v5.0-b7 does not have provenance: https://api.github.com/repos/ossrs/srs/releases/130218940","Warn: release artifact v5.0-b7 not signed: https://api.github.com/repos/ossrs/srs/releases/130218940"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#signed-releases"}},{"name":"Token-Permissions","score":0,"reason":"non read-only tokens detected in GitHub workflows","details":["Warn: topLevel permissions set to 'write-all': .github/workflows/codeql-analysis.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/ossrs/srs/codeql-analysis.yml/develop?enable=permissions","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/ossrs/srs/release.yml/develop?enable=permissions","Info: topLevel permissions set to 'read-all': .github/workflows/scorecard.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/ossrs/srs/scorecard.yml/develop?enable=permissions","Info: topLevel permissions set to 'read-all': .github/workflows/test.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/ossrs/srs/test.yml/develop?enable=permissions"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#token-permissions"}},{"name":"Vulnerabilities","score":10,"reason":"no vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c40859202d739b31fd060ac5b30d17326cd74275/docs/checks.md#vulnerabilities"}}]}
