Security
What an Ordana widget adds to your code
Short answer: Your own coding agent adds one folder, one route, two short files and one server setting to your code. Ordana never reads your repository. Your server makes one kind of call to Ordana: "may this person use the widget?". Products that add your widget get a link to put in an iframe, not your code.
"Trust us" isn't an answer, so this page shows the diff instead: every file, the one call, and what reaches Ordana.
The diff, file by file
Your own coding agent writes all of it, in your repo, and you review it like any other change.
- ordana-widget/ (one folder) + one route
- The widget's page, served from your own domain. Other products show it in an iframe. It has to work logged out and allow being framed.Who sees it: Anyone who opens it, like any page on your site
- A preview page
- A clickable demo with made-up data. No API calls, no sign-in, no key.Who sees it: Public once your widget is listed
- ORDANA_WIDGET.md
- Notes for your next coding session: what you decided, which files belong to the widget, and what it depends on.Who sees it: Only you, in your repo
- ordana-widget.json
- The widget's description (name, screens, price, the embed link). No secrets. The private product summary is left out if your repo is public.Who sees it: Only you, in your repo
- A short "Ordana widget" section in CLAUDE.md / AGENTS.md
- Tells any coding agent to check the widget before it changes something the widget uses.Who sees it: Only you, in your repo
- An activity log table in your own database
- How the widget is used, so you can improve it. Rows from people who haven't signed in carry no id, and rows are deleted after 12 months.Who sees it: Only you. Ordana never receives it
- ORDANA_WIDGET_KEY (one server setting)
- The key your server uses to ask Ordana before each use. Server only: never in the browser, a log or a file git tracks.Who sees it: Your server. Your agent sees it once when it installs it
The one call your server makes
Before each use, your server asks Ordana whether this person may use the widget. That is how free uses are counted and paid ones are checked. This is the whole request:
POST <Ordana API>/widget-entitlements
Authorization: Bearer $ORDANA_WIDGET_KEY # server only
{
"action": "check",
"attachment_key": "wak_…",
"end_user_ref": "oid_…",
"consume": 1
}- attachment_key
- Which product the widget is shown in (a public key, the same one in the iframe link).
- end_user_ref
- Who is using it: an Ordana sign-in id (oid_…), the host's own sign-in id (hid_…) or a random id before sign-in (anon_…). Never your own user id, never an email. An email-shaped value is refused.
- consume
- How many uses to count, 0 to 50. Zero just asks "may they?".
Ordana hashes the person's id the moment it arrives and never stores it as sent. Sign-in is standard OpenID Connect ("Continue with Ordana"). You learn a person's name and email only after they press Continue, with an id that is different in every widget.
What a product that adds your widget gets
A link. The host puts it in an iframe and adds one line that resizes the frame. No server code, no database, no secret on their side. The key in the link is public on purpose.
<iframe src="https://yourproduct.com/ordana-widget/embed?key=wak_…&mode=card"
style="width:100%;border:0" allow="clipboard-write"></iframe>
<script>
addEventListener("message", (e) => { /* resize the frame */ });
</script>The browser loads your page inside theirs as a separate site, so the host sees what any visitor sees. The two pages only talk through a few named messages (the frame's height, and optional fields the user agrees to share), and each side checks where a message came from.
What Ordana receives, and what it never gets
- The widget's description: name, summary, screens, price, the embed and preview links
- Shown on your listing once you launch
- Docs for products that add it: how to embed it, what to send it
- Public by default (you can limit them to hosts). Secrets are scrubbed on the way in, and your agent is told never to list internal routes
- A short summary of your product
- Private. Used to match you with partners. It describes the product, never its users
- The checks your server makes
- The user id is hashed on arrival and never stored as sent
Never
- Your repository. Ordana has no way to read it. Your own agent reads your code where it already runs.
- Your database, your customers or your activity log.
- Your server settings. Of the one key it makes for you, Ordana keeps only a hash.
- Anything the host and the widget pass to each other in the browser (shared context). It moves between the two pages and never through Ordana.
What your coding agent can do on Ordana
You connect your agent to Ordana once. Its access is a token that only works on Ordana's own MCP, for your own startup, and you can disconnect it at any time.
It can
- Set up and update your own widget
- Read its numbers and earnings
- Create one server key and install it (it then tells you it has seen it)
- Launch the widget the first time, only after you say yes in the chat and give your legal name
It can't
- Change your price, free uses or the host's share after launch
- Unlist the widget
- Move money or set up payouts
- List or revoke your keys
- Delete anything, or refund anyone
One honest catch: because your agent installs the server key, it has seen that key once. It tells you so. If you'd rather only you had seen it, rotate the key in Ordana. Two keys can be active at once, so the widget keeps working while you switch.
Switching it off
- Pause or switch off one product
- You can stop new products adding it, or switch it off for one product. People who already paid keep it to the end of what they paid for, and that product is told.
- Unlist it
- It leaves the directory and no new product can add it.
- Remove the code
- Ordana gives your agent a removal prompt. It deletes only the files the widget added (they're listed in ORDANA_WIDGET.md).
- Change the price
- Products already using it get 30 days' notice. A running subscription is never re-priced.
- Delete it
- Refused while a product still has it live or someone still pays for it, so nobody loses something they paid for.
The paperwork, before any code
You don't need to negotiate a contract first, because it already exists. These apply before anything goes live:
- Terms of Service
- What you and Ordana agree to. Accepted at sign-up.
- Data Processing Agreement
- How Ordana handles personal data for you. Part of the Terms.
- Privacy Policy
- What Ordana collects, why, and every provider it uses (§5.2).
- Widget terms
- The deal for listing a widget: the split, the 30 days' notice, what each side may do. You read them in full in Ordana before you launch, and nothing binds you until you accept them.
- Widget terms of sale
- What a person who buys your widget agrees to. Ordana is the seller of record.
Ordana's data is stored in the EU (Stockholm, Sweden). Every provider we use is listed in the Privacy Policy, §5.2. We don't have SOC 2 or ISO 27001 yet, and we won't imply that we do.
Frequently asked questions
Does Ordana get access to my repository?
No. Your own coding agent reads your code where it already runs. Ordana only receives what the agent saves: a description of the widget, docs for the products that add it, and a short private summary of your product.
Can a product that adds my widget see my code or my data?
No. It puts your widget's link in an iframe. The browser loads your page inside theirs as a separate site, so the host sees what any visitor sees. The widget and the host only talk through messages that each side checks by origin.
What does my server send to Ordana?
One kind of call before each use: which product the widget is in, an id for the person (an Ordana, host or random id, never your own user id or an email) and how many uses to count. Ordana hashes the person's id on arrival and never stores it as sent.
What do I learn about the people who use my widget?
Before they sign in, nothing but a random id. After they press Continue with Ordana, you get their name, their email and an id that is different in every widget.
Is there a contract before I connect anything?
Yes. The Terms and the Data Processing Agreement apply from sign-up, and you read the widget terms in full before you launch. Nothing goes live until you accept them.
Does Ordana have SOC 2 or ISO 27001?
No, not yet. We'd rather say so than imply it. What we can show is this page: exactly what the widget adds to your code and what reaches us. Ordana's data is stored in the EU (Stockholm, Sweden).
Can I switch it off?
Yes. You can pause new products, switch it off for one product, or unlist it. People who already paid keep it until the end of what they paid for. Ordana also gives your agent a prompt that removes the widget's files.