~/talk

Performing Dynamic Analysis of JS Apps

Talkat JSConf.Asia 2018 · 2018-01-25..01-27· [security, developer-experience]
slides:none on file

Covers using JavaScript meta-programming techniques—Proxies, overriding native DOM APIs and built-in functions, and IIFEs—to perform dynamic analysis of web apps and answer questions like whether ads use document.write or untrusted sources write to the DOM. Explains practical pitfalls encountered and demonstrates an open-source proxy module the speaker wrote to facilitate applying these dynamic-analysis techniques to real-world sites.

AI-written summary · about

  1. 0:00Introduction
  2. 0:46JavaScript Re-writing
  3. 2:03Static analysis advantages
  4. 3:03Dynamic analysis advantages
  5. 7:01DOM-Based XSS
  6. 8:24Taint Analysis
  7. 9:50Inserting your analysis statements
  8. 11:08Where to insert analysis statements?
  9. 11:34Comma Operator
  10. 12:58Immediately Invoked Function Expression (IFE)
  11. 14:03Storing analysis information
  12. 15:49Overloading operators in JavaScript?
  13. 16:32Key takeaways
  14. 16:57Function Reflection
  15. 18:09How to re-write
  16. 18:34The results
  17. 19:36Rewriting JS for performance
  18. 20:44Automatic transpilation by Dexecure
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.