{"id":1277357,"name":"@sideway/formula","ecosystem":"npm","description":"Math and string formula parser.","homepage":"https://github.com/sideway/formula#readme","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/sideway/formula","keywords_array":["formula","parser","math","string"],"namespace":"sideway","versions_count":2,"first_release_published_at":"2020-10-24T06:49:22.571Z","latest_release_published_at":"2022-12-16T14:35:23.617Z","latest_release_number":"3.0.1","last_synced_at":"2026-06-02T10:45:38.635Z","created_at":"2022-04-08T19:18:00.062Z","updated_at":"2026-06-02T10:45:38.635Z","registry_url":"https://www.npmjs.com/package/@sideway/formula","install_command":"npm install @sideway/formula","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"3.0.1"}},"repo_metadata":{"id":57103525,"uuid":"191817804","full_name":"hapijs/formula","owner":"hapijs","description":"Math and string operations","archived":false,"fork":false,"pushed_at":"2024-02-02T16:21:44.000Z","size":47,"stargazers_count":17,"open_issues_count":0,"forks_count":20,"subscribers_count":8,"default_branch":"master","last_synced_at":"2026-02-19T16:29:04.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hapijs.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}},"created_at":"2019-06-13T18:58:47.000Z","updated_at":"2026-02-10T03:55:09.000Z","dependencies_parsed_at":"2023-12-28T22:05:45.304Z","dependency_job_id":"3d4dfb4a-b615-4fc2-83b9-0fa9708538bb","html_url":"https://github.com/hapijs/formula","commit_stats":{"total_commits":22,"total_committers":3,"mean_commits":7.333333333333333,"dds":0.2727272727272727,"last_synced_commit":"f173633232250d222548489a0b85f94c07ad2258"},"previous_names":["sideway/formula"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/hapijs/formula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapijs","download_url":"https://codeload.github.com/hapijs/formula/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/sbom","scorecard":{"id":455149,"data":{"date":"2025-08-11","repo":{"name":"github.com/hapijs/formula","commit":"f173633232250d222548489a0b85f94c07ad2258"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"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":"Code-Review","score":0,"reason":"Found 1/21 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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci-module.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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-module.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/hapijs/formula/ci-module.yml/master?enable=pin","Info:   0 out of   1 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":"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":"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":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/hapijs/.github/SECURITY.md:1","Info: Found linked content: github.com/hapijs/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/hapijs/.github/SECURITY.md:1","Info: Found text in security policy: github.com/hapijs/.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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 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-19T09:22:32.960Z","repository_id":57103525,"created_at":"2025-08-19T09:22:32.960Z","updated_at":"2025-08-19T09:22:32.960Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29966684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T09:33:09.965Z","status":"ssl_error","status_checked_at":"2026-03-01T09:25:48.915Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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"},"owner_record":{"login":"hapijs","name":"hapi.js","uuid":"3774533","kind":"organization","description":"The Simple, Secure Framework Developers Trust","email":null,"website":"https://hapi.dev","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/3774533?v=4","repositories_count":75,"last_synced_at":"2025-10-14T18:15:46.854Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/hapijs","funding_links":[],"total_stars":47099,"followers":179,"following":0,"created_at":"2022-11-02T16:20:46.028Z","updated_at":"2025-10-14T18:15:46.854Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapijs","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapijs/repositories"},"tags":[{"name":"v3.0.2","sha":"f173633232250d222548489a0b85f94c07ad2258","kind":"tag","published_at":"2023-02-19T10:51:29.000Z","download_url":"https://codeload.github.com/hapijs/formula/tar.gz/v3.0.2","html_url":"https://github.com/hapijs/formula/releases/tag/v3.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapijs/formula@v3.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v3.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v3.0.2/manifests"},{"name":"v3.0.1","sha":"5b44c1bffc38135616fb91d5ad46eaf64f03d23b","kind":"tag","published_at":"2022-12-14T10:28:30.000Z","download_url":"https://codeload.github.com/hapijs/formula/tar.gz/v3.0.1","html_url":"https://github.com/hapijs/formula/releases/tag/v3.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapijs/formula@v3.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v3.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v3.0.1/manifests"},{"name":"v3.0.0","sha":"0cb9b1c58544e35f3c6ac97126c68eec2cab499d","kind":"tag","published_at":"2020-01-04T08:53:29.000Z","download_url":"https://codeload.github.com/hapijs/formula/tar.gz/v3.0.0","html_url":"https://github.com/hapijs/formula/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapijs/formula@v3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v3.0.0/manifests"},{"name":"v2.0.0","sha":"b3307203b97fc2e1daa075f708cda11bc8e39c90","kind":"tag","published_at":"2019-10-07T04:44:07.000Z","download_url":"https://codeload.github.com/hapijs/formula/tar.gz/v2.0.0","html_url":"https://github.com/hapijs/formula/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapijs/formula@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v2.0.0/manifests"},{"name":"v1.2.0","sha":"c2aca8031cc3abe342e763926527e863e3fc58c5","kind":"tag","published_at":"2019-08-09T08:37:09.000Z","download_url":"https://codeload.github.com/hapijs/formula/tar.gz/v1.2.0","html_url":"https://github.com/hapijs/formula/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapijs/formula@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"7764f0eb61588b7409cf3e212cb2908f3b844c12","kind":"tag","published_at":"2019-06-24T18:43:47.000Z","download_url":"https://codeload.github.com/hapijs/formula/tar.gz/v1.1.0","html_url":"https://github.com/hapijs/formula/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapijs/formula@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"06655b466bf01cf958cbabe5f33dd094acec284f","kind":"tag","published_at":"2019-06-24T17:40:51.000Z","download_url":"https://codeload.github.com/hapijs/formula/tar.gz/v1.0.0","html_url":"https://github.com/hapijs/formula/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapijs/formula@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fformula/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-05-31T13:55:38.445Z","dependent_packages_count":14,"downloads":54720973,"downloads_period":"last-month","dependent_repos_count":267498,"rankings":{"downloads":0.0457790836133606,"dependent_repos_count":0.06675203699125187,"dependent_packages_count":1.5288625896450014,"stargazers_count":8.47348386218853,"forks_count":5.126490729324871,"docker_downloads_count":0.0790182029355016,"average":2.5533977507830863},"purl":"pkg:npm/%40sideway/formula","advisories":[{"uuid":"GSA_kwCzR0hTQS1jMmpjLTRmcHItNHZoZ84AAxfy","url":"https://github.com/advisories/GHSA-c2jc-4fpr-4vhg","title":"@sideway/formula contains Regular Expression Denial of Service (ReDoS) Vulnerability","description":"### Impact\n\nUser-provided strings to formula's parser might lead to polynomial execution time.\n\n### Patches\n\nUsers should upgrade to 3.0.1+.\n\n### Workarounds\n\nNone.","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2023-02-08T22:38:10.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":5.5,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","references":["https://github.com/hapijs/formula/security/advisories/GHSA-c2jc-4fpr-4vhg","https://nvd.nist.gov/vuln/detail/CVE-2023-25166","https://github.com/hapijs/formula/commit/9fbc20a02d75ae809c37a610a57802cd1b41b3fe","https://github.com/advisories/GHSA-c2jc-4fpr-4vhg"],"source_kind":"github","identifiers":["GHSA-c2jc-4fpr-4vhg","CVE-2023-25166"],"repository_url":"https://github.com/hapijs/formula","blast_radius":0.0,"created_at":"2023-02-08T23:03:18.195Z","updated_at":"2026-04-23T10:08:22.922Z","epss_percentage":0.01149,"epss_percentile":0.78517,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jMmpjLTRmcHItNHZoZ84AAxfy","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1jMmpjLTRmcHItNHZoZ84AAxfy","packages":[{"ecosystem":"npm","package_name":"@sideway/formula","versions":[{"first_patched_version":"3.0.1","vulnerable_version_range":"\u003c 3.0.1"}],"purl":"pkg:npm/%40sideway%2Fformula"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jMmpjLTRmcHItNHZoZ84AAxfy/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@sideway/formula","docker_dependents_count":2601,"docker_downloads_count":2033230086,"usage_url":"https://repos.ecosyste.ms/usage/npm/@sideway/formula","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@sideway/formula/dependencies","status":null,"funding_links":[],"critical":true,"issue_metadata":{"last_synced_at":"2025-08-28T15:29:21.979Z","issues_count":10,"pull_requests_count":4,"avg_time_to_close_issue":104799.4,"avg_time_to_close_pull_request":747631.75,"issues_closed_count":10,"pull_requests_closed_count":4,"pull_request_authors_count":4,"issue_authors_count":5,"avg_comments_per_issue":1.0,"avg_comments_per_pull_request":0.75,"merged_pull_requests_count":2,"bot_issues_count":1,"bot_pull_requests_count":1,"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/hapijs%2Fformula/issues","maintainers":[{"login":"Marsup","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Marsup"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sideway%2Fformula/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sideway%2Fformula/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sideway%2Fformula/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sideway%2Fformula/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sideway%2Fformula/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sideway%2Fformula/codemeta","maintainers":[{"uuid":"marsup","login":"marsup","name":null,"email":"nicolas@morel.io","url":null,"packages_count":172,"html_url":"https://www.npmjs.com/~marsup","role":null,"created_at":"2022-12-15T13:49:15.297Z","updated_at":"2022-12-15T13:49:15.297Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/marsup/packages"},{"uuid":"hueniverse","login":"hueniverse","name":null,"email":"eran@hammer.io","url":null,"packages_count":40,"html_url":"https://www.npmjs.com/~hueniverse","role":null,"created_at":"2022-11-10T22:48:32.893Z","updated_at":"2022-11-10T22:48:32.893Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/hueniverse/packages"}]}