An open API service providing repository metadata for many open source software ecosystems.

GitHub / sinonjs / sinon

Test spies, stubs and mocks for JavaScript.

JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinonjs%2Fsinon
PURL: pkg:github/sinonjs/sinon

Stars: 9,738
Forks: 773
Open issues: 46

License: other
Language: JavaScript
Size: 41.5 MB
Dependencies parsed at: Pending

Created at: about 15 years ago
Updated at: about 12 hours ago
Pushed at: 25 days ago
Last synced at: about 9 hours ago

Commit Stats

Commits: 3079
Authors: 417
Mean commits per author: 7.38
Development Distribution Score: 0.719
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/sinonjs/sinon

Topics: javascript, sinon, stub, stubs, tdd, test-driven-development, test-spies, unit-testing

Funding Links https://github.com/sponsors/sinonjs, https://opencollective.com/sinon

OpenSSF Scorecard report

5

Overall Score

10/10 Critical Risk
28/50 High Risk
6/40 Medium Risk
9/20 Low Risk
Generated on August 11, 2025 | Scorecard vv5.2.1-40-gf6ed084d
Security Checks
10/10
Binary-Artifacts
High Risk

no binaries found in the repo

Determines if the project has generated executable (binary) artifacts in the source repository.

10/10
Dangerous-Workflow
Critical Risk

no dangerous workflow patterns detected

Determines if the project's GitHub Action workflows avoid dangerous patterns.

10/10
Token-Permissions
High Risk

GitHub workflow tokens follow principle of least privilege

Determines if the project's workflows follow the principle of least privilege.

Show details
ℹ️ Info: topLevel 'contents' permission set to 'read': .github/workflows/main.yml:12
ℹ️ Info: no jobLevel write permissions found
9/10
License
Low Risk

license file detected

Determines if the project has defined a license.

Show details
ℹ️ Info: project has a license file: LICENSE:0
⚠️ Warn: project license file does not contain an FSF or OSI license.
5/10
Maintained
High Risk

5 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5

Determines if the project is "actively maintained".

4/10
SAST
Medium Risk

SAST tool is not run on all commits -- score normalized to 4

Determines if the project uses static code analysis.

Show details
⚠️ Warn: 7 commits out of 17 are checked with a SAST tool
3/10
Code-Review
High Risk

Found 7/22 approved changesets -- score normalized to 3

Determines if the project requires human code review before pull requests (aka merge requests) are merged.

2/10
Pinned-Dependencies
Medium Risk

dependency not pinned by hash detected -- score normalized to 2

Determines if the project has declared and pinned the dependencies of its build process.

Show details
⚠️ Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/sinonjs/sinon/main.yml/main?enable=pin
⚠️ Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/sinonjs/sinon/main.yml/main?enable=pin
⚠️ Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/sinonjs/sinon/main.yml/main?enable=pin
⚠️ Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/sinonjs/sinon/main.yml/main?enable=pin
⚠️ Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:107: update your workflow using https://app.stepsecurity.io/secureworkflow/sinonjs/sinon/main.yml/main?enable=pin
⚠️ Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:109: update your workflow using https://app.stepsecurity.io/secureworkflow/sinonjs/sinon/main.yml/main?enable=pin
⚠️ Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/sinonjs/sinon/main.yml/main?enable=pin
⚠️ Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/sinonjs/sinon/main.yml/main?enable=pin
⚠️ Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/sinonjs/sinon/main.yml/main?enable=pin
⚠️ Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/sinonjs/sinon/main.yml/main?enable=pin
⚠️ Warn: npmCommand not pinned by hash: docs/release-source/release/examples/run-test.sh:12
⚠️ Warn: npmCommand not pinned by hash: docs/release-source/release/examples/run-test.sh:28
⚠️ Warn: downloadThenRun not pinned by hash: .github/workflows/main.yml:77
ℹ️ Info: 0 out of 10 GitHub-owned GitHubAction dependencies pinned
ℹ️ Info: 5 out of 7 npmCommand dependencies pinned
ℹ️ Info: 0 out of 1 downloadThenRun dependencies pinned
0/10
CII-Best-Practices
Low Risk

no effort to earn an OpenSSF best practices badge detected

Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.

0/10
Fuzzing
Medium Risk

project is not fuzzed

Determines if the project uses fuzzing.

Show details
⚠️ Warn: no fuzzer integrations found
0/10
Security-Policy
Medium Risk

security policy file not detected

Determines if the project has published a security policy.

Show 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
0/10
Vulnerabilities
High Risk

10 existing vulnerabilities detected

Determines if the project has open, known unfixed vulnerabilities.

Show details
⚠️ Warn: Project is vulnerable to: GHSA-353f-x4gh-cqq8
⚠️ Warn: Project is vulnerable to: GHSA-5w6v-399v-w3cc
⚠️ Warn: Project is vulnerable to: GHSA-mrxw-mxhj-p664
⚠️ Warn: Project is vulnerable to: GHSA-vvfq-8hwr-qm4m
⚠️ Warn: Project is vulnerable to: GHSA-22h5-pq3x-2gf2
⚠️ Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw
⚠️ Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6
⚠️ Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59
⚠️ Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx
⚠️ Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v
N/A
Branch-Protection
Not Applicable

internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration

Determines if the default and release branches are protected with GitHub's branch protection settings.

N/A
Packaging
Not Applicable

packaging workflow not detected

Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.

Show details
⚠️ Warn: no GitHub/GitLab publishing workflow detected.
N/A
Signed-Releases
Not Applicable

no releases found

Determines if the project cryptographically signs release artifacts.