Last active
June 27, 2024 12:59
-
-
Save watson0x90/84d155bb8e883f0f7bb8f98d736a183d to your computer and use it in GitHub Desktop.
Page source includes reference to polyfill[.]io
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
metadata: | |
language: v1-beta | |
name: "Page source includes reference to polyfill[.]io" | |
description: "Locate polyfill[.]io issues." | |
author: "@watson0x90" | |
tags: "cdn", "javascript", "polyfill", "exposure" | |
given response then | |
if {latest.response} matches "(https?:\/\/)?([a-z0-9-]+\.)*polyfill\.io(\/.*)?" then | |
report issue: | |
severity: high | |
confidence: tentative | |
detail: "Locate polyfill[.]io in page source." | |
remediation: "Update polyfill version to Cloudflare version: For minified: https://cdnjs.cloudflare.com/ajax/libs/polyfill/3.52.1/polyfill.min.js For unminified: https://cdnjs.cloudflare.com/ajax/libs/polyfill/3.52.1/polyfill.js" | |
end if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment