{"date":"2026-08-24","repo":{"name":"github.com/mochajs/mocha","commit":"e6b9ee773481fd739ae24caeb42f32ac0b010f95"},"scorecard":{"version":"v5.5.1-0.20260815060127-d1fab88f5463","commit":"d1fab88f54636ff366076edfc5c239f97b3c8e66"},"score":7.3,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 21 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/d1fab88f54636ff366076edfc5c239f97b3c8e66/docs/checks.md#maintained","short":"Determines if the project is \"actively maintained\"."}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/d1fab88f54636ff366076edfc5c239f97b3c8e66/docs/checks.md#dangerous-workflow","short":"Determines if the project's GitHub Action workflows avoid dangerous patterns."}},{"name":"Code-Review","score":6,"reason":"Found 12/18 approved changesets -- score normalized to 6","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/d1fab88f54636ff366076edfc5c239f97b3c8e66/docs/checks.md#code-review","short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged."}},{"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/d1fab88f54636ff366076edfc5c239f97b3c8e66/docs/checks.md#security-policy","short":"Determines if the project has published a security policy."}},{"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/d1fab88f54636ff366076edfc5c239f97b3c8e66/docs/checks.md#cii-best-practices","short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge."}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/mocha.yml:56","Info: jobLevel 'contents' permission set to 'read': .github/workflows/mocha.yml:88","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-please.yml:26","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/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"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/d1fab88f54636ff366076edfc5c239f97b3c8e66/docs/checks.md#token-permissions","short":"Determines if the project's workflows follow the principle of least privilege."}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/d1fab88f54636ff366076edfc5c239f97b3c8e66/docs/checks.md#binary-artifacts","short":"Determines if the project has generated executable (binary) artifacts in the source repository."}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Info: Possibly incomplete results: error parsing job operating system: .github/workflows/npm-script.yml:69","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:76","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/npm-script.yml:62: 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:65: 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:83: 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:18: 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/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   8 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   5 third-party GitHubAction dependencies pinned","Info:   2 out of   3 npmCommand dependencies pinned"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/d1fab88f54636ff366076edfc5c239f97b3c8e66/docs/checks.md#pinned-dependencies","short":"Determines if the project has declared and pinned the dependencies of its build process."}},{"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/d1fab88f54636ff366076edfc5c239f97b3c8e66/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/d1fab88f54636ff366076edfc5c239f97b3c8e66/docs/checks.md#fuzzing","short":"Determines if the project uses fuzzing."}},{"name":"Branch-Protection","score":5,"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: required approving review count is 1 on branch 'main'","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/d1fab88f54636ff366076edfc5c239f97b3c8e66/docs/checks.md#branch-protection","short":"Determines if the default and release branches are protected with GitHub's branch protection settings."}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"url":"https://github.com/ossf/scorecard/blob/d1fab88f54636ff366076edfc5c239f97b3c8e66/docs/checks.md#signed-releases","short":"Determines if the project cryptographically signs release artifacts."}},{"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/d1fab88f54636ff366076edfc5c239f97b3c8e66/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":4,"reason":"SAST tool is not run on all commits -- score normalized to 4","details":["Warn: 14 commits out of 30 are checked with a SAST tool"],"documentation":{"url":"https://github.com/ossf/scorecard/blob/d1fab88f54636ff366076edfc5c239f97b3c8e66/docs/checks.md#sast","short":"Determines if the project uses static code analysis."}}]}
