{"id":2099748,"name":"node-rules","ecosystem":"npm","description":"Business Rules Engine for JavaScript","homepage":"https://github.com/mithunsatheesh/node-rules#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/mithunsatheesh/node-rules","keywords_array":["bre","rete","rule","rules","engine","rule engine","rules engine","javascript rule engine","js rule engine","forward chaining rule engine","inference system"],"namespace":null,"versions_count":34,"first_release_published_at":"2013-05-17T06:20:31.885Z","latest_release_published_at":"2025-08-10T19:10:59.890Z","latest_release_number":"9.2.0","last_synced_at":"2026-04-08T13:14:30.945Z","created_at":"2022-04-09T21:00:47.669Z","updated_at":"2026-04-09T04:13:30.273Z","registry_url":"https://www.npmjs.com/package/node-rules","install_command":"npm install node-rules","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"beta":"9.0.0-beta.0","latest":"9.2.0"}},"repo_metadata":{"id":8506670,"uuid":"10117287","full_name":"mithunsatheesh/node-rules","owner":"mithunsatheesh","description":"Node-rules is a light weight forward chaining rule engine that can be used in JavaScript and TypeScript based projects.","archived":false,"fork":false,"pushed_at":"2025-08-10T19:02:33.000Z","size":3997,"stargazers_count":674,"open_issues_count":12,"forks_count":113,"subscribers_count":39,"default_branch":"main","last_synced_at":"2025-09-13T14:55:45.620Z","etag":null,"topics":["business-rules","business-rules-engine","engine","expression-language","forward-chaining","javascipt","javascript","json","rule","rule-engine","rules","rules-engine","rules-processor","typescript"],"latest_commit_sha":null,"homepage":"https://mithunsatheesh.github.io/node-rules","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/mithunsatheesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2013-05-17T06:17:32.000Z","updated_at":"2025-08-22T04:45:24.000Z","dependencies_parsed_at":"2024-01-15T20:48:49.297Z","dependency_job_id":"e9712a2b-8b18-403e-9b17-2e3562b68f8b","html_url":"https://github.com/mithunsatheesh/node-rules","commit_stats":{"total_commits":128,"total_committers":21,"mean_commits":6.095238095238095,"dds":0.421875,"last_synced_commit":"ceba0bf61038e4ae6e918e9a1b6c4086f0ef9091"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/mithunsatheesh/node-rules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mithunsatheesh","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/sbom","scorecard":{"id":650403,"data":{"date":"2025-08-11","repo":{"name":"github.com/mithunsatheesh/node-rules","commit":"89132d491f240a9adfdedcea85fd679a64b85772"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"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":"Maintained","score":4,"reason":"5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4","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":5,"reason":"Found 8/15 approved changesets -- score normalized to 5","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":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/mithunsatheesh/node-rules/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/mithunsatheesh/node-rules/main.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/mithunsatheesh/node-rules/main.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   1 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":"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":"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/main.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: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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":0,"reason":"16 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-3mv9-4h5g-vhg3","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"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-21T13:22:37.609Z","repository_id":8506670,"created_at":"2025-08-21T13:22:37.609Z","updated_at":"2025-08-21T13:22:37.609Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279169055,"owners_count":26118395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"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":"mithunsatheesh","name":"Mithun Satheesh","uuid":"572597","kind":"user","description":"","email":"","website":"in.linkedin.com/in/mithunsatheesh/","location":"bangalore","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/572597?u=15d94e8be522cc8e3b756fe92a30955bd13a44fb\u0026v=4","repositories_count":62,"last_synced_at":"2024-04-14T08:25:19.320Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/mithunsatheesh","funding_links":[],"total_stars":670,"followers":44,"following":54,"created_at":"2022-11-03T19:51:25.474Z","updated_at":"2024-04-14T08:25:28.903Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mithunsatheesh","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mithunsatheesh/repositories"},"tags":[{"name":"9.0.0","sha":"3b85dfe230a57549bd5062dd8cbf953310e8429e","kind":"commit","published_at":"2023-02-24T19:26:26.000Z","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/9.0.0","html_url":"https://github.com/mithunsatheesh/node-rules/releases/tag/9.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mithunsatheesh/node-rules@9.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/9.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/9.0.0/manifests"},{"name":"7.1.0","sha":"50bfd6093cf1d9cac7efa7b7f8f29c8797dde88d","kind":"commit","published_at":"2021-07-22T17:38:24.000Z","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/7.1.0","html_url":"https://github.com/mithunsatheesh/node-rules/releases/tag/7.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mithunsatheesh/node-rules@7.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/7.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/7.1.0/manifests"},{"name":"7.0.0","sha":"4451ff2bb7a4dd5fc91ce40a265268d66208edef","kind":"commit","published_at":"2021-07-01T05:20:15.000Z","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/7.0.0","html_url":"https://github.com/mithunsatheesh/node-rules/releases/tag/7.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mithunsatheesh/node-rules@7.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/7.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/7.0.0/manifests"},{"name":"6.3.0","sha":"ad47ac11a02209f65bdfe017f48ef15d26f1bd4f","kind":"commit","published_at":"2021-03-26T14:36:56.000Z","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/6.3.0","html_url":"https://github.com/mithunsatheesh/node-rules/releases/tag/6.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mithunsatheesh/node-rules@6.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/6.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/6.3.0/manifests"},{"name":"6.0.1","sha":"831f0e9bb19be60706ed21ae7e3beba37183f1a6","kind":"commit","published_at":"2020-12-13T07:10:18.000Z","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/6.0.1","html_url":"https://github.com/mithunsatheesh/node-rules/releases/tag/6.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mithunsatheesh/node-rules@6.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/6.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/6.0.1/manifests"},{"name":"6.1.0","sha":"831f0e9bb19be60706ed21ae7e3beba37183f1a6","kind":"commit","published_at":"2020-12-13T07:10:18.000Z","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/6.1.0","html_url":"https://github.com/mithunsatheesh/node-rules/releases/tag/6.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mithunsatheesh/node-rules@6.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/6.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/6.1.0/manifests"},{"name":"5.2.0","sha":"f66c8b3e0721570c4417933740fb2ca96021341e","kind":"commit","published_at":"2020-11-08T13:13:05.000Z","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/5.2.0","html_url":"https://github.com/mithunsatheesh/node-rules/releases/tag/5.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mithunsatheesh/node-rules@5.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/5.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/5.2.0/manifests"},{"name":"5.1.0","sha":"d67efcf015211a0b1e0bd19797773dd99e556e64","kind":"commit","published_at":"2020-11-07T18:47:43.000Z","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/5.1.0","html_url":"https://github.com/mithunsatheesh/node-rules/releases/tag/5.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mithunsatheesh/node-rules@5.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/5.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/5.1.0/manifests"},{"name":"5.0.0","sha":"7a18b2fb5a32ab1ffbb61948877f708866c2ac8a","kind":"commit","published_at":"2020-03-16T14:00:47.000Z","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/5.0.0","html_url":"https://github.com/mithunsatheesh/node-rules/releases/tag/5.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mithunsatheesh/node-rules@5.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/5.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/5.0.0/manifests"},{"name":"4.0.2","sha":"f07759a75795c39afaabba9c372eb040356ee04a","kind":"commit","published_at":"2018-06-12T04:37:38.000Z","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/4.0.2","html_url":"https://github.com/mithunsatheesh/node-rules/releases/tag/4.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mithunsatheesh/node-rules@4.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/4.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/4.0.2/manifests"},{"name":"v3.0.0","sha":"a121631ae80f8bfe8ec18bbd65474001e0ba9829","kind":"commit","published_at":"2015-01-16T23:05:28.000Z","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/v3.0.0","html_url":"https://github.com/mithunsatheesh/node-rules/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mithunsatheesh/node-rules@v3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/v3.0.0/manifests"},{"name":"v2.2.3","sha":"2e13972ea0bd6a9069f2b3267c44713d8cdd72bd","kind":"commit","published_at":"2014-05-30T03:58:47.000Z","download_url":"https://codeload.github.com/mithunsatheesh/node-rules/tar.gz/v2.2.3","html_url":"https://github.com/mithunsatheesh/node-rules/releases/tag/v2.2.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mithunsatheesh/node-rules@v2.2.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/v2.2.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/tags/v2.2.3/manifests"}]},"repo_metadata_updated_at":"2026-04-05T10:19:18.471Z","dependent_packages_count":15,"downloads":17638,"downloads_period":"last-month","dependent_repos_count":45,"rankings":{"downloads":1.991892741645706,"dependent_repos_count":1.9565862075163105,"dependent_packages_count":1.4881504023257721,"stargazers_count":2.858680413829733,"forks_count":2.899224222846957,"docker_downloads_count":1.4076248804795142,"average":2.1003598114406654},"purl":"pkg:npm/node-rules","advisories":[{"uuid":"MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWY3OGYtMzUzbS1jZjRq","url":"https://github.com/advisories/GHSA-f78f-353m-cf4j","title":"Code Injection in node-rules","description":"node-rules including 3.0.0 and prior to 5.0.0 allows injection of arbitrary commands. The argument rules of function \"fromJSON()\" can be controlled by users without any sanitization.","origin":"UNSPECIFIED","severity":"CRITICAL","published_at":"2021-12-10T20:05:37.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":9.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","references":["https://nvd.nist.gov/vuln/detail/CVE-2020-7609","https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832","https://snyk.io/vuln/SNYK-JS-NODERULES-560426","https://github.com/mithunsatheesh/node-rules/issues/84","https://github.com/advisories/GHSA-f78f-353m-cf4j"],"source_kind":"github","identifiers":["GHSA-f78f-353m-cf4j","CVE-2020-7609"],"repository_url":"https://github.com/mithunsatheesh/node-rules","blast_radius":0.0,"created_at":"2022-12-21T16:13:00.516Z","updated_at":"2026-04-09T04:10:31.158Z","epss_percentage":0.00418,"epss_percentile":0.615,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWY3OGYtMzUzbS1jZjRq","html_url":"https://advisories.ecosyste.ms/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWY3OGYtMzUzbS1jZjRq","packages":[{"ecosystem":"npm","package_name":"node-rules","versions":[{"first_patched_version":"5.0.0","vulnerable_version_range":"\u003e= 3.0.0, \u003c 5.0.0"}],"purl":"pkg:npm/node-rules"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWY3OGYtMzUzbS1jZjRq/related_packages","related_advisories":[]},{"uuid":"MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTh3aHItdjNnbS13OGg5","url":"https://github.com/advisories/GHSA-8whr-v3gm-w8h9","title":"Duplicate Advisory: Command Injection in node-rules","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-f78f-353m-cf4j. This link is maintained to preserve external references.\n\n## Original Description\nVersions of `node-rules` prior to 5.0.0 are vulnerable to Command Injection. The package fails to sanitize input rules and passes it directly to an `eval` call when using the `fromJSON` function. This may allow attackers to execute arbitrary code in the system if the rules are user-controlled.\n\n\n## Recommendation\n\nUpgrade to version 5.0.0 or later.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2020-09-03T15:51:04.000Z","withdrawn_at":"2026-01-23T22:49:42.000Z","classification":"GENERAL","cvss_score":8.1,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L","references":["https://github.com/mithunsatheesh/node-rules/issues/84","https://snyk.io/vuln/SNYK-JS-NODERULES-560426","https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832","https://github.com/advisories/GHSA-8whr-v3gm-w8h9"],"source_kind":"github","identifiers":["GHSA-8whr-v3gm-w8h9"],"repository_url":"https://github.com/mithunsatheesh/node-rules","blast_radius":0.0,"created_at":"2022-12-21T16:13:14.279Z","updated_at":"2026-04-05T20:07:31.759Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTh3aHItdjNnbS13OGg5","html_url":"https://advisories.ecosyste.ms/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTh3aHItdjNnbS13OGg5","packages":[{"ecosystem":"npm","package_name":"node-rules","versions":[{"first_patched_version":"5.0.0","vulnerable_version_range":"\u003c 5.0.0"}],"purl":"pkg:npm/node-rules"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTh3aHItdjNnbS13OGg5/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/node-rules","docker_dependents_count":1,"docker_downloads_count":42,"usage_url":"https://repos.ecosyste.ms/usage/npm/node-rules","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/node-rules/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-09-14T00:36:21.342Z","issues_count":62,"pull_requests_count":55,"avg_time_to_close_issue":41712031.52727272,"avg_time_to_close_pull_request":7433073.125,"issues_closed_count":55,"pull_requests_closed_count":48,"pull_request_authors_count":15,"issue_authors_count":44,"avg_comments_per_issue":2.1129032258064515,"avg_comments_per_pull_request":1.1454545454545455,"merged_pull_requests_count":42,"bot_issues_count":0,"bot_pull_requests_count":17,"past_year_issues_count":3,"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":1,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":5,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithunsatheesh%2Fnode-rules/issues","maintainers":[{"login":"mithunsatheesh","count":38,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mithunsatheesh"},{"login":"nikollatesla","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/nikollatesla"},{"login":"mi04","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mi04"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-rules/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-rules/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-rules/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-rules/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-rules/codemeta","maintainers":[{"uuid":"mithunsatheesh","login":"mithunsatheesh","name":null,"email":"mithunsatish@gmail.com","url":null,"packages_count":3,"html_url":"https://www.npmjs.com/~mithunsatheesh","role":null,"created_at":"2022-11-13T13:19:41.677Z","updated_at":"2022-11-13T13:19:41.677Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mithunsatheesh/packages"},{"uuid":"mendax","login":"mendax","name":null,"email":"mithsash@gmail.com","url":null,"packages_count":1,"html_url":"https://www.npmjs.com/~mendax","role":null,"created_at":"2022-11-13T13:19:41.687Z","updated_at":"2022-11-13T13:19:41.687Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mendax/packages"}]}