Sleepy Puppy doesn&#x27;t really address the primary problem I&#x27;ve found when trying to automate the detection of non-reflected XSS issues: Mapping the input points and outputs outputs<p>The first thing you need to do when testing for XSS is you need to find where a user-supplied input is returned back out to a user. In reflected XSS, its the page you sent the request to. With &quot;Stored&quot; or &quot;Delayed&quot; XSS, it&#x27;s somewhere else in the app or even a different app entirely.<p>Building this mapping when input and output points are in different areas, and doing that automatically has 2 challenges:<p>- Clobbering your input<p>- Finding the output point.<p>Clobbering input is something automated tools are terrible at. Let&#x27;s say you are auditing a &quot;save my settings&quot; functionality in an e-com store, but the address values you save aren&#x27;t actually displayed until later in the checkout process (i.e. you are dealing with a stored XSS). Let&#x27;s say the vulnerable input is the state name (devs often forget to validate input when the input is a dropdown, because they forget people can make that input be anything they want).<p>You submit an attack string for the address, and valid input for state and zip. You don&#x27;t see it reflected. You then do valid input for address and zip, but state has an attack string. Nice, but that doesn&#x27;t appear until to later in the app. As an attacker, you don&#x27;t know this, so you see its not a reflected XSS, and you do a 3rd attempt and submit valid input for address and state, and attack the zip. You have now clobbered your attack string that you submitted against the State with a valid, normal input for the state. When you get deeper into the app and see the state returned in the checkout process, it wouldn&#x27;t be rendering your attack probe. That got clobbered by the valid input.<p>Unless you inject an attack token, and then sweep the entire site for that token, you won&#x27;t find most stored&#x2F;delayed XSS. Probe address field, crawl rest of site looking for your probe. Probe State field, crawl rest of site looking for your probe. This is super time consuming to do.<p>Automated tools suck at this. Humans are a better, because they understand context. I know that an address associated with an account is a likely stored XSS vector, and I have a gut feeling about where in the app the address will be rendered. Knowing context helps you also prune the number of inputs you should test for stored XSS. Unless I find an admin or analytics area in a site, I&#x27;m not going to bother doing this work to test if an HTTP header like User-Agent or Referer [sic] is a stored XSS vector as it is highly unlikely those inputs are reflected out somewhere else in the site.<p>If you have an output in another app its super hard. Sleepy Puppy tries to get around this by having the XSS payload &quot;phone home&quot; and pull an external JS file for a site they control to register where the output point is. While this is the best attempt I&#x27;ve seen, it has short comings. CSP defeats this. Also, it means the vulnerable input has to allow far more more characters to do the attack. spaces, quotes, parens etc cannot get filtered or encoded for the various Sleepy Puppy payloads to work.<p>This is a hard problem to solve. I&#x27;m glad NetFlix open sourced this.