{"_id":"csp_evaluator","_rev":"4111147","name":"csp_evaluator","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","dist-tags":{"latest":"1.1.5"},"maintainers":[{"name":"google-wombot","email":""}],"time":{"modified":"2026-02-01T17:51:36.000Z","created":"2021-03-08T18:46:02.141Z","1.1.5":"2025-02-20T06:41:49.668Z","1.1.4":"2025-02-20T00:34:40.241Z","1.1.3":"2025-02-19T22:52:35.996Z","1.1.2":"2024-07-11T16:10:35.642Z","1.1.1":"2022-08-10T22:46:59.726Z","1.1.0":"2021-08-26T23:10:27.903Z","1.0.7":"2021-08-26T23:03:56.394Z","1.0.6":"2021-08-26T22:59:59.003Z","1.0.5":"2021-08-26T21:11:32.886Z","1.0.4":"2021-08-04T16:03:13.571Z","1.0.3":"2021-08-04T15:57:40.255Z","1.0.2":"2021-08-04T08:42:44.018Z","1.0.1":"2021-03-08T18:49:05.026Z","1.0.0":"2021-03-08T18:46:02.141Z"},"users":{},"author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"versions":{"1.1.5":{"name":"csp_evaluator","version":"1.1.5","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"scripts":{"test":"tsc && npx jasmine --config=jasmine.json"},"devDependencies":{"@types/jasmine":"^3.6.7","jasmine":"^3.7.0","typescript":"^4.2.3"},"types":"./dist/evaluator.d.ts","contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"gitHead":"6549db2dbf6509874f62ffb301a2b96e309db2d2","bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.1.5","_nodeVersion":"20.15.0","_npmVersion":"9.2.0","dist":{"shasum":"33788d695b7b539b17d5b6eba494431ce931faff","size":78659,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.1.5.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/csp_evaluator_1.1.5_1740033709483_0.5883286352705452"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-20T06:41:49.668Z","publish_time":1740033709668,"_source_registry_name":"default","_cnpm_publish_time":1740033709668},"1.1.4":{"name":"csp_evaluator","version":"1.1.4","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"scripts":{"test":"tsc && npx jasmine --config=jasmine.json"},"devDependencies":{"@types/jasmine":"^3.6.7","jasmine":"^3.7.0","typescript":"^4.2.3"},"contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"gitHead":"cb574ff0e358b363103bfebe69497960ccad995d","bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.1.4","_nodeVersion":"20.15.0","_npmVersion":"9.2.0","dist":{"shasum":"b07397f8dd5cb5ef9f1b3453ec3be926171ff27e","size":36898,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.1.4.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/csp_evaluator_1.1.4_1740011680061_0.7664540688158221"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-20T00:34:40.241Z","publish_time":1740011680241,"_source_registry_name":"default","_cnpm_publish_time":1740011680241},"1.1.3":{"name":"csp_evaluator","version":"1.1.3","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"scripts":{"test":"tsc && npx jasmine --config=jasmine.json"},"devDependencies":{"@types/jasmine":"^3.6.7","jasmine":"^3.7.0","typescript":"^4.2.3"},"types":"./dist/evaluator.d.ts","contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"gitHead":"cb574ff0e358b363103bfebe69497960ccad995d","bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.1.3","_nodeVersion":"20.15.0","_npmVersion":"9.2.0","dist":{"shasum":"e98fe3147bb83613cf352e6daca5c3aa34608a9d","size":78659,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.1.3.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/csp_evaluator_1.1.3_1740005555770_0.4128539110551046"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-19T22:52:35.996Z","publish_time":1740005555996,"_source_registry_name":"default","_cnpm_publish_time":1740005555996},"1.1.2":{"name":"csp_evaluator","version":"1.1.2","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"scripts":{"test":"tsc && npx jasmine --config=jasmine.json"},"devDependencies":{"@types/jasmine":"^3.6.7","jasmine":"^3.7.0","typescript":"^4.2.3"},"types":"./dist/evaluator.d.ts","contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"gitHead":"54d60147c0b185f320c00a513c1137d7d0bf4172","bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.1.2","_nodeVersion":"18.19.1","_npmVersion":"9.2.0","dist":{"shasum":"a1dfaa971f0fedb57f473653561c5684431cd56f","size":78306,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.1.2.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp_evaluator_1.1.2_1720714235480_0.021595616636226334"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-11T16:10:35.642Z","publish_time":1720714235642,"_source_registry_name":"default","_cnpm_publish_time":1720714235642},"1.1.1":{"name":"csp_evaluator","version":"1.1.1","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"scripts":{"test":"tsc && npx jasmine --config=jasmine.json"},"devDependencies":{"@types/jasmine":"^3.6.7","jasmine":"^3.7.0","typescript":"^4.2.3"},"contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"gitHead":"9a4b31551ed0ba2bcc42d557f96b3666d9d90ee0","bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.1.1","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"shasum":"12b7bb0c6ae9053d30c86e8ddc52a1e920e6c0f7","size":74871,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.1.1.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp_evaluator_1.1.1_1660171619406_0.6663527009283918"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-10T22:47:56.491Z","publish_time":1660171619726,"_cnpm_publish_time":1660171619726},"1.1.0":{"name":"csp_evaluator","version":"1.1.0","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"scripts":{"test":"tsc && npx jasmine --config=jasmine.json"},"devDependencies":{"@types/jasmine":"^3.6.7","jasmine":"^3.7.0","typescript":"^4.2.3"},"contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"gitHead":"a21f94e348b0dfb0245c65af522bf3137a9647de","bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.1.0","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"shasum":"7fb3378a08163de4caf0a5297e92a5f70ef42d21","size":74671,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.1.0.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp_evaluator_1.1.0_1630019427661_0.02875348825369195"},"_hasShrinkwrap":false,"publish_time":1630019427903,"_cnpm_publish_time":1630019427903},"1.0.7":{"name":"csp_evaluator","version":"1.0.7","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"scripts":{"test":"tsc && npx jasmine --config=jasmine.json"},"devDependencies":{"@types/jasmine":"^3.6.7","jasmine":"^3.7.0","typescript":"^4.2.3"},"contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"gitHead":"19fd9225cadb6cfee105e40b2d88e3d78c3180fd","bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.0.7","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"shasum":"8cd5cc517da7d7719623cfcd9bcc5f75afca252e","size":74377,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.0.7.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp_evaluator_1.0.7_1630019036227_0.7405597233984547"},"_hasShrinkwrap":false,"publish_time":1630019036394,"_cnpm_publish_time":1630019036394},"1.0.6":{"name":"csp_evaluator","version":"1.0.6","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"scripts":{"test":"tsc && npx jasmine --config=jasmine.json"},"devDependencies":{"@types/jasmine":"^3.6.7","jasmine":"^3.7.0","typescript":"^4.2.3"},"contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"gitHead":"19fd9225cadb6cfee105e40b2d88e3d78c3180fd","bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.0.6","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"shasum":"0b6c470780ad896c9981c15244f49f0536a19354","size":74378,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.0.6.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp_evaluator_1.0.6_1630018798792_0.1294003142189073"},"_hasShrinkwrap":false,"publish_time":1630018799003,"_cnpm_publish_time":1630018799003},"1.0.5":{"name":"csp_evaluator","version":"1.0.5","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"scripts":{"test":"tsc && npx jasmine --config=jasmine.json"},"devDependencies":{"@types/jasmine":"^3.6.7","jasmine":"^3.7.0","typescript":"^4.4.2"},"contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"gitHead":"70153457d3899b8f7ed8c68f213cba883f4abcec","bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.0.5","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"shasum":"07aaa8ea2e371792c3640841492632b4eda842f5","size":74722,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.0.5.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp_evaluator_1.0.5_1630012292736_0.4851816921314578"},"_hasShrinkwrap":false,"publish_time":1630012292886,"_cnpm_publish_time":1630012292886},"1.0.4":{"name":"csp_evaluator","version":"1.0.4","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"scripts":{"test":"tsc && npx jasmine --config=jasmine.json"},"devDependencies":{"@types/jasmine":"^3.6.7","jasmine":"^3.7.0","typescript":"^4.2.3"},"contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"gitHead":"a4bfc51b2290061596bcf7e47ed71d6d1f870824","bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.0.4","_nodeVersion":"12.21.0","_npmVersion":"7.5.2","dist":{"shasum":"152deb224683020d55a9dce853266ecab6c56129","size":75489,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.0.4.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp_evaluator_1.0.4_1628092993368_0.4295823327306221"},"_hasShrinkwrap":false,"publish_time":1628092993571,"_cnpm_publish_time":1628092993571},"1.0.3":{"name":"csp_evaluator","version":"1.0.3","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"scripts":{"test":"tsc && npx jasmine --config=jasmine.json"},"devDependencies":{"@types/jasmine":"^3.6.7","jasmine":"^3.7.0","typescript":"^4.2.3"},"contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"gitHead":"a4bfc51b2290061596bcf7e47ed71d6d1f870824","bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.0.3","_nodeVersion":"12.21.0","_npmVersion":"7.5.2","dist":{"shasum":"8a5538026a296c9304d42da2bcf8c9ffd3371ce3","size":55884,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.0.3.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp_evaluator_1.0.3_1628092660142_0.0029900400129379"},"_hasShrinkwrap":false,"publish_time":1628092660255,"_cnpm_publish_time":1628092660255},"1.0.2":{"name":"csp_evaluator","version":"1.0.2","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"scripts":{"test":"tsc && npx jasmine --config=jasmine.json"},"devDependencies":{"@types/jasmine":"^3.6.7","jasmine":"^3.7.0","typescript":"^4.2.3"},"contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.0.2","_nodeVersion":"12.21.0","_npmVersion":"7.6.3","dist":{"shasum":"8d7234e6736d18b1c2047a54e2f642895b56bff1","size":39556,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.0.2.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp_evaluator_1.0.2_1628066563878_0.4562878404972035"},"_hasShrinkwrap":false,"publish_time":1628066564018,"_cnpm_publish_time":1628066564018},"1.0.1":{"name":"csp_evaluator","version":"1.0.1","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.0.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"shasum":"cef3b755b26cfff25701a2fdaeab27ddceb31b7c","size":55378,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.0.1.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp_evaluator_1.0.1_1615229344851_0.5886690213133294"},"_hasShrinkwrap":false,"publish_time":1615229345026,"_cnpm_publish_time":1615229345026},"1.0.0":{"name":"csp_evaluator","version":"1.0.0","description":"Evaluate Content Security Policies for a wide range of bypasses and weaknesses","main":"dist/evaluator.js","keywords":["csp","content security policy","content-security-policy","csp-evaluator"],"homepage":"https://csp-evaluator.withgoogle.com/","author":{"name":"Lukas Weichselbaum","email":"lwe@google.com"},"license":"Apache-2.0","prepublish":"tsc","repository":{"type":"git","url":"git+https://github.com/google/csp-evaluator.git"},"contributors":[{"name":"lwe@google.com","url":"Lukas Weichselbaum"},{"name":"ddworken@google.com","url":"David Dworken"}],"bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"_id":"csp_evaluator@1.0.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"shasum":"103f006e0b44602b1b423eeb0eb12b5e41f6ce1b","size":55377,"noattachment":false,"key":"/csp_evaluator/-/csp_evaluator-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/csp_evaluator/download/csp_evaluator-1.0.0.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"maintainers":[{"name":"google-wombot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csp_evaluator_1.0.0_1615229161984_0.7597669538183534"},"_hasShrinkwrap":false,"publish_time":1615229162141,"_cnpm_publish_time":1615229162141}},"readme":"# CSP Evaluator Core Library\n\n## Introduction\n\n--------------------------------------------------------------------------------\n\nPlease note: this is not an official Google product.\n\nCSP Evaluator allows developers and security experts to check if a Content\nSecurity Policy ([CSP](https://csp.withgoogle.com/docs/index.html)) serves as a\nstrong mitigation against\n[cross-site scripting attacks](https://www.google.com/about/appsecurity/learning/xss/).\nIt assists with the process of reviewing CSP policies, and helps identify subtle\nCSP bypasses which undermine the value of a policy. CSP Evaluator checks are\nbased on a [large-scale study](https://research.google.com/pubs/pub45542.html)\nand are aimed to help developers to harden their CSP and improve the security of\ntheir applications. This tool is provided only for the convenience of developers\nand Google provides no guarantees or warranties for this tool.\n\nCSP Evaluator comes with a built-in list of common CSP allowlist bypasses which\nreduce the security of a policy. This list only contains popular bypasses and is\nby no means complete.\n\nThe CSP Evaluator library + frontend is deployed here:\nhttps://csp-evaluator.withgoogle.com/\n\n## Installing\n\nThis library is published to `https://www.npmjs.com/package/csp_evaluator`. You\ncan install it via:\n\n```bash\nnpm install csp_evaluator\n```\n\n## Building\n\nTo build, run:\n\n```bash\nnpm install && tsc --build\n```\n\n## Testing\n\nTo run unit tests, run:\n\n```bash\nnpm install && npm test\n```\n\n## Example Usage\n\n```javascript\nimport {CspEvaluator} from \"csp_evaluator/dist/evaluator.js\";\nimport {CspParser} from \"csp_evaluator/dist/parser.js\";\n\nconst parsed = new CspParser(\"script-src https://google.com\").csp;\nconsole.log(new CspEvaluator(parsed).evaluate());\n```\n","_attachments":{},"homepage":"https://csp-evaluator.withgoogle.com/","bugs":{"url":"https://github.com/google/csp-evaluator/issues"},"license":"Apache-2.0"}