generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 16
Observing Taint Flows
Lukas Hock edited this page Nov 15, 2022
·
1 revision
Whenever a taint flow appears, Foxhound will (1) log a warning message to the console and (2) emit an event containing more detailed information about the taint flow.
The emitted event uses the name __taintreport
.
Add an event listener to collect taint flows and/or get more detailed information about taint flows.
Example usage:
window.addEventListener("__taintreport", (report) => {
console.log(report.detail);
console.log(report.detail.str.taint);
});