rizkidsaputra/detecode ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple command line security scanner for PHP and JavaScript projects.

I want it to scan either one file or a whole folder, then report likely web vulnerabilities like SQL injection, XSS, command injection, path traversal, file inclusion, unsafe uploads, insecure deserialization, SSRF, and open redirect. For each issue, show the file name, line number, a short code snippet, the type of issue, a severity score, and how confident the scanner is.

It should work offline by default, use local pattern checks and lightweight taint analysis, and optionally support an AI model for smarter detection if I point it at a local model folder. Give me clean output in table, text, and JSON formats, plus useful filters for severity and excluded paths.

Also include a small set of sample vulnerable files and tests so I can run a quick demo right away. If you need to check current docs for any scanner integration details, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab