{"date":"2026-11-23","repo":{"name":"github.com/mochajs/mocha","commit":"04eb516fe73eb3da0ac2a057dd9349d210c19b5f"},"scorecard":{"version":"v5.7.0","commit":"d7552fb3cdc05e9f6426177d3328887304fce554"},"score":6.2,"checks":[{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#security-policy","short":"Determines if the project has published a security policy."}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#maintained","short":"Determines if the project is \"actively maintained\"."}},{"name":"Code-Review","score":6,"reason":"Found 13/19 approved changesets -- score normalized to 6","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#code-review","short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged."}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#dangerous-workflow","short":"Determines if the project's GitHub Action workflows avoid dangerous patterns."}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#binary-artifacts","short":"Determines if the project has generated executable (binary) artifacts in the source repository."}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/mocha.yml:117","Info: jobLevel 'contents' permission set to 'read': .github/workflows/mocha.yml:54","Info: jobLevel 'contents' permission set to 'read': .github/workflows/mocha.yml:86","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-please.yml:26","Info: jobLevel 'contents' permission set to 'read': .github/workflows/slop-detection.yml:19","Info: jobLevel 'contents' permission set to 'read': .github/workflows/slop-detection.yml:48","Info: jobLevel 'issues' permission set to 'read': .github/workflows/slop-detection.yml:49","Warn: no topLevel permission defined: .github/workflows/add-to-project.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/auto-label.yml:12","Info: topLevel 'contents' permission set to 'read': .github/workflows/blocked-pr.yml:16","Info: topLevel 'pull-requests' permission set to 'read': .github/workflows/blocked-pr.yml:17","Info: topLevel 'contents' permission set to 'read': .github/workflows/docs.yml:26","Info: topLevel 'contents' permission set to 'read': .github/workflows/format.yml:14","Info: topLevel 'contents' permission set to 'read': .github/workflows/mocha.yml:18","Info: topLevel 'contents' permission set to 'read': .github/workflows/nightly-site-deploy.yml:13","Info: topLevel 'contents' permission set to 'read': .github/workflows/npm-script.yml:28","Info: topLevel 'contents' permission set to 'read': .github/workflows/protect-manifest.yml:9","Info: topLevel 'pull-requests' permission set to 'read': .github/workflows/protect-manifest.yml:10","Info: topLevel 'contents' permission set to 'read': .github/workflows/release-comment.yml:8","Info: topLevel 'contents' permission set to 'read': .github/workflows/release-please.yml:15","Info: found token with 'none' permissions: .github/workflows/slop-detection.yml:1","Info: topLevel 'pull-requests' permission set to 'read': .github/workflows/stale-branches.yml:11","Info: topLevel 'contents' permission set to 'read': .github/workflows/stale-branches.yml:9"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#token-permissions","short":"Determines if the project's workflows follow the principle of least privilege."}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#cii-best-practices","short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge."}},{"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":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#license","short":"Determines if the project has defined a license."}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#fuzzing","short":"Determines if the project uses fuzzing."}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#signed-releases","short":"Determines if the project cryptographically signs release artifacts."}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'main'","Info: 'stale review dismissal' is required to merge on branch 'main'","Warn: branch 'main' does not require approvers","Warn: codeowners review is not required on branch 'main'","Warn: 'last push approval' is disabled on branch 'main'","Warn: no status checks found to merge onto branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#branch-protection","short":"Determines if the default and release branches are protected with GitHub's branch protection settings."}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release-please.yml:36"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#packaging","short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall."}},{"name":"SAST","score":5,"reason":"SAST tool is not run on all commits -- score normalized to 5","details":["Warn: 17 commits out of 30 are checked with a SAST tool"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#sast","short":"Determines if the project uses static code analysis."}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Info: Possibly incomplete results: error parsing job operating system: .github/workflows/npm-script.yml:75","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/npm-script.yml:76","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/npm-script.yml:82","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/add-to-project.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/add-to-project.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/add-to-project.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/add-to-project.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/auto-label.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/auto-label.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cla.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/cla.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mocha.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/mocha.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mocha.yml:93: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/mocha.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mocha.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/mocha.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mocha.yml:106: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/mocha.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mocha.yml:120: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/mocha.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mocha.yml:123: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/mocha.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-script.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/npm-script.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-script.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/npm-script.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-script.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/npm-script.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/octoguide.yml:6: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/octoguide.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-comment.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/release-comment.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-please.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/release-please.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-please.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/release-please.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-please.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/release-please.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/remove-waiting-label.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/remove-waiting-label.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/slop-detection.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/slop-detection.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/slop-detection.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/slop-detection.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/slop-detection.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/slop-detection.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale-branches.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/stale-branches.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/stale.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/stale.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/release-please.yml:55","Info:   0 out of  23 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   6 third-party GitHubAction dependencies pinned","Info:   2 out of   3 npmCommand dependencies pinned"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md#pinned-dependencies","short":"Determines if the project has declared and pinned the dependencies of its build process."}}]}
