{"_id":"eslint-plugin-no-wildcard-postmessage","_rev":"7-b195e5d1f219a942132c7e8a89485fa6","name":"eslint-plugin-no-wildcard-postmessage","description":"custom ESLint rule to disallows calling postMessage to wildcard targets","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.1":{"name":"eslint-plugin-no-wildcard-postmessage","description":"custom ESLint rule to disallows calling postMessage to wildcard targets","version":"0.1.1","author":{"name":"Frederik Braun"},"bugs":{"url":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/issues"},"devDependencies":{"mocha":"^2.2.4"},"dependencies":{"eslint":"^1.4.1"},"homepage":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/","keywords":["eslint","eslint-plugin","eslintplugin","lint","security"],"license":"MPL-2.0","main":"index.js","repository":{"type":"git","url":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/issues"},"scripts":{"test":"mocha tests/rules/","lint":"eslint index.js lib/**/*.js tests/**/*.js"},"gitHead":"f440b298b65e7fd86d061043780077f8e0a06ac5","_id":"eslint-plugin-no-wildcard-postmessage@0.1.1","_shasum":"38058f051aef9ed183eaad813e50eae3b5d70b7f","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.10.25","_npmUser":{"name":"mozfreddyb","email":"fbraun+npm@mozilla.com"},"maintainers":[{"name":"mozfreddyb","email":"fbraun+npm@mozilla.com"}],"dist":{"shasum":"38058f051aef9ed183eaad813e50eae3b5d70b7f","tarball":"https://registry.npmjs.org/eslint-plugin-no-wildcard-postmessage/-/eslint-plugin-no-wildcard-postmessage-0.1.1.tgz","integrity":"sha512-eZgYM22yvOtP30UW/N46EAyGESHbEbWuSWSYEpX9xifh1Ligp1IaGLmYGtEd0QzmbF4suzHB+LMGgE3jafeAvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmlgK4HmzoVyqLS4BJ04ZdjEsJSyrQ3PZAJqg6yrcO4wIgIGOd1iHICKDFtuzlrAp4W2QULmyCnP29G2aoexz123I="}]},"directories":{}},"0.1.2":{"name":"eslint-plugin-no-wildcard-postmessage","description":"custom ESLint rule to disallows calling postMessage to wildcard targets","version":"0.1.2","author":{"name":"Frederik Braun"},"bugs":{"url":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/issues"},"devDependencies":{"mocha":"^2.2.4"},"dependencies":{"eslint":"^1.4.1"},"homepage":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/","keywords":["eslint","eslint-plugin","eslintplugin","lint","security"],"license":"MPL-2.0","main":"index.js","repository":{"type":"git","url":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/issues"},"scripts":{"test":"mocha tests/rules/","lint":"eslint index.js lib/**/*.js tests/**/*.js"},"gitHead":"e61473d08d7410313094eb98381d3738874f160f","_id":"eslint-plugin-no-wildcard-postmessage@0.1.2","_shasum":"b40888997add6c4590b801cd2018a6c9ada68987","_from":".","_npmVersion":"2.11.2","_nodeVersion":"4.2.2","_npmUser":{"name":"mozfreddyb","email":"fbraun+npm@mozilla.com"},"maintainers":[{"name":"mozfreddyb","email":"fbraun+npm@mozilla.com"}],"dist":{"shasum":"b40888997add6c4590b801cd2018a6c9ada68987","tarball":"https://registry.npmjs.org/eslint-plugin-no-wildcard-postmessage/-/eslint-plugin-no-wildcard-postmessage-0.1.2.tgz","integrity":"sha512-VFQKM3JhDcoaBsc5lECMIWp4i1KKBgqNLcaAEUXDYT+RkkHGXnIcPDGEvniWo5/pTCqqpd3QqXhc3+XoLyYlrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHD/B+iAFBwzkMIRK1ZGIoEUA4yn8aSsWUpY9cGtb63QIhAKJ+ivLFt+jU2QbW3iemJ13kK8cb+8aIrqiS15AS59WO"}]},"directories":{}},"0.1.3":{"name":"eslint-plugin-no-wildcard-postmessage","description":"custom ESLint rule to disallows calling postMessage to wildcard targets","version":"0.1.3","author":{"name":"Frederik Braun"},"bugs":{"url":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/issues"},"devDependencies":{"mocha":"^2.2.4"},"dependencies":{"eslint":"^1.4.1"},"homepage":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/","keywords":["eslint","eslint-plugin","eslintplugin","lint","security"],"license":"MPL-2.0","main":"index.js","repository":{"type":"git","url":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/issues"},"scripts":{"test":"mocha tests/rules/","lint":"eslint index.js lib/**/*.js tests/**/*.js"},"gitHead":"f08658c5611b27d298504a3f52bc03bee17723f5","_id":"eslint-plugin-no-wildcard-postmessage@0.1.3","_shasum":"4103a1ab3cb8023f381d2c764bedd0b238121339","_from":".","_npmVersion":"2.11.2","_nodeVersion":"4.2.2","_npmUser":{"name":"mozfreddyb","email":"fbraun+npm@mozilla.com"},"maintainers":[{"name":"mozfreddyb","email":"fbraun+npm@mozilla.com"}],"dist":{"shasum":"4103a1ab3cb8023f381d2c764bedd0b238121339","tarball":"https://registry.npmjs.org/eslint-plugin-no-wildcard-postmessage/-/eslint-plugin-no-wildcard-postmessage-0.1.3.tgz","integrity":"sha512-esw2t5cwSmXPjqhrdNgBR7vuZ8hJ8D9E+0XNc6McYDYiL6c0IbKBXbL2DWufZtHJvsl/7GRLzNuSDVgOoxQKYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFkEe/cmyClFO0rJR7iaIntvv7bGHscH5qsZTQPT9aH9AiAcTWNtrFtKCt4nMRQtO7UOinmbUQ1VzttQDRTJ8cXvnw=="}]},"directories":{}},"0.2.0":{"name":"eslint-plugin-no-wildcard-postmessage","description":"custom ESLint rule to disallows calling postMessage to wildcard targets","version":"0.2.0","author":{"name":"eslint-plugin-no-wildcard-postmessage contributors"},"bugs":{"url":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/issues"},"devDependencies":{"eslint":"^6.8.0","eslint-plugin-node":"^11.1.0","mocha":"^3.2.0"},"dependencies":{},"homepage":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/","keywords":["eslint","eslint-plugin","eslintplugin","lint","security"],"license":"MPL-2.0","main":"index.js","repository":{"type":"git","url":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/issues"},"scripts":{"test":"mocha tests/rules/","lint":"eslint index.js lib/**/*.js tests/**/*.js"},"engines":{"node":">= 10"},"gitHead":"1d90639c762da2375810d4dd6d3527d9d33be7ac","_id":"eslint-plugin-no-wildcard-postmessage@0.2.0","_npmVersion":"5.8.0","_nodeVersion":"10.15.2","_npmUser":{"name":"mozfreddyb","email":"fbraun+npm@mozilla.com"},"dist":{"integrity":"sha512-PVPih3PJOZIvXyLD39YqybLJO1CdIkLN95MrQMe5qExEswJQALcVDiJktxsYpUStsfHLdWRG2QiHpT5i17kqxw==","shasum":"28e801e79f5f69b492c3766359ed4bbba7da9823","tarball":"https://registry.npmjs.org/eslint-plugin-no-wildcard-postmessage/-/eslint-plugin-no-wildcard-postmessage-0.2.0.tgz","fileCount":10,"unpackedSize":23333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJep9jACRA9TVsSAnZWagAAiUoQAJ3gpuDlI4jh1JeDb+jK\n3O8yFpt5OKaVMih4oyvNK/ibHHxyPQQ0Wk9z70Lw/m1ZM9co5pQ9Op/YeYJG\nP4kiaOHpkosrdavDxfw56DomKnFznogh5wstA7OFk+zMMe88x2OtU8M2AqEU\n7uXeyTU9gjD33E7TVH65V+l0urqxt3t8EEp7lMtgVKLdZALk6DF1YZKlMDTy\n3mRgTahPzLj0sOrwix3Bihtpz48QxBOjI+5sgkPkDcwZOH5rKto3BwNCo+uR\nBOUKHO6GUnLuVjIW7eKgbcRPDK+veNcnBlMBWoSYJo5kXohfXoObnysNTqdF\nGKc7gY+1XYQTWZPb9YiXo3hN25exc61UYlFO8CLpywMJpR67XWoOgHEguS37\n1bUEvpKO2NBPtmTJ+EnD4lGxpqRIriugSE3WhdJsSPOiOPGUqTh1qvD3yOYS\nMCUkXE42JVH2js38ByqgYlZFyxuStBte3EbXegBhrJy1HHRhWE8h7rncjeJw\n+7ls43BuJOl9YOTZHBE7L/8S7otx0e5qWqvgjAhSJ7leJUuzZWQYV5DQS/2s\nhGUPoQ6RL4Vp/8F8kow3IiUmjdP4RyIL+x8Uu1FKZ+/onCm6DeblMGKFwlgR\n3jbP5qKq2PrhKxNb8pYn6Q/v0GO2qIYwS07s3E23xyNnJXpHpsPYx7+L0fyr\ntLYO\r\n=+/am\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrBwSFP/Armik8LJlg7lZuhWAWn23dopLQiKWjemH/2gIhAL0ZpXQyLPcRmGZnRPWmWYXEe8wEtTaVdE1rjyNNxJXT"}]},"maintainers":[{"name":"mozfreddyb","email":"fbraun+npm@mozilla.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-no-wildcard-postmessage_0.2.0_1588058304184_0.8480382403528366"},"_hasShrinkwrap":false}},"readme":"[![Build Status](https://travis-ci.org/mozfreddyb/eslint-plugin-no-wildcard-postmessage.svg?branch=master)](https://travis-ci.org/mozfreddyb/eslint-plugin-no-wildcard-postmessage)\n\n# Disallow wildcard targets for postMessage (no-wildcard-postmessage)\n\nThis function disallows unsafe coding practices that may result into security vulnerabilities.\nWe will postMessage calls that contain a target origin of `\"*\"`.\n\n## Rule Details\n\nDisallowed:\n\n```js\nframe.postMessage(obj, \"*\");\n\n```\n\nA few examples of allowed practices:\n\n\n```js\nframe.postMessage(obj, \"http://domain.tld\");\n// in a worker:\npostMessage(obj);\n```\n\n\nThis rule is being used within Mozilla to maintain and improve the security of the Firefox OS front-end codebase *Gaia*. Further documentation, which includes references to the escaping functions can be found on [MDN](https://developer.mozilla.org/en-US/Firefox_OS/Security/Security_Automation).\n","maintainers":[{"name":"mozfreddyb","email":"fbraun+npm@mozilla.com"}],"time":{"modified":"2022-06-17T20:37:45.306Z","created":"2015-10-27T13:27:46.319Z","0.1.1":"2015-10-27T13:27:46.319Z","0.1.2":"2015-11-23T15:18:49.732Z","0.1.3":"2015-11-26T14:11:38.732Z","0.2.0":"2020-04-28T07:18:24.403Z"},"homepage":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/","keywords":["eslint","eslint-plugin","eslintplugin","lint","security"],"repository":{"type":"git","url":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/issues"},"author":{"name":"eslint-plugin-no-wildcard-postmessage contributors"},"bugs":{"url":"https://github.com/mozfreddyb/eslint-plugin-no-wildcard-postmessage/issues"},"license":"MPL-2.0","readmeFilename":"README.md"}