{"id":2102580,"name":"node-worker-threads-pool","ecosystem":"npm","description":"Simple worker threads pool using Node's worker_threads module. Compatible with ES6+ Promise, Async/Await.","homepage":"https://github.com/SUCHMOKUO/node-worker-threads-pool#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/SUCHMOKUO/node-worker-threads-pool","keywords_array":["nodejs","async","promise","worker_threads","worker","thread","pool","threadpool","multi threading","typescript"],"namespace":null,"versions_count":31,"first_release_published_at":"2018-09-22T15:10:03.330Z","latest_release_published_at":"2021-09-22T12:53:15.193Z","latest_release_number":"1.5.1","last_synced_at":"2026-06-24T10:29:19.867Z","created_at":"2022-04-09T21:02:56.973Z","updated_at":"2026-06-24T10:29:19.867Z","registry_url":"https://www.npmjs.com/package/node-worker-threads-pool","install_command":"npm install node-worker-threads-pool","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.5.1"}},"repo_metadata":{"id":37734005,"uuid":"149874750","full_name":"SUCHMOKUO/node-worker-threads-pool","owner":"SUCHMOKUO","description":"Simple worker threads pool using node's worker_threads module.","archived":false,"fork":false,"pushed_at":"2026-01-21T23:46:11.000Z","size":1198,"stargazers_count":291,"open_issues_count":19,"forks_count":30,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-03-19T01:36:58.125Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/SUCHMOKUO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2018-09-22T12:27:59.000Z","updated_at":"2026-02-28T17:47:03.000Z","dependencies_parsed_at":"2024-06-18T13:02:54.817Z","dependency_job_id":"419216bf-4208-4615-9152-1f1beb8b63b5","html_url":"https://github.com/SUCHMOKUO/node-worker-threads-pool","commit_stats":{"total_commits":75,"total_committers":3,"mean_commits":25.0,"dds":0.07999999999999996,"last_synced_commit":"306f68d5409b5e2b68fb5e690854d9dd2c3ab28c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SUCHMOKUO/node-worker-threads-pool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUCHMOKUO%2Fnode-worker-threads-pool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUCHMOKUO%2Fnode-worker-threads-pool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUCHMOKUO%2Fnode-worker-threads-pool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUCHMOKUO%2Fnode-worker-threads-pool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SUCHMOKUO","download_url":"https://codeload.github.com/SUCHMOKUO/node-worker-threads-pool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUCHMOKUO%2Fnode-worker-threads-pool/sbom","scorecard":{"id":124550,"data":{"date":"2025-08-11","repo":{"name":"github.com/SUCHMOKUO/node-worker-threads-pool","commit":"5617ba6bcf6283e3bd80f769b719fae2453a87ae"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/6 approved changesets -- score normalized to 0","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","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":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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":"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":"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/ci.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/SUCHMOKUO/node-worker-threads-pool/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/SUCHMOKUO/node-worker-threads-pool/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/SUCHMOKUO/node-worker-threads-pool/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/SUCHMOKUO/node-worker-threads-pool/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/SUCHMOKUO/node-worker-threads-pool/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/SUCHMOKUO/node-worker-threads-pool/ci.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction 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":"Security-Policy","score":0,"reason":"security policy file not detected","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"],"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":"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":"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":"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 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":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4"],"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-16T03:26:03.749Z","repository_id":37734005,"created_at":"2025-08-16T03:26:03.749Z","updated_at":"2025-08-16T03:26:03.749Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32339290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"},"owner_record":{"login":"SUCHMOKUO","name":"MOKUO","uuid":"30554294","kind":"user","description":"Learn to create.","email":"","website":null,"location":null,"twitter":null,"company":"@thoughtworks","icon_url":"https://avatars.githubusercontent.com/u/30554294?u=5c3914871ad5a70e0a08963a6b263011f7e8210f\u0026v=4","repositories_count":22,"last_synced_at":"2024-04-16T11:55:41.086Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/SUCHMOKUO","funding_links":[],"total_stars":316,"followers":40,"following":48,"created_at":"2022-11-15T20:23:57.872Z","updated_at":"2024-04-16T11:55:44.060Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SUCHMOKUO","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SUCHMOKUO/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-06-16T15:54:10.174Z","dependent_packages_count":32,"downloads":134955,"downloads_period":"last-month","dependent_repos_count":121,"rankings":{"downloads":0.4994477122508877,"dependent_repos_count":1.3709284639360553,"dependent_packages_count":0.8977684296808983,"stargazers_count":3.710414090110139,"forks_count":4.85564251585345,"docker_downloads_count":0.6716958716274904,"average":2.0009828472431535},"purl":"pkg:npm/node-worker-threads-pool","advisories":[{"uuid":"GSA_kwCzR0hTQS03dnhjLXE3cnYtcWZqOM4AA1Qn","url":"https://github.com/advisories/GHSA-7vxc-q7rv-qfj8","title":"SUCHMOKUO node-worker-threads-pool denial of service Vulnerability","description":"An issue was discovered in StaticPool in SUCHMOKUO node-worker-threads-pool version 1.4.3 that allows attackers to cause a denial of service.\n\nThis can be mitigated by manually creating a timeout. For example:\n\n```ts\nconst { StaticPool } = require(\\\"node-worker-threads-pool\\\");\n\t\n\tconst staticPool = new StaticPool({\n size: 1,\n task: (n) =\u003e {\n while (n) {\n console.log(\\\"a\\\");\n }\n return n;\n }\n});\n \n staticPool.createExecutor().setTimeout(10).exec(1).then((result) =\u003e {\n console.log(\\\"result from thread pool:\\\", result);\n}).catch(() =\u003e console.error('timeout'));\n```","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2023-08-11T15:30:46.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":6.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","references":["https://nvd.nist.gov/vuln/detail/CVE-2021-29057","https://github.com/SUCHMOKUO/node-worker-threads-pool/issues/20","https://github.com/advisories/GHSA-7vxc-q7rv-qfj8"],"source_kind":"github","identifiers":["GHSA-7vxc-q7rv-qfj8","CVE-2021-29057"],"repository_url":"https://github.com/SUCHMOKUO/node-worker-threads-pool","blast_radius":0.0,"created_at":"2023-08-11T23:04:56.568Z","updated_at":"2026-06-20T04:08:27.190Z","epss_percentage":0.00505,"epss_percentile":0.39074,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03dnhjLXE3cnYtcWZqOM4AA1Qn","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS03dnhjLXE3cnYtcWZqOM4AA1Qn","packages":[{"ecosystem":"npm","package_name":"node-worker-threads-pool","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 1.4.3"}],"purl":"pkg:npm/node-worker-threads-pool"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03dnhjLXE3cnYtcWZqOM4AA1Qn/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/node-worker-threads-pool","docker_dependents_count":12,"docker_downloads_count":19099,"usage_url":"https://repos.ecosyste.ms/usage/npm/node-worker-threads-pool","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/node-worker-threads-pool/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-03-01T10:11:50.251Z","issues_count":39,"pull_requests_count":24,"avg_time_to_close_issue":1707234.6,"avg_time_to_close_pull_request":14221005.421052631,"issues_closed_count":25,"pull_requests_closed_count":19,"pull_request_authors_count":4,"issue_authors_count":37,"avg_comments_per_issue":1.9230769230769231,"avg_comments_per_pull_request":0.16666666666666666,"merged_pull_requests_count":18,"bot_issues_count":1,"bot_pull_requests_count":21,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":1,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUCHMOKUO%2Fnode-worker-threads-pool/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-worker-threads-pool/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-worker-threads-pool/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-worker-threads-pool/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-worker-threads-pool/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-worker-threads-pool/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-worker-threads-pool/codemeta","maintainers":[{"uuid":"mokuo","login":"mokuo","name":null,"email":"suchmokuo@gmail.com","url":null,"packages_count":7,"html_url":"https://www.npmjs.com/~mokuo","role":null,"created_at":"2022-11-13T13:21:03.454Z","updated_at":"2022-11-13T13:21:03.454Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mokuo/packages"}]}