{"id":2774558,"name":"js2py","ecosystem":"pypi","description":"JavaScript to Python Translator \u0026 JavaScript interpreter written in 100% pure Python.","homepage":"https://github.com/PiotrDabkowski/Js2Py","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/PiotrDabkowski/Js2Py","keywords_array":[],"namespace":null,"versions_count":48,"first_release_published_at":"2015-05-26T21:46:31.000Z","latest_release_published_at":"2022-11-06T10:43:50.000Z","latest_release_number":"0.74","last_synced_at":"2026-09-15T09:07:02.583Z","created_at":"2022-04-10T11:22:31.629Z","updated_at":"2026-09-15T09:07:02.583Z","registry_url":"https://pypi.org/project/js2py/","install_command":"pip install js2py --index-url https://pypi.org/simple","documentation_url":"https://js2py.readthedocs.io/","metadata":{"funding":null,"documentation":null,"classifiers":[],"normalized_name":"js2py","project_status":null},"repo_metadata":{"id":21418667,"uuid":"24736750","full_name":"PiotrDabkowski/Js2Py","owner":"PiotrDabkowski","description":"JavaScript to Python Translator \u0026 JavaScript interpreter written in 100% pure Python🚀 Try it online:","archived":false,"fork":false,"pushed_at":"2024-05-06T12:15:15.000Z","size":6279,"stargazers_count":2570,"open_issues_count":163,"forks_count":279,"subscribers_count":57,"default_branch":"master","last_synced_at":"2026-09-13T12:56:57.549Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://piter.io/projects/js2py","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/PiotrDabkowski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2014-10-02T21:08:48.000Z","updated_at":"2026-09-11T03:28:41.000Z","dependencies_parsed_at":"2024-06-18T12:28:38.966Z","dependency_job_id":null,"html_url":"https://github.com/PiotrDabkowski/Js2Py","commit_stats":{"total_commits":264,"total_committers":28,"mean_commits":9.428571428571429,"dds":0.2992424242424242,"last_synced_commit":"2e017b86e2f18a6c8a842293b1687f2ce7baa12e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PiotrDabkowski/Js2Py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrDabkowski%2FJs2Py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrDabkowski%2FJs2Py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrDabkowski%2FJs2Py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrDabkowski%2FJs2Py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PiotrDabkowski","download_url":"https://codeload.github.com/PiotrDabkowski/Js2Py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiotrDabkowski%2FJs2Py/sbom","scorecard":{"id":110268,"data":{"date":"2025-08-11","repo":{"name":"github.com/PiotrDabkowski/Js2Py","commit":"2e017b86e2f18a6c8a842293b1687f2ce7baa12e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"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":4,"reason":"Found 11/25 approved changesets -- score normalized to 4","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/tests.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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md: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":"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":"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":"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/tests.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/PiotrDabkowski/Js2Py/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/PiotrDabkowski/Js2Py/tests.yml/master?enable=pin","Warn: containerImage not pinned by hash: bench.dockerfile:1: pin your Docker image by updating python:3.11-alpine to python:3.11-alpine@sha256:9ce54d7ed458f71129c977478dd106cf6165a49b73fa38c217cc54de8f3e2bd0","Warn: pipCommand not pinned by hash: bench.dockerfile:3","Warn: pipCommand not pinned by hash: bench.dockerfile:4","Warn: pipCommand not pinned by hash: bench.dockerfile:7","Warn: npmCommand not pinned by hash: js2py/es6/buildBabel:5","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:32","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:32","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   5 pipCommand 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 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":"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"}}]},"last_synced_at":"2025-08-15T12:03:31.211Z","repository_id":21418667,"created_at":"2025-08-15T12:03:31.211Z","updated_at":"2025-08-15T12:03:31.211Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37286855,"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-13T02:00:22.117Z","response_time":122,"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":"PiotrDabkowski","name":"Piotr Dabkowski","uuid":"4052440","kind":"user","description":"ElevenLabs research \u0026 co-founder","email":"","website":"piter.io","location":"Zürich, Switzerland","twitter":null,"company":"@elevenlabs","icon_url":"https://avatars.githubusercontent.com/u/4052440?u=2f859072382eae564ef35c572ad1d5cd083fd6a2\u0026v=4","repositories_count":12,"last_synced_at":"2025-05-06T11:41:38.592Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/PiotrDabkowski","funding_links":[],"total_stars":null,"followers":251,"following":28,"created_at":"2022-11-09T20:16:59.063Z","updated_at":"2025-05-06T11:41:38.593Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PiotrDabkowski","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PiotrDabkowski/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-09-14T16:06:01.071Z","dependent_packages_count":42,"downloads":594429,"downloads_period":"last-month","dependent_repos_count":596,"rankings":{"downloads":0.6626762730723401,"dependent_repos_count":0.5751106323454847,"dependent_packages_count":0.3973055068161677,"stargazers_count":1.4692211588373336,"forks_count":3.110215472917362,"docker_downloads_count":1.8294211339687327,"average":1.3406583629929034},"purl":"pkg:pypi/js2py","advisories":[{"uuid":"GSA_kwCzR0hTQS1oOTV4LTI2ZjMtODhocs4AA9P0","url":"https://github.com/advisories/GHSA-h95x-26f3-88hr","title":"js2py allows remote code execution","description":"An issue in the component `js2py.disable_pyimport()` of js2py up to v0.74 allows attackers to execute arbitrary code via a crafted API call.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2024-06-20T18:34:08.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.7,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","references":["https://nvd.nist.gov/vuln/detail/CVE-2024-28397","https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape","https://github.com/PiotrDabkowski/Js2Py/pull/323","https://github.com/Marven11","https://github.com/advisories/GHSA-h95x-26f3-88hr"],"source_kind":"github","identifiers":["GHSA-h95x-26f3-88hr","CVE-2024-28397"],"repository_url":"https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape","blast_radius":24.144642459740055,"created_at":"2024-06-20T20:05:30.846Z","updated_at":"2026-07-19T12:05:55.100Z","epss_percentage":0.04548,"epss_percentile":0.90502,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oOTV4LTI2ZjMtODhocs4AA9P0","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1oOTV4LTI2ZjMtODhocs4AA9P0","packages":[{"ecosystem":"pypi","package_name":"js2py","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 0.74"}],"purl":"pkg:pypi/js2py"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oOTV4LTI2ZjMtODhocs4AA9P0/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/pypi/js2py","docker_dependents_count":5,"docker_downloads_count":7029,"usage_url":"https://repos.ecosyste.ms/usage/pypi/js2py","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/pypi/js2py/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-13T12:56:57.760Z","issues_count":97,"pull_requests_count":43,"avg_time_to_close_issue":28392732.96153846,"avg_time_to_close_pull_request":17564036.25,"issues_closed_count":25,"pull_requests_closed_count":16,"pull_request_authors_count":33,"issue_authors_count":86,"avg_comments_per_issue":1.4845360824742269,"avg_comments_per_pull_request":1.372093023255814,"merged_pull_requests_count":7,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":2,"past_year_pull_requests_count":5,"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":2,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.6,"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/PiotrDabkowski%2FJs2Py/issues","maintainers":[{"login":"worstperson","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/worstperson"},{"login":"PiotrDabkowski","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/PiotrDabkowski"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/js2py/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/js2py/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/js2py/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/js2py/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/js2py/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/js2py/codemeta","maintainers":[{"uuid":"PiotrDabkowski","login":"PiotrDabkowski","name":null,"email":null,"url":null,"packages_count":16,"html_url":"https://pypi.org/user/PiotrDabkowski/","role":null,"created_at":"2023-02-24T12:32:52.865Z","updated_at":"2023-02-24T12:32:52.865Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/maintainers/PiotrDabkowski/packages"}]}