Skip to content

A Burp Suite extension for identifying missing Subresource Integrity attributes.

License

Notifications You must be signed in to change notification settings

PortSwigger/sri-check

 
 

Repository files navigation

SRI Check

A Burp Suite extension for identifying missing Subresource Integrity attributes.

  • Passive scanner checks create informational issues in Burp Suite
  • Only flags resources from 3rd party domains that do not include the integrity attribute.
  • Written in Python
  • Requires Jython 2.7+
  • Pull requests welcome!

Todo

  • Add support for relative paths
  • Improve regex, especially accounting for the case of script and link tags and spaces in tags
  • Check MIME type of pages to prevent running against images, CSS, etc.
  • Fix possible concurrency issues
  • Account for possible false positives on tags

Screenshots

Example Issue

About

A Burp Suite extension for identifying missing Subresource Integrity attributes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 76.1%
  • HTML 23.9%