uppukarthik-code/railway-ot-cybersecurity-platform — reverse-engineered prompt
Reverse engineered prompt
Build me a Python tool that lets a railway signalling or cybersecurity engineer describe a railway OT system in plain English, then turns it into a structured topology model, enriches it with security details, validates it, and exports useful diagrams and reports.
It should support railway signalling and Kavach style systems, including interlocking, field devices, telecom, radio, operations, engineering workstations, PKI, firewalls, SIEM, onboard ATP, and similar assets. The tool should check zoning, conduits, Purdue placement, trust boundaries, allowed communication flows, open transmission risks, safety related communication protections, and missing security controls using IEC 62443, EN 50126, EN 50129, EN 50159, Purdue Model, and Kavach design principles.
I want it to produce JSON topology output, validation and compliance reports, plus Graphviz, DrawIO, Purdue, zone, and conduit views. Keep the workflow simple from input text to generated architecture to validation results. Include example inputs and outputs so someone can run it quickly and understand what issues were found.
Want more depth? Deep Reverse