Code Security

Rorix Code Security runs the static scan stage of DeepSec. It checks supported source and configuration files against maintained security patterns and displays potential issues for human review.

Privacy and execution

For static scans, Rorix checks out the exact GitHub commit using the connected GitHub App and scans selected source files on Rorix infrastructure. Static scans use no model provider or AI budget. The scan does not build the repository, install its dependencies, execute project scripts, or load customer-provided DeepSec configuration.

Enable and run

Code Security is included with active Pro, Business, and Enterprise plans. The workspace owner can open Code Security in the dashboard, review the source-processing disclosure, and activate it for the workspace. Connect the Rorix GitHub App, open a project's Settings, enable Code Security, and select Run full baseline. Automatic same-repository PR scans are a separate setting. Fork PRs are skipped. PR scans cover at most 50 eligible changed files.

The current rules flag risky SQL/process execution, dynamic HTML, request-derived outbound URLs, unsafe messaging, credential-like constants, weak cryptography, permissive CORS, unsafe .NET patterns, and selected container/workflow/infrastructure risks. Ordinary endpoint registrations and other code-discovery markers are excluded from the issue list.

Coverage includes nonempty eligible JavaScript/TypeScript (including JSX, TSX, MJS and CJS), Python, Go, .NET, SQL, shell, HTML, Docker, Terraform, and source configuration files. GitHub and Runnable workflow paths are included. Tests, fixtures, other hidden paths, lockfiles, generated/dependency/build output, binary assets, and symlinks are excluded. A complete scan means these eligible files were scanned; it is not a complete security audit.

Optional AI review

Optional AI review is available with an active Pro, Business, or Enterprise plan. In Code Security → Setup, the workspace owner reviews and accepts the source-processing terms, allowed providers, and per-review and monthly budgets. A user with permission to manage project settings can then select AI review in the project's Code Security settings. An additional model appears in the project model picker after the workspace owner approves it.

AI review sends selected source from eligible same-repository pull requests through Vercel AI Gateway to an approved provider. Manual baselines use static scans. If a PR run falls back to a static scan, its details show the reason. The owner can revoke consent in Workspace AI settings. Revocation cancels pending AI work and prevents publication of new AI findings. A request already sent to a provider cannot be recalled.

Results and review

Each potential issue contains the rule, file, line, review guidance, and unvalidated confidence. Review the code and input flow before deciding whether a match is a real issue. Rorix tracks new, recurring, regressed, and resolved observations across runs. Only completed full baselines can resolve issues that disappear.

Runs can be cancelled. Incomplete or truncated runs remain partial. Download normalized JSON or SARIF from the project run list or run detail. Raw DeepSec state and source snippets are not exposed by these downloads.

PR checks

The advisory GitHub check is successful only when coverage completes with no potential issues. Issues, partial coverage, and execution failures are neutral and never block merging. Up to 50 review annotations can be attached.

Retention and access

Organization permissions control settings, runs, and issue triage. Artifacts are encrypted with project-scoped keys and retained for 30 days for baselines and 7 days for PR scans. Project deletion removes the artifact prefix before deleting metadata. Settings, runs, triage, and cleanup actions are audited.

Scan results include eligible and excluded repository-file totals, with reasons. Older rorix-dotnet-scan-v1 runs remain explicitly labeled .NET-only; new rorix-source-scan-v2 runs use the broader shared baseline/PR scope.