How malikdanish71/secure-scan-ai works
SecureScan-AI accepts source code or uploaded files, scans them for vulnerabilities, returns a severity-ranked report, and records detected issues for later history queries. The README describes multi-language, rule-based and machine-learning detection. The scanner and database implementation modules referenced by main.py are absent from the supplied tree, so their internals and paths are not shown; their documented/runtime roles are represented at the boundary.
Main entry points: script.js Browser interface · main.py FastAPI endpoints · scan_history.db Scan history store
Components 7
Web interface
- Browser interface
script.js
Scan service
- FastAPI endpoints
main.py - AI and rule scanner
- Scan report
main.py - History API
main.py
Scan history
- Scan history store
scan_history.db
Other components
- Developer
Connections 12
- Developer → Browser interface: submits code
- Browser interface → FastAPI endpoints: posts code
- Browser interface → FastAPI endpoints: uploads file
- FastAPI endpoints → AI and rule scanner: scans source
- AI and rule scanner → FastAPI endpoints: returns findings
- FastAPI endpoints → Scan report: builds report
- Scan report → Browser interface: returns results
- FastAPI endpoints → Scan history store: writes findings
- Developer → Browser interface: requests history
- Browser interface → History API: gets history
- History API → Scan history store: reads records
- History API → Browser interface: returns history