Plugin security checklist
Your plugin page sits inside a support team's inbox and your backend answers for their customers' data. Go through this list before you install a plugin for a real store.
On your backend
- Check
org_idagainst your own customer list. Your manifest URL is public: any Konvo organization can install your plugin, and it gets genuine, correctly signed tokens. The signature proves the request comes from Konvo, not that it comes from your customer. - Verify every token: the signature against Konvo's JWKS,
iss,exp, andaudequal to your own page's origin. A token issued for another plugin has a differentaud. - Use the
ticket_idfrom the token, never a ticket id the page sends you. Konvo signs only tickets the user can see. - Send the token in the
Authorizationheader, not in a URL, where it would end up in logs. - Keep API keys on your server. Use a read-only key if your plugin only reads, one key per organization, and revoke a key the moment it may have leaked. Settings shows when each key was last used.
On your page
- Allow only Konvo to frame it:
Content-Security-Policy: frame-ancestors https://k2.konvoai.com. - Show nothing until you have a token, and get every piece of data from your backend with it. Someone opening your page URL directly must see nothing.
- Read messages only from Konvo: check
event.originishttps://k2.konvoai.comandevent.sourceiswindow.parent. - Don't rely on cookies. Browsers block or partition cookies in third-party frames; the session token is your login.
- Never ask for a password inside the panel. Konvo shows your domain in the section header, but a login form inside the inbox still trains agents to type passwords where they shouldn't.
On your MCP server
- Its tools act for the store's AI agent. Once an admin turns a tool on, it can be called on any of the organization's conversations. Expose only what the agent should do, and make anything that changes data (refunds, cancellations) ask for what it needs explicitly.
- Use OAuth, so every organization signs in. A server without sign-in answers anyone who has its address. With OAuth, each organization's admin grants access, and you know which of your customers is calling.
- Don't trust
_metaon its own. The organization and conversation ids Konvo sends tell you where a call comes from, but any caller can send them. Match the organization against the account that signed in. - Serve it over https from a host you control, under the same rules as your page.
Your manifest URL
- Protect it like a login. Konvo follows your manifest automatically, page address and MCP server included, for every organization that installed it. Whoever can change that file — or take over its domain — controls your plugin everywhere, including which server the stores' AI agents can be connected to.
- Keep the domain renewed, restrict who can deploy the file, and serve it from a host you control (not a public bucket others can write to).
What Konvo does on its side
- Loads your page in a sandbox that can't navigate the inbox tab or open blocking dialogs, and can't reach the camera, microphone or location.
- Puts only the theme and language in your page's URL; everything else travels in the signed token.
- Never loads plugins while Konvo staff impersonate a member.
- Shows the domain your content comes from in the section header.
- Connects an MCP server only when it is new to your manifest, and never reconnects one an admin removed. An OAuth server is never used until an admin of that organization authorizes it.
- Writes every install, update, switch-off and removal to the organization's audit log.