{"id":13602416,"url":"https://github.com/nodejs/node-core-utils","last_synced_at":"2026-04-01T20:27:53.120Z","repository":{"id":26892024,"uuid":"107863796","full_name":"nodejs/node-core-utils","owner":"nodejs","description":"CLI tools for Node.js Core collaborators","archived":false,"fork":false,"pushed_at":"2026-04-01T14:24:13.000Z","size":3216,"stargazers_count":310,"open_issues_count":74,"forks_count":123,"subscribers_count":19,"default_branch":"main","last_synced_at":"2026-04-01T16:09:05.192Z","etag":null,"topics":["node","nodejs"],"latest_commit_sha":null,"homepage":"https://nodejs.github.io/node-core-utils/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodejs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"nodejs","open_collective":"nodejs"}},"created_at":"2017-10-22T12:27:44.000Z","updated_at":"2026-04-01T14:24:17.000Z","dependencies_parsed_at":"2023-11-29T10:40:39.803Z","dependency_job_id":"e1824be3-0721-482a-b451-b79177aa55c8","html_url":"https://github.com/nodejs/node-core-utils","commit_stats":{"total_commits":688,"total_committers":75,"mean_commits":9.173333333333334,"dds":0.6991279069767442,"last_synced_commit":"c953d93523cf2d88686e076f9abd4b661a9e8b0d"},"previous_names":[],"tags_count":109,"template":false,"template_full_name":null,"purl":"pkg:github/nodejs/node-core-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fnode-core-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fnode-core-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fnode-core-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fnode-core-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodejs","download_url":"https://codeload.github.com/nodejs/node-core-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fnode-core-utils/sbom","scorecard":{"id":640498,"data":{"date":"2025-08-11","repo":{"name":"github.com/nodejs/node-core-utils","commit":"0bd46f4e3b173affd022d7d04a634e8fe70b9449"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.4,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/commitlint.yml:1","Warn: no topLevel permission defined: .github/workflows/nodejs.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/release-please.yml:9","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":10,"reason":"26 commit(s) and 6 issue activity 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"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":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/commitlint.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/nodejs/node-core-utils/commitlint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/commitlint.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/nodejs/node-core-utils/commitlint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/nodejs/node-core-utils/nodejs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/nodejs/node-core-utils/nodejs.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nodejs.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/nodejs/node-core-utils/nodejs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-please.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/nodejs/node-core-utils/release-please.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-please.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/nodejs/node-core-utils/release-please.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-please.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/nodejs/node-core-utils/release-please.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/nodejs.yml:21","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#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'","Warn: 'stale review dismissal' is disabled 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":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/nodejs/.github/SECURITY.md:1","Info: Found linked content: github.com/nodejs/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/nodejs/.github/SECURITY.md:1","Info: Found text in security policy: github.com/nodejs/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release-please.yml:22"],"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T10:34:08.409Z","repository_id":26892024,"created_at":"2025-08-21T10:34:08.409Z","updated_at":"2025-08-21T10:34:08.409Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["node","nodejs"],"created_at":"2024-08-01T18:01:22.610Z","updated_at":"2026-04-01T20:27:53.104Z","avatar_url":"https://github.com/nodejs.png","language":"JavaScript","readme":"# Node.js Core Utilities\n[![npm](https://img.shields.io/npm/v/@node-core/utils.svg?style=flat-square)](https://npmjs.org/package/@node-core/utils)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/nodejs/node-core-utils/nodejs.yml?branch=main\u0026style=flat-square)](https://github.com/nodejs/node-core-utils/workflows/Node.js%20CI/badge.svg?branch=main)\n[![codecov](https://img.shields.io/codecov/c/github/nodejs/node-core-utils.svg?style=flat-square)](https://codecov.io/gh/nodejs/node-core-utils)\n[![Known Vulnerabilities](https://snyk.io/test/github/nodejs/node-core-utils/badge.svg?style=flat-square)](https://snyk.io/test/github/nodejs/node-core-utils)\n\nCLI tools for Node.js Core collaborators.\n\n\u003c!-- TOC --\u003e\n\n- [Tools](#tools)\n- [Usage](#usage)\n  - [Install](#install)\n  - [Setting up GitHub credentials](#setting-up-github-credentials)\n  - [Setting up Jenkins credentials](#setting-up-jenkins-credentials)\n  - [Make sure your credentials won't be committed](#make-sure-your-credentials-wont-be-committed)\n  - [Shell autocomplete](#shell-autocomplete)\n  - [Troubleshooting](#troubleshooting)\n- [Contributing](#contributing)\n- [License](#license)\n\n\u003c!-- /TOC --\u003e\n\n## Tools\n\n- [`git-node`](./docs/git-node.md): Custom Git commands for working with Node.js\n  core, e.g. landing Pull Requests.\n- [`ncu-config`](./docs/ncu-config.md): Configure variables for node-core-utils\n  to use.\n- [`ncu-team`](./docs/ncu-team.md): Listing members of a team, synchronizing\n  special blocks in files with the list of members.\n- [`get-metadata`](./docs/get-metadata.md): Retrieving metadata for a Pull Request.\n  **DEPRECATED**: use [`git node metadata`](./docs/git-node.md#git-node-metadata)\n  instead.\n- [`ncu-ci`](./docs/ncu-ci.md): Parse the results of a Jenkins CI run and display a summary for all the failures.\n\n## Usage\n\n### Install\n\n```\nnpm install -g @node-core/utils\n```\n\nIf you would prefer to build from the source, install and link:\n\n```\ngit clone git@github.com:nodejs/node-core-utils.git\ncd node-core-utils\nnpm ci\nnpm link\n```\n\n### Setting up GitHub credentials\n\nMost of the tools need your GitHub credentials to work. You can either\n\n1. Run any of the tools and you will be asked in a prompt to provide your\n   username and password in order to create a personal access token.\n2. Or, create a personal access token yourself on GitHub, then set them up\n   using an editor.\n\n\nIf you prefer option 2, [follow these instructions](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/)\nto create the token.\n\nWhen creating the token, the following boxes need to be checked:\n\n- `user:email`: Used by `git-node` and `get-metadata` to read the email of the\n  PR author in order to check if it matches the email of the commit author.\n- `read:org`: Used by `ncu-team` to read the list of team members.\n\nOptionally, if you want to grant write access so `git-node` can write comments:\n\n- `public_repo` (or `repo` if you intend to work with private repositories).\n\nYou can also edit the permission of existing tokens later.\n\nAfter the token is generated, you can give it to NCU using:\n\n\u003cdetails open name=\"set-token\"\u003e\u003csummary\u003eWith encryption (Recommended)\u003c/summary\u003e\n\n```sh\nncu-config set username your_github_username\n# Do not provide the token in the CLI, `ncu-config` will prompt you for it.\nncu-config set -x token\n```\n\nNote: Encryption is available only if you have `gpg` setup on your machine.\n\n\u003c/details\u003e\n\n\u003cdetails name=\"set-token\"\u003e\u003csummary\u003eWithout encryption\u003c/summary\u003e\n\n```sh\nncu-config set username your_github_username\n# Do not provide the token in the CLI, `ncu-config` will prompt you for it.\nncu-config set token\n```\n\n\u003c/details\u003e\n\n### Setting up Jenkins credentials\n\nThe `git-node` and `ncu-ci` commands need to query the Node.js Jenkins API for\nCI results, so you'll need to configure the Jenkins API token before using\nthese commands.\n\nTo obtain the Jenkins API token\n\n1. Open\n   `https://ci.nodejs.org/user/\u003cyour-github-username\u003e/security` (replace\n   \\\u003cyour-github-username\\\u003e with your own GitHub username).\n2. Click on the `ADD NEW TOKEN` button in the `API Token` section.\n3. Enter an identifiable name (for example, `node-core-utils`) for this\n   token in the inbox that appears, and click `GENERATE`.\n4. Copy the generated token.\n5. Add it into your `ncurc` file (`~/.ncurc` or `$XDG_CONFIG_HOME/ncurc`, or\n   `~/.ncurc.gpg` or `$XDG_CONFIG_HOME/ncurc.gpg`) with `jenkins_token` as key,\n   like this:\n\n   \u003cdetails open name=\"set-jenkins-token\"\u003e\u003csummary\u003eWith encryption (recommended)\u003c/summary\u003e\n   \n   ```sh\n   ncu-config set -x jenkins_token\n   ```\n\n   Note: Encryption is available only if you have `gpg` setup on your machine.\n\n   \u003c/details\u003e\n   \u003cdetails name=\"set-jenkins-token\"\u003e\u003csummary\u003eWithout encryption\u003c/summary\u003e\n   \n   ```sh\n   ncu-config set jenkins_token\n   ```\n\n   \u003c/details\u003e\n\n### Protecting your credentials\n\nPut the following entries into your\n[global `gitignore` file](https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreexcludesFile)\n(`$XDG_CONFIG_HOME/git/ignore` or a file specified by `core.excludesFile`). For example:\n\n```console\n$ git config --global core.excludesfile ~/.gitignore_global\n```\n\n```\n# In ~/.gitignore_global\n# node-core-utils configuration file\n.ncurc\n.ncurc.gpg\n# node-core-utils working directory\n.ncu\n```\n\nMind that `.ncu/land` could contain your access token since it contains the\nserialized configurations.\n\nIf you ever accidentally commit your access token on GitHub, you can simply\nrevoke that token and use a new one.\n\n### Shell autocomplete\n\nTo add autocomplete just run `git-node completion` and follow the instructions.\n(same for the rest of the tools)\n\n### Troubleshooting\n\nIf you encounter an error that you cannot fix by yourself, please\n\n1. Make sure you update NCU to the latest version\n2. Try again with the `NCU_VERBOSITY=debug` environment variable set and\n   open an issue at https://github.com/nodejs/node-core-utils/issues with\n   detailed logs.\n\n## Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md).\n\n## License\n\nMIT. See [LICENSE](./LICENSE).\n","funding_links":["https://github.com/sponsors/nodejs","https://opencollective.com/nodejs"],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodejs%2Fnode-core-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodejs%2Fnode-core-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodejs%2Fnode-core-utils/lists"}