{"id":2110904,"name":"notevil","ecosystem":"npm","description":"Evalulate javascript like the built-in eval() method but safely","homepage":"https://github.com/mmckegg/notevil#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/mmckegg/notevil","keywords_array":["eval","sandbox","esprima","safe","expression"],"namespace":null,"versions_count":19,"first_release_published_at":"2013-11-02T02:44:42.825Z","latest_release_published_at":"2020-03-04T03:14:57.497Z","latest_release_number":"1.3.3","last_synced_at":"2026-10-15T20:35:36.564Z","created_at":"2022-04-09T21:09:22.599Z","updated_at":"2026-10-15T22:22:54.539Z","registry_url":"https://www.npmjs.com/package/notevil","install_command":"npm install notevil","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.3.3"},"contentPolicy":null},"repo_metadata":{"id":11571141,"uuid":"14059172","full_name":"mmckegg/notevil","owner":"mmckegg","description":"Evalulate javascript like the built-in javascript eval() method but safely.","archived":true,"fork":false,"pushed_at":"2021-12-28T01:05:06.000Z","size":68,"stargazers_count":194,"open_issues_count":18,"forks_count":22,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-10-06T17:36:23.533Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmckegg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-02T02:45:54.000Z","updated_at":"2025-08-27T13:35:11.000Z","dependencies_parsed_at":"2022-08-19T17:01:21.240Z","dependency_job_id":null,"html_url":"https://github.com/mmckegg/notevil","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/mmckegg/notevil","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmckegg","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/sbom","scorecard":{"id":654196,"data":{"date":"2025-08-11","repo":{"name":"github.com/mmckegg/notevil","commit":"fb6edb81a1fef70d492d5a26389db34139a90a41"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"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":"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":"Code-Review","score":1,"reason":"Found 3/28 approved changesets -- score normalized to 1","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":"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":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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 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"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9"],"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-21T14:14:39.743Z","repository_id":11571141,"created_at":"2025-08-21T14:14:39.743Z","updated_at":"2025-08-21T14:14:39.743Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343170754,"owners_count":38106458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-07T02:00:06.311Z","response_time":58,"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":"mmckegg","name":"Matt McKegg","uuid":"66834","kind":"user","description":"music hacker // button pusher","email":"","website":null,"location":"Wellington, New Zealand","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/66834?u=b247bb6a1d1ffe1d6222495deb08663a8bd8c763\u0026v=4","repositories_count":148,"last_synced_at":"2026-10-14T16:48:22.161Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/mmckegg","funding_links":[],"total_stars":2597,"followers":657,"following":27,"created_at":"2022-11-02T16:38:32.139Z","updated_at":"2026-10-14T16:48:22.174Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmckegg","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmckegg/repositories"},"tags":[{"name":"v1.1.0","sha":"3b09e0de2044658484b74f96f009f9a82738b508","kind":"tag","published_at":"2017-02-05T00:20:15.000Z","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/v1.1.0","html_url":"https://github.com/mmckegg/notevil/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mmckegg/notevil@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"ea655bc732bf3378ca0380edecf89c370ff6b128","kind":"tag","published_at":"2015-03-18T23:39:16.000Z","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/v1.0.0","html_url":"https://github.com/mmckegg/notevil/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mmckegg/notevil@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v1.0.0/manifests"},{"name":"v0.8.1","sha":"9a4a570e42ed26f419a1c9d274347046e098edaa","kind":"tag","published_at":"2014-07-03T05:01:55.000Z","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/v0.8.1","html_url":"https://github.com/mmckegg/notevil/releases/tag/v0.8.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mmckegg/notevil@v0.8.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.8.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.8.1/manifests"},{"name":"v0.8.0","sha":"196354f62c925cc2d4d6988fbb0d50560c14ef13","kind":"tag","published_at":"2013-12-03T03:39:33.000Z","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/v0.8.0","html_url":"https://github.com/mmckegg/notevil/releases/tag/v0.8.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mmckegg/notevil@v0.8.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.8.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.8.0/manifests"},{"name":"v0.7.0","sha":"cdfad39d2ef47c597c4e7aa38ad0433474a6f45f","kind":"tag","published_at":"2013-11-25T23:35:16.000Z","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/v0.7.0","html_url":"https://github.com/mmckegg/notevil/releases/tag/v0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mmckegg/notevil@v0.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.7.0/manifests"},{"name":"v0.6.0","sha":"88d258571cab20f4b7a08f52595d4141581c7ac7","kind":"tag","published_at":"2013-11-25T08:53:31.000Z","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/v0.6.0","html_url":"https://github.com/mmckegg/notevil/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mmckegg/notevil@v0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.6.0/manifests"},{"name":"v0.4.0","sha":"c8643e5117d1f07ad9e693af1184ca6e76d58915","kind":"tag","published_at":"2013-11-24T21:45:10.000Z","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/v0.4.0","html_url":"https://github.com/mmckegg/notevil/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mmckegg/notevil@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.4.0/manifests"},{"name":"v0.3.0","sha":"3c7313715b9e4c094d83619ed87b786b7de966de","kind":"tag","published_at":"2013-11-24T03:59:40.000Z","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/v0.3.0","html_url":"https://github.com/mmckegg/notevil/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mmckegg/notevil@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"9d1ea8f5800d5877a40b2f6ab4261198897a94b7","kind":"tag","published_at":"2013-11-24T02:55:56.000Z","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/v0.2.0","html_url":"https://github.com/mmckegg/notevil/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mmckegg/notevil@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"3d43738b183e8f1cd229302b36c0ea38b6f9ba7e","kind":"tag","published_at":"2013-11-24T02:10:38.000Z","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/v0.1.0","html_url":"https://github.com/mmckegg/notevil/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mmckegg/notevil@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.1.0/manifests"},{"name":"v0.0.2","sha":"e296b8b7c942227da3b998a1b46147209d793680","kind":"tag","published_at":"2013-11-24T00:22:13.000Z","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/v0.0.2","html_url":"https://github.com/mmckegg/notevil/releases/tag/v0.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mmckegg/notevil@v0.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.0.2/manifests"},{"name":"v0.0.1","sha":"4b90ac57032c0c910694403fc28720808cc95aff","kind":"tag","published_at":"2013-11-02T03:10:40.000Z","download_url":"https://codeload.github.com/mmckegg/notevil/tar.gz/v0.0.1","html_url":"https://github.com/mmckegg/notevil/releases/tag/v0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mmckegg/notevil@v0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmckegg%2Fnotevil/tags/v0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-10-14T19:56:12.823Z","dependent_packages_count":32,"downloads":99682,"downloads_period":"last-month","dependent_repos_count":1049,"rankings":{"downloads":1.1939352286912492,"dependent_repos_count":0.5888606813750928,"dependent_packages_count":0.8303868040376359,"stargazers_count":4.044185720297377,"forks_count":4.941854347265486,"docker_downloads_count":0.1774829235451702,"average":1.9627842842020018},"purl":"pkg:npm/notevil","advisories":[{"uuid":"GSA_kwCzR0hTQS04ZzRtLWNqbTItOTZ3cc0z7w","url":"https://github.com/advisories/GHSA-8g4m-cjm2-96wq","title":"Sandbox escape in notevil and argencoders-notevil","description":"This affects all versions of package notevil; all versions of package argencoders-notevil. It is vulnerable to Sandbox Escape leading to Prototype pollution. The package fails to restrict access to the main context, allowing an attacker to add or modify an object's prototype. **Note:** This vulnerability derives from an incomplete fix in [SNYK-JS-NOTEVIL-608878](https://security.snyk.io/vuln/SNYK-JS-NOTEVIL-608878). This package has been deprecated.","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2022-03-18T00:01:11.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":6.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","references":["https://nvd.nist.gov/vuln/detail/CVE-2021-23771","https://snyk.io/vuln/SNYK-JS-ARGENCODERSNOTEVIL-2388587","https://snyk.io/vuln/SNYK-JS-NOTEVIL-2385946","https://github.com/advisories/GHSA-8g4m-cjm2-96wq"],"source_kind":"github","identifiers":["GHSA-8g4m-cjm2-96wq","CVE-2021-23771"],"repository_url":null,"blast_radius":0.0,"created_at":"2022-12-21T16:12:32.995Z","updated_at":"2026-10-12T14:15:31.236Z","epss_percentage":0.01013,"epss_percentile":0.61733,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04ZzRtLWNqbTItOTZ3cc0z7w","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS04ZzRtLWNqbTItOTZ3cc0z7w","packages":[{"ecosystem":"npm","package_name":"argencoders-notevil","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 2.5.0"}],"purl":"pkg:npm/argencoders-notevil"},{"ecosystem":"npm","package_name":"notevil","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 1.3.3"}],"purl":"pkg:npm/notevil"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04ZzRtLWNqbTItOTZ3cc0z7w/related_packages","related_advisories":[]},{"uuid":"MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTlneHItcmh4Ni00amd2","url":"https://github.com/advisories/GHSA-9gxr-rhx6-4jgv","title":"Sandbox Breakout / Prototype Pollution in notevil","description":"Versions of `notevil` prior to 1.3.3 are vulnerable to Sandbox Escape leading to Prototype pollution. The package fails to restrict access to the main context, allowing attacker to add or modify an object's prototype.\n\nEvaluating the payload ```try{a[b];}catch(e){e.constructor.constructor('return __proto__.arguments.callee.__proto__.polluted=true')()}``` add the `polluted` property to Function.\n\n\n## Recommendation\n\nUpgrade to version 1.3.3 or later.","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2020-09-04T15:18:57.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":0.0,"cvss_vector":null,"references":["https://www.npmjs.com/advisories/1338","https://github.com/advisories/GHSA-9gxr-rhx6-4jgv"],"source_kind":"github","identifiers":["GHSA-9gxr-rhx6-4jgv"],"repository_url":null,"blast_radius":0.0,"created_at":"2022-12-21T16:13:15.385Z","updated_at":"2026-10-15T21:19:32.879Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTlneHItcmh4Ni00amd2","html_url":"https://advisories.ecosyste.ms/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTlneHItcmh4Ni00amd2","packages":[{"ecosystem":"npm","package_name":"notevil","versions":[{"first_patched_version":"1.3.3","vulnerable_version_range":"\u003c 1.3.3"}],"purl":"pkg:npm/notevil"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTlneHItcmh4Ni00amd2/related_packages","related_advisories":[]},{"uuid":"MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTdyNWYtN3FyNC1wZjZx","url":"https://github.com/advisories/GHSA-7r5f-7qr4-pf6q","title":"Sandbox Breakout / Arbitrary Code Execution in notevil","description":"Versions of `notevil` prior to 1.3.2 are vulnerable to Sandbox Escape leading to Remote Code Execution. The package fails to prevent access to the `Function` constructor by not checking the return values of function calls. This allows attackers to access the Function prototype's constructor leading to the Sandbox Escape. An example payload is:  \n```\nvar safeEval = require('notevil')\nvar input = \"\" + \n\"function fn() {};\" + \n\"var constructorProperty = Object.getOwnPropertyDescriptors(fn.__proto__).constructor;\" + \n\"var properties = Object.values(constructorProperty);\" + \n\"properties.pop();\" + \n\"properties.pop();\" + \n\"properties.pop();\" + \n\"var Function = properties.pop();\" + \n\"(Function('return this'))()\"; \nsafeEval(input)```\n\n\n## Recommendation\n\nUpgrade to version 1.3.2 or later.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2020-09-03T19:03:33.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":0.0,"cvss_vector":null,"references":["https://www.npmjs.com/advisories/1093","https://github.com/advisories/GHSA-7r5f-7qr4-pf6q"],"source_kind":"github","identifiers":["GHSA-7r5f-7qr4-pf6q"],"repository_url":null,"blast_radius":0.0,"created_at":"2022-12-21T16:13:17.060Z","updated_at":"2026-10-15T21:19:36.824Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTdyNWYtN3FyNC1wZjZx","html_url":"https://advisories.ecosyste.ms/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTdyNWYtN3FyNC1wZjZx","packages":[{"ecosystem":"npm","package_name":"notevil","versions":[{"first_patched_version":"1.3.2","vulnerable_version_range":"\u003c 1.3.2"}],"purl":"pkg:npm/notevil"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTdyNWYtN3FyNC1wZjZx/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/notevil","docker_dependents_count":25,"docker_downloads_count":80933374,"usage_url":"https://repos.ecosyste.ms/usage/npm/notevil","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/notevil/dependencies","status":"deprecated","funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-12T15:19:33.131Z","issues_count":33,"pull_requests_count":10,"avg_time_to_close_issue":4455988.722222222,"avg_time_to_close_pull_request":15439.714285714286,"issues_closed_count":18,"pull_requests_closed_count":7,"pull_request_authors_count":6,"issue_authors_count":15,"avg_comments_per_issue":1.0909090909090908,"avg_comments_per_pull_request":0.6,"merged_pull_requests_count":7,"bot_issues_count":0,"bot_pull_requests_count":2,"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/mmckegg%2Fnotevil/issues","maintainers":[{"login":"mmckegg","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mmckegg"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/notevil/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/notevil/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/notevil/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/notevil/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/notevil/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/notevil/codemeta","maintainers":[{"uuid":"mmckegg","login":"mmckegg","name":null,"email":"matt@wetsand.co.nz","url":null,"packages_count":154,"html_url":"https://www.npmjs.com/~mmckegg","role":null,"created_at":"2022-11-13T14:04:57.012Z","updated_at":"2022-11-13T14:04:57.012Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mmckegg/packages"}]}