Merge pull request #10128 from kazet/polyfill-io

polyfill.io detection
patch-4
pussycat0x 2024-06-27 21:20:25 +05:30 committed by GitHub
commit 388ec66056
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
id: polyfill-backdoor
info:
name: Polyfill.io - Detection
author: kazet
severity: low
description: |
The polyfill.io CDN was suspected to serve malware.
reference:
- https://sansec.io/research/polyfill-supply-chain-attack
- https://web.archive.org/web/20240229113710/https://github.com/polyfillpolyfill/polyfill-service/issues/2834
- https://blog.cloudflare.com/polyfill-io-now-available-on-cdnjs-reduce-your-supply-chain-risk
metadata:
verified: true
max-request: 1
shodan-query: html:"polyfill.io"
tags: cdn,polyfill-io,backdoor,malware
http:
- method: GET
path:
- "{{BaseURL}}"
redirects: true
max-redirects: 1
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "<script[^>]* src=['\"]https?://([a-zA-Z0-9-]*.)?polyfill.io[/'\"]"