Skip to content
RENZE
Menu

Security

Margin of safety, by design.

How the current release is built, including what it does not yet do. The full threat model is in docs/threat-model.md.

Identity and access

  • Password sign-in with scrypt hashing, server-side sessions in httpOnly SameSite cookies, 12-hour expiry.
  • Roles: owner, admin, reviewer, member, viewer. Permissions are checked in every route handler, not in the browser.
  • State-changing requests require a same-origin header and Origin check (CSRF defense).
  • Enterprise SSO (SAML/OIDC) is not in this release. It is on the roadmap as a deployment-specific integration.

Agent and tool safety

  • All tools are read-only by default. Writes apply only to a run copy held by RENZE; nothing is written back to your repository in this release.
  • Tests run through a fixed allowlist of commands with a scrubbed environment, timeout and output cap. There is no free-form shell.
  • In the Compose deployment the runner is a separate container with no network, a read-only root filesystem, dropped capabilities and no Docker socket.
  • Model-proposed paths are validated: no absolute paths, traversal, .git, .env, .ssh or node_modules.

Data handling

  • Uploads are text-only, size-limited, sanitized, screened for instruction-like content and scanned for secrets, which are redacted before storage.
  • Secrets are redacted from model output, test logs and audit details before they are stored or displayed.
  • Institutional memory is off by default, scoped to one tenant, and deletable. There is no cross-tenant learning and no central collection.
  • Credentials for model endpoints live in deployment environment variables, never in the database or repository.

Network

  • Strict Content-Security-Policy: scripts, styles, fonts and images from this origin only. No CDNs, analytics or telemetry.
  • Model endpoints come only from operator configuration. Tenants pick an endpoint key, never a URL.
  • Cloud metadata addresses are always refused; loopback and private ranges only when the operator allowlists the exact host.
  • Offline mode adds an in-process egress guard; the network itself (Compose internal network or firewall) is the primary control.

Abuse and cost controls

  • Database-backed rate limits on sign-in, chat, proposals, uploads, tests and the public demo.
  • Per-workspace monthly spend quota and per-call cost ceiling, enforced before a model is called.
  • Request size limits on every JSON endpoint.

Known residual risks

  • The hosted demo runs tests in a child process on the web host, not the isolated worker container. It only ever runs the bundled fixture.
  • Prompt-injection screening is pattern-based and will miss novel phrasing. It is a tripwire; the permission model is the control.
  • The Next.js build toolchain carries an upstream PostCSS advisory affecting build-time CSS processing of trusted source files; tracked in BUILD_REPORT.md.
  • No malware scanning of uploads yet (text-only uploads reduce, but do not remove, the need). A scanner hook is a listed next step.