This page documents customer-facing security operations for Kommander.ai deployments. It intentionally avoids internal playbooks, private escalation paths, infrastructure details, and unpatched vulnerability details.
Threat Model Summary
Kommander.ai protects organization data, conversations, training files, billing references, widget identity, customer data connectors, connector credentials, and audit events. The main trust boundaries are:
| Boundary | What is trusted | What is untrusted |
|---|---|---|
| Authenticated product session | Server-validated session and organization membership. | Browser-controlled request bodies, route parameters, and client state. |
| Public widget session | Valid HMAC-signed identity when identity verification is enabled. | Visitor text, unsigned identity claims, local storage, and embed-page scripts outside Kommander.ai. |
| AI tool execution | Server-offered tool list, server-injected verified identity, and server-side connector policy. | Model-generated tool arguments, retrieved content, connector descriptions, and connector responses. |
| Integrations | Stored connector configuration and least-privilege credentials. | Third-party API availability, upstream authorization mistakes, and customer-controlled OpenAPI metadata. |
| Billing and processors | Stripe, email, model provider, database, storage, and logging configuration for the deployment. | Data retention, region, and access policies controlled by those processors outside Kommander.ai code. |
The security model assumes prompt injection, malformed API requests, identity spoofing attempts, connector metadata abuse, SSRF attempts, cross-organization access attempts, and third-party service failures will occur. Product controls must fail closed for authorization and fail with non-leaking error messages for security-sensitive checks.
Production Best Practices
- Require signed widget identity before enabling customer-specific answers or customer data tools.
- Keep connector credentials least-privilege, scoped to the smallest feasible API surface, and rotated when ownership or integration scope changes.
- Return stable ownership markers from customer data APIs, such as
userHash, user ID, account ID, or tenant ID. - Keep organization owners and admins current; remove dormant members during access reviews.
- Review the RBAC matrix before adding or changing protected routes.
- Run prompt-injection and security tests before releasing connector, tool execution, identity verification, SSRF, or streaming-response changes.
- Sample tool audit logs after production releases for success, denial, timeout, ownership mismatch, and redaction behavior.
- Confirm processor regions, retention expectations, and vendor contracts before making residency or compliance commitments.
- Keep user-facing security errors generic and route detailed evidence to audit logs with sensitive fields redacted.
Incident Response
Use this public procedure for suspected account compromise, cross-user data exposure, connector misuse, prompt-injection bypass, credential exposure, webhook verification bypass, or unauthorized admin access.
| Phase | Actions |
|---|---|
| Identify | Capture the affected URL, API route, widget flow, connector, organization, timestamps, request IDs, conversation IDs, tool call IDs, and reporter contact. |
| Contain | Disable the affected connector, assistant capability, webhook, admin access, HMAC secret, OAuth client, or route exposure when needed to stop additional impact. |
| Preserve | Keep relevant audit logs, access logs, webhook payload references, billing events, connector configuration snapshots, and reproduction details with secrets redacted. |
| Assess | Determine affected organizations, users, data types, processors, time window, and whether exposure is confirmed or only plausible. |
| Remediate | Patch code or configuration, rotate affected secrets, tighten permissions, update connector scopes, add regression tests, and verify the fix in a controlled environment. |
| Communicate | Notify affected deployment owners when customer data exposure is confirmed or cannot be ruled out. Coordinate external vulnerability reporters through Reporting a Vulnerability. |
| Review | Record root cause, customer-visible impact, follow-up owners, new tests, documentation changes, and any remaining limitations. |
Do not include raw secrets, connector credentials, payment data, or unrelated customer data in incident notes. Use the smallest evidence set needed to reproduce and assess the issue.
Security Update Process
Kommander.ai security documentation and controls should be reviewed as part of normal release work and after security-relevant events.
| Trigger | Required update |
|---|---|
| Connector, OpenAPI conversion, tool execution, ownership filtering, SSRF, widget identity, streaming, RBAC, billing authorization, or admin-route change | Run relevant security tests, review docs impact, and update the affected security page if behavior changes. |
| New prompt-injection bypass attempt or customer-data tool incident | Add a regression scenario to the security corpus and update Prompt-Injection Defenses if the threat model or best practice changes. |
| New limitation, workaround, or accepted risk | Add it to Known Security Limitations before production rollout or customer sign-off. |
| New processor, region, retention behavior, or compliance claim | Update Data Residency & Retention and Compliance & Audit. |
| Vulnerability report or customer security questionnaire finding | Update the relevant docs page after remediation or after confirming the limitation is intentionally disclosed. |
At minimum, review the security documentation before major releases and whenever a release changes authentication, authorization, customer data access, connector behavior, billing authorization, audit logging, or third-party processor handling.
Release Checklist
- Security tests were run for the changed surface, or the reason they were not applicable is documented in the PR.
- New or changed limitations are listed in the known limitations page.
- Incident-response evidence paths are available for the changed surface, including request IDs, audit events, or processor logs.
- Customer-facing docs describe the current behavior without exposing internal procedures.
- Security contacts and responsible disclosure instructions remain current.