Use this page to prepare external security reviews, customer questionnaires, and production readiness checks. It documents product controls and evidence locations only; internal security procedures are out of scope.
Compliance Boundary
Kommander.ai is an application layer that stores organization data, conversations, training files, connector configuration, billing references, and audit events. Third-party processors remain part of the customer review boundary.
| Area | System of record | Evidence source |
|---|---|---|
| Authentication | NextAuth session and OAuth providers | Auth configuration, provider settings, access logs. |
| Organization authorization | MongoDB organization and member records | RBAC matrix and organization member exports. |
| Billing | Stripe and local subscription snapshots | Stripe invoices, subscriptions, webhook logs, Kommander billing profile. |
| Widget identity | HMAC secret settings and signed requests | Identity-verification settings, HMAC test evidence, failed verification logs. |
| Customer data tools | Connector configuration and tool audit logs | Connector config, prompt-injection tests, tool_audit_logs. |
| Data residency | Deployment and vendor account configuration | Region settings for MongoDB, storage, Stripe, email, OpenAI, and logs. |
Audit Event Model
Tool audit logs record tool name, tool call ID, correlation ID, status, organization, conversation, connector, verified user identifier, duration, redacted arguments, redacted result, and error status when applicable. Sensitive fields such as credentials, tokens, email addresses, fiscal codes, phone numbers, tax IDs, and userHash are redacted before persistence.
Security Control Checklist
| Control | Implementation evidence | Review status |
|---|---|---|
| RBAC is documented and enforced | Role-Based Access Control and endpoint checks. | Confirm during endpoint review. |
| Platform admin and organization admin are separate | /api/admin/* requires platform admin session; organization roles do not grant platform access. | Confirm platform admin user list. |
| Billing changes are owner-gated | Subscription create/update routes require organization owner. | Confirm billing change logs and tests. |
| Payment credentials are not stored by Kommander | Stripe stores payment methods; Kommander stores customer and subscription references. | Confirm billing profile fields and Stripe customer ID handling. |
| Widget identity is server-signed | Widget Identity HMAC. | Confirm signing secret location and rotation evidence. |
| Prompt injection is expected and bounded | Prompt-Injection Defenses. | Run prompt-injection tests before production changes. |
| Customer data tools require verified identity | Tools are hidden unless identity verification provides userHash. | Confirm connector setup and widget identity test. |
| Tool calls are auditable | tool_audit_logs with redacted arguments/results and correlation IDs. | Sample success, failure, timeout, and ownership mismatch events. |
| Residency is deployment-specific | Data Residency & Retention. | Collect vendor region evidence for the deployment. |
| Known limitations are disclosed | Known Security Limitations. | Review before contractual sign-off. |
Evidence Pack
Prepare the following artifacts for a customer or internal reviewer:
- Current billing plan, Stripe subscription status, and latest invoice or hosted invoice link.
- Organization member export showing owners, admins, operators, and active members.
- RBAC endpoint matrix for the reviewed environment.
- Widget identity verification settings with secrets redacted.
- HMAC signature verification test result.
- Prompt-injection test run result for customer data connectors.
- Tool audit log sample with correlation IDs and sensitive-field redaction.
- Data residency checklist for all configured processors.
- Retention policy notes for conversations, files, billing records, and logs.
- Known limitations acknowledged by the deployment owner.
Audit Review Procedure
- Confirm the deployment boundary and processor list.
- Confirm each production organization has an owner and reviewed admin membership.
- Confirm subscription status, billing profile, and invoice access.
- Confirm widget identity is enabled before exposing customer data connectors.
- Confirm connector credentials are least-privilege and responses contain ownership markers.
- Run prompt-injection and HMAC tests for the release under review.
- Sample audit logs for normal tool calls, denied ownership checks, and failure states.
- Record open limitations and the sign-off owner.
Compliance Notes
Kommander documentation supports security review and audit preparation, but it is not a certification claim by itself. Customer-specific claims such as SOC 2 mapping, GDPR role allocation, data processing terms, retention exceptions, and regional residency commitments must be validated against the applicable contract, vendor configuration, and deployment environment.