Solution Architecture
Local developer tooling connects over HTTPS/REST to an API and analysis services inside the customer perimeter. Findings and reviewed fixes return to the IDE, CI/CD, web console, or configured export path.
End-to-End Data Flow
Optional model, inside your environment
The model is optional. When enabled, a security-tuned open-weights model is served by vLLM on your own GPU inside the customer environment. No code, prompt, or finding is sent to a third-party model provider. In Air-Gapped On-Prem deployments there is no outbound connection at all.
Component Breakdown
IDE: The supported VS Code extension displays findings, explanations, and suggested fixes.
Local extension and LSP: The LSP client and server both run on the workstation; only HTTPS/REST requests cross the perimeter boundary.
Web console, API, and backend: Orchestrate scans, policy, CI quality gates, and export paths.
PostgreSQL: Stores findings, policies, and settings.
Ready-made GitHub Actions and GitLab CI templates, the safecode-ci CLI, Jira, DefectDojo, Slack, webhooks, and SARIF export to SIEM or ASPM systems.
Repository scans: When configured, the backend clones the requested revision into an isolated scan workspace, runs the selected analysis, and deletes the working copy after the scan. Retention occurs only when the customer enables and defines a retention policy.
Deployment Options
Managed Pilot
MOAI-operated evaluation environment, available only for the guided pilot.
Single-Tenant Cloud
Dedicated production VPC. Planned availability: H1 2027.
Air-Gapped On-Prem
Available now inside customer infrastructure, with no external telemetry or model API.
