Skip to content

Latest commit

 

History

History
51 lines (45 loc) · 2.1 KB

README.md

File metadata and controls

51 lines (45 loc) · 2.1 KB

CSP

The best way to learn CSP is to play with policy creation & see how policies affect resources on the page!

When you run locally you have the added benefit of CSP violation reporting being displayed in page.

# Run with docker ....
docker-compose up
open http://localhost:8100/

Play

  • elements What elements will load on the page?
  • allow What should we allow on the page?
  • proof How can we prove the CSP worked?
    • CSP Reports
    • document.querySelector('iframe').contentWindow.location.href

Todo

  • Setup app for "bad actor" exfil

Deploy

Links