demo for listening to Jupyter notebook sockets


Thomas Mendoza gave a nice webinar about Jupyter security at LLNL for Trusted CI a month or so ago. In it, he does a simple demo of using a script to listen in on his own notebook server traffic.

I’d like to use this as a hands-on example for a training session, but I can’t find the script (it may be one he crafted). Has anyone seen this or something similar around? I just need a script and a CLI command example and it would be ideal.