RAD50/web-port-CVE-scan ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Python tool that takes a website hostname or IP, checks which ports are open, looks for known vulnerabilities on those open ports, and then pulls related CVE details from the NVD API.

I want it to feel easy to run from the command line, where I can enter a target when prompted and get clear results back, including the IP address, open ports, vulnerability findings, and any matching CVE IDs with short descriptions. Please make it work with nmap for the port and vuln checks, and handle the normal setup stuff cleanly so it’s straightforward to use. If you need to look up current docs online for nmap or the NVD API, go ahead.

Keep it simple and readable, and make sure it only scans targets I have permission to test.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab