Untrusted Types for DevTools

Abusing Trusted Types to discover XSS sinks.

Untrusted Types for DevTools: Discover XSS Sinks

'Untrusted Types for DevTools' is a Chrome extension designed to uncover potential DOM XSS vulnerabilities. By abusing Trusted Types, this extension identifies sinks, or code patterns, that could potentially execute dangerous JavaScript code if provided with malevolent inputs. The extension adds a dedicated panel to DevTools giving users the ability to view and filter sink logs, customize settings, and even highlight keywords passed in a sink. Furthermore, it aids in the exploration of stack traces of specific logs, helping developers ensure safer, more secure applications.
Install from Chrome Web Store

Extension stats

Users: 1,000+
Rating: 5.00
(3)
Version: 1.1.1 (Last updated: 2021-10-12)
Creation date: 2021-01-22
Risk impact: High risk impact
Risk likelihood:
Manifest version: 2
Permissions:
  • storage
  • webRequest
  • webRequestBlocking
  • http://*/*
  • https://*/*
Size: 40.10K

Other platforms

Not available on Android
Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.

Extension summary

Discover and test inputs passed into sinks that could lead to DOM XSS vulnerabilities.

A sink is a code pattern that could run arbitrary JavaScript code if the input is malicious, for example: innerHTML, eval, document.write.

This extension adds a panel to DevTools where you can see/filter the sink logs and customize settings.

Keywords (by default: "d0mxss") that are found to be passed in a sink will be highlighted in the extension and in console.

You can then find the stack trace of a specific log:

  1. Click to copy the ID,
  2. Open Console>Filter and paste the ID,
  3. Now you can inspect the stack trace. Click on the function name to open it in the Sources tab.

User reviews

fantastic tool! helps me display the xss dom sink in devtools console! Thanks
by Rizan Fauzi, 2021-08-31
View all user reviews

Extension safety

Risk impact

Untrusted Types for DevTools requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.

Risk likelihood

Untrusted Types for DevTools has earned a good reputation and can be trusted.

Upgrade to see risk analysis details

Similar extensions

Here are some Chrome extensions that are similar to Untrusted Types for DevTools: