{"id":2424389,"name":"sync-exec","ecosystem":"npm","description":"Synchronous exec with status code support. Requires no external dependencies, no need for node-gyp compilations etc.","homepage":"https://github.com/gvarsanyi/sync-exec","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/gvarsanyi/sync-exec","keywords_array":["exec","execSync","fs","sync","synchronous","status code","status"],"namespace":null,"versions_count":8,"first_release_published_at":"2014-03-24T21:38:35.397Z","latest_release_published_at":"2015-08-24T16:52:25.770Z","latest_release_number":"0.6.2","last_synced_at":"2026-09-28T09:36:48.671Z","created_at":"2022-04-10T01:35:38.315Z","updated_at":"2026-09-28T09:36:48.671Z","registry_url":"https://www.npmjs.com/package/sync-exec","install_command":"npm install sync-exec","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.6.2"},"contentPolicy":null},"repo_metadata":{"id":15347112,"uuid":"18077839","full_name":"gvarsanyi/sync-exec","owner":"gvarsanyi","description":"node/npm module to imitate fs.execSync","archived":false,"fork":false,"pushed_at":"2024-05-22T19:17:06.000Z","size":323,"stargazers_count":39,"open_issues_count":6,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-09-18T19:27:20.118Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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/gvarsanyi.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,"zenodo":null}},"created_at":"2014-03-24T20:36:06.000Z","updated_at":"2026-09-09T08:55:01.000Z","dependencies_parsed_at":"2025-07-28T20:33:02.827Z","dependency_job_id":"2e533087-b570-40bf-93a6-3ef092dbf5ac","html_url":"https://github.com/gvarsanyi/sync-exec","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gvarsanyi/sync-exec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvarsanyi%2Fsync-exec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvarsanyi%2Fsync-exec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvarsanyi%2Fsync-exec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvarsanyi%2Fsync-exec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gvarsanyi","download_url":"https://codeload.github.com/gvarsanyi/sync-exec/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvarsanyi%2Fsync-exec/sbom","scorecard":{"id":450576,"data":{"date":"2025-08-11","repo":{"name":"github.com/gvarsanyi/sync-exec","commit":"ecbbeee5d1ff8d2df8b9f234d8098d1dbd64ba08"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":-1,"reason":"No tokens found","details":null,"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":"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":"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":"Code-Review","score":2,"reason":"Found 7/28 approved changesets -- score normalized to 2","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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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 9 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"}}]},"last_synced_at":"2025-08-19T08:06:52.074Z","repository_id":15347112,"created_at":"2025-08-19T08:06:52.074Z","updated_at":"2025-08-19T08:06:52.074Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37614810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-23T02:00:07.637Z","response_time":54,"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":"gvarsanyi","name":null,"uuid":"2838355","kind":"user","description":null,"email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/2838355?v=4","repositories_count":27,"last_synced_at":"2024-04-14T07:01:29.709Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/gvarsanyi","funding_links":[],"total_stars":45,"followers":1,"following":1,"created_at":"2022-11-02T16:33:05.755Z","updated_at":"2024-04-14T07:01:39.911Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gvarsanyi","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gvarsanyi/repositories"},"tags":[{"name":"0.6.1","sha":"637985e46964ba51f778ca072adc9d037d9e400c","kind":"commit","published_at":"2015-07-21T16:36:05.000Z","download_url":"https://codeload.github.com/gvarsanyi/sync-exec/tar.gz/0.6.1","html_url":"https://github.com/gvarsanyi/sync-exec/releases/tag/0.6.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gvarsanyi/sync-exec@0.6.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvarsanyi%2Fsync-exec/tags/0.6.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvarsanyi%2Fsync-exec/tags/0.6.1/manifests"},{"name":"0.6.0","sha":"e7f340d6f36996c261aa4ce73d1468d6f6c78be1","kind":"commit","published_at":"2015-07-20T18:39:26.000Z","download_url":"https://codeload.github.com/gvarsanyi/sync-exec/tar.gz/0.6.0","html_url":"https://github.com/gvarsanyi/sync-exec/releases/tag/0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/gvarsanyi/sync-exec@0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvarsanyi%2Fsync-exec/tags/0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvarsanyi%2Fsync-exec/tags/0.6.0/manifests"}]},"repo_metadata_updated_at":"2026-09-23T19:13:22.248Z","dependent_packages_count":447,"downloads":551931,"downloads_period":"last-month","dependent_repos_count":13442,"rankings":{"downloads":0.5475876762636316,"dependent_repos_count":0.2234307981273303,"dependent_packages_count":0.1262930671974433,"stargazers_count":6.5832406720508345,"forks_count":5.738059284288817,"docker_downloads_count":0.5539513890835692,"average":2.295427147835271},"purl":"pkg:npm/sync-exec","advisories":[{"uuid":"MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTM4aDgteDY5Ny1naDhx","url":"https://github.com/advisories/GHSA-38h8-x697-gh8q","title":"Tmp files readable by other users in sync-exec","description":"Affected versions of `sync-exec` use files located in `/tmp/` to buffer command results before returning values. As `/tmp/` is almost always set with world readable permissions, this may allow low privilege users on the system to read the results of commands run via `sync-exec` under a higher privilege user.\n\n\n## Recommendation\n\nThere is currently no direct patch for `sync-exec`, as the `child_process.execSync` function provided in Node.js v0.12.0 and later provides the same functionality natively. \n\nThe best mitigation currently is to update to Node.js v0.12.0 or later, and migrate all uses of `sync-exec` to `child_process.execSync()`.","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2018-11-09T17:45:30.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":6.5,"cvss_vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","references":["https://nvd.nist.gov/vuln/detail/CVE-2017-16024","https://github.com/gvarsanyi/sync-exec/issues/17","https://cwe.mitre.org/data/definitions/377.html","https://github.com/advisories/GHSA-38h8-x697-gh8q","https://www.npmjs.com/advisories/310","https://www.owasp.org/index.php/Insecure_Temporary_File"],"source_kind":"github","identifiers":["GHSA-38h8-x697-gh8q","CVE-2017-16024"],"repository_url":"https://github.com/gvarsanyi/sync-exec","blast_radius":0.0,"created_at":"2022-12-21T16:13:21.345Z","updated_at":"2026-09-24T15:12:52.922Z","epss_percentage":0.02557,"epss_percentile":0.84388,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTM4aDgteDY5Ny1naDhx","html_url":"https://advisories.ecosyste.ms/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTM4aDgteDY5Ny1naDhx","packages":[{"ecosystem":"npm","package_name":"sync-exec","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 0.6.2"}],"purl":"pkg:npm/sync-exec"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTM4aDgteDY5Ny1naDhx/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/sync-exec","docker_dependents_count":55,"docker_downloads_count":199023,"usage_url":"https://repos.ecosyste.ms/usage/npm/sync-exec","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/sync-exec/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-18T13:19:17.109Z","issues_count":9,"pull_requests_count":11,"avg_time_to_close_issue":535367.1666666666,"avg_time_to_close_pull_request":3590193.75,"issues_closed_count":6,"pull_requests_closed_count":8,"pull_request_authors_count":10,"issue_authors_count":8,"avg_comments_per_issue":1.222222222222222,"avg_comments_per_pull_request":0.45454545454545453,"merged_pull_requests_count":7,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"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":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvarsanyi%2Fsync-exec/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sync-exec/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sync-exec/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sync-exec/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sync-exec/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sync-exec/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sync-exec/codemeta","maintainers":[{"uuid":"gvarsanyi","login":"gvarsanyi","name":null,"email":"gvarsanyi@gmail.com","url":null,"packages_count":23,"html_url":"https://www.npmjs.com/~gvarsanyi","role":null,"created_at":"2022-11-10T22:49:47.648Z","updated_at":"2022-11-10T22:49:47.648Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/gvarsanyi/packages"}]}