2018-09-20 22:24:52 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "eval",
|
|
|
|
"expression": "\\beval\\(",
|
|
|
|
"reason": "Arbitrary code execution"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DOM-innerHTML",
|
|
|
|
"expression": "\\binnerHTML\\b",
|
|
|
|
"reason": "Potential XSS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DOM-outerHTML",
|
|
|
|
"expression": "\\bouterHTML\\b",
|
|
|
|
"reason": "Potential XSS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "DOM-document.write(",
|
|
|
|
"expression": "\\bdocument.write(ln)?\\(",
|
|
|
|
"reason": "Potential XSS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-$(",
|
|
|
|
"expression": "\\$\\(",
|
|
|
|
"reason": "Potential XSS",
|
|
|
|
"excludedModules": ["node_modules/prelude-ls"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-html(",
|
|
|
|
"expression": "\\bhtml\\(",
|
|
|
|
"reason": "Potential XSS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-append(",
|
|
|
|
"expression": "\\bappend\\(",
|
|
|
|
"reason": "Potential XSS",
|
|
|
|
"excludedModules": [
|
|
|
|
"components/bytebuffer",
|
|
|
|
"components/protobuf",
|
|
|
|
"node_modules/google-libphonenumber",
|
|
|
|
"node_modules/handlebars"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-appendTo(",
|
|
|
|
"expression": "\\bappendTo\\(",
|
|
|
|
"reason": "Potential XSS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-insertAfter(",
|
|
|
|
"expression": "\\binsertAfter\\(",
|
|
|
|
"reason": "Potential XSS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-insertBefore(",
|
|
|
|
"expression": "\\binsertBefore\\(",
|
|
|
|
"reason": "Potential XSS",
|
|
|
|
"excludedModules": ["node_modules/react-dom"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-prepend(",
|
|
|
|
"expression": "\\bprepend\\(",
|
|
|
|
"reason": "Potential XSS",
|
|
|
|
"excludedModules": ["components/bytebuffer", "node_modules/handlebars"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-prependTo(",
|
|
|
|
"expression": "\\bprependTo\\(",
|
|
|
|
"reason": "Potential XSS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-wrap(",
|
|
|
|
"expression": "\\bwrap\\(",
|
|
|
|
"reason": "Potential XSS",
|
|
|
|
"excludedModules": [
|
|
|
|
"components/bytebuffer",
|
|
|
|
"components/protobuf",
|
|
|
|
"node_modules/handlebars",
|
|
|
|
"node_modules/lodash"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-wrapInner(",
|
|
|
|
"expression": "\\bwrapInner\\(",
|
|
|
|
"reason": "Potential XSS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-wrapAll(",
|
|
|
|
"expression": "\\bwrapAll\\(",
|
|
|
|
"reason": "Potential XSS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-before(",
|
|
|
|
"expression": "\\bbefore\\(",
|
|
|
|
"reason": "Potential XSS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-after(",
|
|
|
|
"expression": "\\bafter\\(",
|
|
|
|
"reason": "Potential XSS"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-globalEval(",
|
|
|
|
"expression": "\\bglobalEval\\(",
|
|
|
|
"reason": "Arbitrary code execution"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-getScript(",
|
|
|
|
"expression": "\\bgetScript\\(",
|
|
|
|
"reason": "Arbitrary code execution"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "jQuery-load(",
|
|
|
|
"expression": "\\bload\\(",
|
|
|
|
"reason": "Arbitrary code execution"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "React-ref",
|
|
|
|
"expression": "\\bref(\\s)*=\\b",
|
|
|
|
"reason": "Potential XSS",
|
|
|
|
"excludedModules": [
|
|
|
|
"node_modules/react-dom",
|
|
|
|
"node_modules/tslint-microsoft-contrib",
|
2020-08-27 18:52:26 +00:00
|
|
|
"node_modules/react-error-overlay"
|
2018-09-20 22:24:52 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "React-createRef",
|
|
|
|
"expression": "\\bcreateRef\\(",
|
|
|
|
"reason": "Potential XSS",
|
|
|
|
"excludedModules": [
|
2019-01-14 21:49:58 +00:00
|
|
|
"node_modules/react/",
|
2018-09-20 22:24:52 +00:00
|
|
|
"node_modules/react-dom",
|
|
|
|
"node_modules/tslint-microsoft-contrib",
|
2020-08-27 18:52:26 +00:00
|
|
|
"node_modules/react-error-overlay"
|
2018-09-20 22:24:52 +00:00
|
|
|
]
|
|
|
|
},
|
2020-10-26 21:19:16 +00:00
|
|
|
{
|
|
|
|
"name": "React-useRef",
|
2021-07-30 20:30:59 +00:00
|
|
|
"expression": "\\buseRef(\\(|<)",
|
2020-10-26 21:19:16 +00:00
|
|
|
"reason": "Potential XSS",
|
|
|
|
"excludedModules": ["node_modules/react/", "node_modules/react-dom"]
|
|
|
|
},
|
2018-09-20 22:24:52 +00:00
|
|
|
{
|
|
|
|
"name": "React-findDOMNode",
|
|
|
|
"expression": "\\bfindDOMNode\\(",
|
|
|
|
"reason": "Potential XSS",
|
|
|
|
"excludedModules": [
|
|
|
|
"node_modules/react-dom",
|
|
|
|
"node_modules/tslint-microsoft-contrib",
|
2020-08-27 18:52:26 +00:00
|
|
|
"node_modules/react-error-overlay"
|
2018-09-20 22:24:52 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "React-dangerouslySetInnerHTML",
|
|
|
|
"expression": "\\bdangerouslySetInnerHTML\\b",
|
|
|
|
"reason": "Potential XSS",
|
|
|
|
"excludedModules": [
|
|
|
|
"node_modules/react-dom",
|
|
|
|
"node_modules/tslint-microsoft-contrib",
|
2020-08-27 18:52:26 +00:00
|
|
|
"node_modules/react-error-overlay"
|
2018-09-20 22:24:52 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "fbjs-createNodesFromMarkup",
|
|
|
|
"expression": "\\bcreateNodesFromMarkup\\b",
|
|
|
|
"reason": "Potential XSS, pipes input to innerHTML",
|
|
|
|
"excludedModules": ["node_modules/react-dom", "node_modules/fbjs"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "thenify-multiArgs",
|
|
|
|
"expression": "\\bmultiArgs\\b",
|
|
|
|
"reason": "Potential arbitrary code execution, piped to eval",
|
|
|
|
"excludedModules": ["node_modules/thenify"]
|
2019-03-22 19:24:07 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "bluebird-toFastProperties",
|
|
|
|
"expression": "\\btoFastProperties\\b",
|
|
|
|
"reason": "Whatever is provided is sent straight to eval()",
|
|
|
|
"excludedModules": []
|
2018-09-20 22:24:52 +00:00
|
|
|
}
|
|
|
|
]
|