imbas007/CVE-2026-60004-POC ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Python proof of concept for this Gitea issue, with a simple command line interface that can target a Gitea server, create or use an existing account and repo, and trigger the vulnerable diffpatch flow. I want it to support a quick check mode, a full automatic mode, and a manual mode for when I already have a user and repo.

Make it able to send the needed requests in sequence, handle the repeated patch behavior, and then fetch the proof of execution from the repo afterward. Keep it self contained, using only the Python standard library if possible. Also include a separate nuclei template for detection, and make the script print clear status messages so I can see what step it is on.

If you need to, look up the current Gitea API details online so the request flow matches real behavior.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab