{"date":"2026-10-12","repo":{"name":"github.com/mochajs/mocha","commit":"2c2b89600e3ba8225bf11d7919e698060a55c86e"},"scorecard":{"version":"v5.6.0","commit":"61e84743356275f6ffca23b1b2f2cb945e19eb96"},"score":6.4,"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/61e84743356275f6ffca23b1b2f2cb945e19eb96/docs/checks.md#security-policy","short":"Determines if the project has published a security policy."}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/61e84743356275f6ffca23b1b2f2cb945e19eb96/docs/checks.md#dangerous-workflow","short":"Determines if the project's GitHub Action workflows avoid dangerous patterns."}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/61e84743356275f6ffca23b1b2f2cb945e19eb96/docs/checks.md#maintained","short":"Determines if the project is \"actively maintained\"."}},{"name":"Code-Review","score":8,"reason":"Found 15/18 approved changesets -- score normalized to 8","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/61e84743356275f6ffca23b1b2f2cb945e19eb96/docs/checks.md#code-review","short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged."}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/61e84743356275f6ffca23b1b2f2cb945e19eb96/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:57","Info: jobLevel 'contents' permission set to 'read': .github/workflows/mocha.yml:90","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:18","Info: jobLevel 'contents' permission set to 'read': .github/workflows/slop-detection.yml:47","Info: jobLevel 'issues' permission set to 'read': .github/workflows/slop-detection.yml:48","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 'pull-requests' permission set to 'read': .github/workflows/blocked-pr.yml:17","Info: topLevel 'contents' permission set to 'read': .github/workflows/blocked-pr.yml:16","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 'contents' permission set to 'read': .github/workflows/stale-branches.yml:9","Info: topLevel 'pull-requests' permission set to 'read': .github/workflows/stale-branches.yml:11"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/61e84743356275f6ffca23b1b2f2cb945e19eb96/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/61e84743356275f6ffca23b1b2f2cb945e19eb96/docs/checks.md#cii-best-practices","short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge."}},{"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:70","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/npm-script.yml:71","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/npm-script.yml:77","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/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/npm-script.yml:63: 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:66: 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/npm-script.yml:86: 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:92: 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: 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: 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/remove-waiting-label.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/mochajs/mocha/remove-waiting-label.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/slop-detection.yml:52: 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:23: 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:30: 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:16: 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:44: 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  16 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   7 third-party GitHubAction dependencies pinned","Info:   2 out of   3 npmCommand dependencies pinned"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/61e84743356275f6ffca23b1b2f2cb945e19eb96/docs/checks.md#pinned-dependencies","short":"Determines if the project has declared and pinned the dependencies of its build process."}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/61e84743356275f6ffca23b1b2f2cb945e19eb96/docs/checks.md#fuzzing","short":"Determines if the project uses 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":{"url":"https://github.com/ossf/scorecard/blob/61e84743356275f6ffca23b1b2f2cb945e19eb96/docs/checks.md#license","short":"Determines if the project has defined a license."}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/61e84743356275f6ffca23b1b2f2cb945e19eb96/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/61e84743356275f6ffca23b1b2f2cb945e19eb96/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/61e84743356275f6ffca23b1b2f2cb945e19eb96/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: 15 commits out of 30 are checked with a SAST tool"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/61e84743356275f6ffca23b1b2f2cb945e19eb96/docs/checks.md#sast","short":"Determines if the project uses static code analysis."}}]}
