Skip to content

Latest commit

 

History

History
 
 

malicious-worker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Sample malicious Cloudflare Worker

This sample Worker will:

  • Exfiltrate any Authorization and Cookie headers to a remote, attacker-controlled server
  • Inject a malicious JavaScript script in all HTML responses

Deploying

Using the Wrangler CLI:

wrangler publish worker.js