The location property is empty for the fetch.text(), fetch.json(), and WebSocket.MessageEvent.data taint operations.
Expected
{
"operation": "fetch.text()",
"builtin": true,
"source": true,
"location": {
"filename": "https://example.org/script.js",
"function": "f",
"line": 1,
"pos": 15,
"scriptline": 1,
"scripthash": "35a4393d72afbf6d792d3b0e46f465b6"
},
"arguments": []
}
Actual
{
"operation": "fetch.text()",
"builtin": true,
"source": true,
"location": {
"filename": "",
"function": "",
"line": 0,
"pos": 0,
"scriptline": 0,
"scripthash": "00000000000000000000000000000000"
},
"arguments": []
}
Likely related, in some instances of XMLHttpRequest.response taint operations, the location property is empty and the builtin property is false (it should be true).
Example
{
"operation": "XMLHttpRequest.response",
"builtin": false,
"source": true,
"location": {
"filename": "",
"function": "",
"line": 0,
"pos": 0,
"scriptline": 0,
"scripthash": "00000000000000000000000000000000"
},
"arguments": []
}
The
locationproperty is empty for the fetch.text(), fetch.json(), and WebSocket.MessageEvent.data taint operations.Expected
Actual
Likely related, in some instances of XMLHttpRequest.response taint operations, the
locationproperty is empty and thebuiltinproperty isfalse(it should betrue).Example