Modular9 is an AI-native visual workflow builder by Single Source Studios (Pty) Ltd. Security is part of the architecture, not a bolt-on. This policy states honestly what is implemented today and what is still on the roadmap, so you can assess it against your own controls. We do not claim certifications we do not hold.
Please report suspected vulnerabilities privately, not in a public issue.
- Preferred: use GitHub's private vulnerability reporting on this repository (Security tab, "Report a vulnerability").
- Email: info@singlesource.co.za with "SECURITY" in the subject.
We aim to acknowledge within 48 hours. Please give us a reasonable opportunity to remediate before any public disclosure. We will keep you updated on progress and credit you if you wish.
- Credential encryption at rest. Stored third-party API keys are encrypted with AES-256-GCM, with a unique initialisation vector per record and an authentication tag. Plaintext keys are never written to the database and never returned to the browser; the interface masks keys to the last four characters.
- Bring Your Own Keys. You supply your own model-provider credentials. Modular9 does not pool or resell inference and does not hold your provider keys in plaintext.
- Authentication. Sign-in uses Auth.js (OAuth and email/password with bcrypt-hashed passwords and email verification on sign-up). Programmatic access uses API keys with 256 bits of entropy, stored only as SHA-256 hashes and compared in constant time.
- Tenant scoping. Every data query is scoped to the authenticated user, and destructive operations are double-checked against the owning user, so one account cannot reach another account's records by guessing an identifier. This scoping is covered by an automated test suite.
- Input validation. All API inputs are validated against strict schemas (type, length, format, enum). Plugins are loaded as inert text and never executed, with path-traversal protection.
- Transport and headers. HSTS (preloaded), X-Frame-Options DENY, X-Content-Type-Options nosniff, a Content-Security-Policy, and a referrer policy are applied. Inbound webhooks are verified with HMAC-SHA256 signatures using constant-time comparison, over a signed timestamp so a captured request cannot be replayed (see Deprecations below).
- Execution rate limiting. Every endpoint that can start a workflow run (manual, retry, chat, and webhook) enforces a per-user sliding-window limit, alongside the limits on knowledge-base ingestion.
- Self-host and data residency. Modular9 can run as a full Docker stack, including air-gapped, so all data and processing stay inside your own environment and jurisdiction. This is the recommended option for regulated or personal data.
We are explicit about gaps rather than papering over them.
- SOC 2 Type II: not certified; on the roadmap, no audit completed.
- Structured per-action audit logging: not yet implemented.
- Database-level Row-Level Security: access control is enforced in the application layer today, not by Postgres RLS.
- Role-based access control and team or organisation workspaces: not yet implemented; the model is currently single-user-per-account.
- Rate limiting on authentication endpoints: execution and knowledge-base endpoints are limited today; sign-in and sign-up are not.
Webhook senders must sign a timestamp, not just the request body.
Send both headers with every request:
x-modular9-timestamp: current Unix time in seconds.x-modular9-signature: HMAC-SHA256 of`${timestamp}.${body}`using your webhook secret, hex encoded.
Requests are rejected if the timestamp is more than 300 seconds from server time, which is what stops a captured request being replayed later.
Signatures computed over the body alone are the original scheme. They still verify until 2026-11-01T00:00:00Z, and every such request logs a deprecation warning naming the cutoff. From that instant they are rejected with HTTP 403, before the signature is even compared. A sender that genuinely cannot migrate in time can set ALLOW_LEGACY_WEBHOOK_SIGNATURES=true on the server as a temporary stopgap; it re-enables the old scheme along with its replay exposure, and is not a supported configuration.
In the managed cloud configuration, application data is stored with third-party infrastructure providers, some located outside South Africa. Model request and response payloads are not persisted; execution logs are stored. For data that must remain in a specific jurisdiction, use the self-host deployment.
Modular9 is actively developed on the main branch, which receives security fixes. Pin to a commit for reproducible deployments and update regularly.