Перейти к содержимому

Architecture ​

MVP architecture

RayScan receives files from an authorised website and stores the original snapshot in a private quarantine area. A Worker validates and unpacks the archive, then runs the scanner in an isolated Docker container. The agent reads the report through MCP and works only on a temporary copy. The result is a report, a diff and a path to restore the copy without changing the live website.

End-to-end flow ​

text
Customer → website → FTP / SFTP / FTPS connection
                         ↓
             files and manifest
                         ↓
             quarantine snapshot in S3
                         ↓
             archive check → safe extraction
                         ↓
             isolated scanner container
                         ↓
             reports in S3 + findings in PostgreSQL
                         ↓
             agent ↔ MCP ↔ working copy
                         ↓
             plan → copy change → repeat scan
                         ↓
             report + diff + restore option

Versions ​

Data model ​

The core entities are user, team, team_member, team_api_key, project, connection, snapshot, scan, finding and remediation.

Detailed stages ​

  1. Website connection
  2. File collection and manifest
  3. Snapshot and quarantine
  4. Archive validation
  5. Scanning job
  6. Reports and findings
  7. Agent, MCP and working copy
  8. Plan, change and re-scan
  9. Report, diff and restore

These pages describe the target design. The current repository only covers part of the read-only diagnostic path.

RayScan · Документация проекта · Прототип → MVP