This page collects security-relevant limitations that affect deployment planning, access control, billing interpretation, incident response, and AI safety. It complements the engineering note in docs/KNOWN_LIMITATIONS.md.
Security And Access Control
| Limitation | Impact | Mitigation |
|---|---|---|
| Some routes rely on broad organization membership checks instead of a narrower permission string. | A member may have access to a configuration route that should eventually require a more specific permission. | Review sensitive endpoint changes against the RBAC matrix and tighten checks when modifying those routes. |
| Platform admin access is separate from organization roles. | Organization admin users cannot use /api/admin/*, and platform admins may have broader internal visibility. | Keep internal admin routes limited to isAdmin: true sessions and audit admin actions. |
| Widget identity verification is optional for public chat. | Anonymous visitors can use public assistant flows, but customer-specific answers must not depend on unsigned identity. | Require signed identity before enabling customer data tools. |
| Customer data tool safety depends on upstream ownership markers. | If a connector response lacks reliable owner fields, cross-user filtering has less evidence. | Return userHash, user ID, account ID, or another supported owner marker in connector results. |
| Connector credentials are only as narrow as the upstream system allows. | A broad upstream token can expose more data than one widget user should reach if upstream authorization is not scoped. | Use least-privilege API credentials, separate environments, and read-only scopes for customer-data lookup flows. |
| Audit logs support investigation but do not replace access control. | Logs can confirm behavior after the fact, but they cannot prevent an unauthorized route or connector call by themselves. | Keep authorization checks in code and review audit records after security-sensitive releases. |
Data Residency And Retention
| Limitation | Impact | Mitigation |
|---|---|---|
| Per-organization data residency is not self-service. | Regulated customers may need deployment-level region confirmation before launch. | Document the MongoDB, file storage, vector storage, model provider, email, and billing regions for the deployment. |
| Retention windows are not configurable per organization in the UI. | Deletion and retention requests may require operational workflows. | Define lifecycle jobs and support procedures for the deployment. |
| Third-party processors retain their own records. | Stripe, email providers, OpenAI, and infrastructure logs may keep data under separate terms and legal obligations. | Minimize prompt and metadata content; review processor contracts and settings. |
Prompt Injection And AI Behavior
| Limitation | Impact | Mitigation |
|---|---|---|
| Prompt injection cannot be eliminated completely. | The model may still be exposed to hostile instructions in user text, retrieved documents, or connector output. | Use the layered controls in Prompt-Injection Defenses and keep authorization in code. |
| Tool descriptions and OpenAPI specs are customer-controlled configuration. | Malicious metadata can try to steer the model or leak fake internal details. | Sanitize descriptions, reject unsupported identity templates, and validate specs before tools are exposed. |
| Generated answers can be wrong even when access control succeeds. | The assistant may summarize permitted information inaccurately. | Keep high-risk workflows read-only unless reviewed, and show source records or escalation paths where needed. |
| Security failures intentionally use generic errors. | Users and integrators may receive less diagnostic detail for denied identity, unauthorized tools, SSRF, or ownership mismatch events. | Use redacted audit logs and correlation IDs during investigation rather than exposing sensitive details to the assistant or browser. |
Incident Response Limitations
| Limitation | Impact | Mitigation |
|---|---|---|
| Incident response depends on available audit evidence. | If a deployment has incomplete request IDs, processor logs, or connector ownership markers, impact assessment may take longer or be less precise. | Preserve correlation IDs, tool call IDs, organization IDs, connector IDs, timestamps, and redacted connector configuration when investigating. |
| Third-party providers have separate incident processes. | Stripe, OAuth providers, model providers, email services, storage, and infrastructure vendors may control parts of the evidence and remediation timeline. | Maintain vendor support contacts, processor lists, and region/retention evidence for each deployment. |
| Public docs do not disclose internal response procedures. | Customers can see expected phases and contacts, but private escalation paths and infrastructure steps are intentionally omitted. | Use Security Operations for public incident phases and contractual channels for customer-specific coordination. |
Security Update Limitations
| Limitation | Impact | Mitigation |
|---|---|---|
| Security documentation can lag code if not updated during release work. | Customers may see stale limitations or control descriptions after a security-sensitive change. | Treat docs updates as required for changes to authentication, authorization, connectors, prompt-injection controls, audit logging, billing authorization, processors, or retention. |
| Automated tests cover known attack classes, not every possible prompt or connector behavior. | A novel prompt-injection pattern, upstream API behavior, or model behavior may not be caught until observed. | Add regression cases after incidents, vulnerability reports, new connector types, or customer security review findings. |
| Customer-specific deployment configuration is not fully represented in product docs. | Processor regions, retention, feature flags, and connector scopes can differ by environment. | Keep deployment-specific evidence packs alongside the general docs and review them before production sign-off. |
Billing Limitation
Stripe Billing Meters currently aggregate usage at the Stripe customer level, not the organization level. If one user owns multiple organizations that share the same channel, Stripe shows a correct total but cannot break that usage down by organization.
Application analytics can approximate per-organization volume, and a future implementation can use Stripe meter dimensions and subscription-item filters. Billing totals remain correct; attribution granularity is the limitation.
Review Cadence
Review this page before production rollout, after security incidents, after vulnerability reports, and before releases that change authentication, authorization, widget identity, customer data connectors, AI tool execution, audit logging, billing authorization, data residency, retention, or third-party processor handling.
Out Of Scope
This documentation does not disclose internal security processes, penetration testing details, private infrastructure diagrams, or unpatched vulnerability details.