Scenario privacy

Who can read
your scenarios?

Your draft stays in the browser where you build it. If you send a snapshot link, anyone with the whole link can read that copy, including someone it gets forwarded to.

No account needed. You build and play on your own device, and your scenarios are saved there, not on our servers.
Your browser locks a snapshot before you share it. Opening the link doesn’t upload the scenario to Cynario.
Treat the complete link like a password. The app can’t take back a copy someone has already opened.
Before you send a scenario
Choose what the recipient gets.
Snapshot link
Send a copy that someone can open later, even when you’re offline.
Live editing invite
Invite someone to work on the current scenario with you. The invite itself contains no scenario.
Exported file
Keep a readable backup or give someone a file to review. An ordinary .cynario export is not encrypted.

Sharing

What’s in the link?

A snapshot link holds both a locked copy and the secret that opens it. Both come after the #, the part your browser leaves out when it asks the website for the page.

The technical version: Sharing

Snapshot links carry AES-256-GCM ciphertext with the decryption key in the URL fragment. The server receives the request for /shared without the fragment. The recipient’s browser decrypts the snapshot and checks it before import.

A compact live invitation contains an independent, random 256-bit room capability, not a snapshot or its key. Signaling starts only after Join. A ready peer supplies the current scenario, which the receiving browser validates. Without a ready peer, the invitation alone cannot recover the scenario.

Signaling and relay services do not receive scenario plaintext or the raw bearer capability. Depending on the transport, they can see ciphertext, opaque room IDs, IP addresses, timing, message sizes and peer counts.

Your device
In a live editing session, your browser locks the scenario before sending it.
Encrypted
Connection service
It helps browsers connect and may pass messages along. It can see when you connect, but cannot read those messages.
Encrypted
Your collaborator
After they choose Join, your collaborator’s browser receives the current scenario and checks it before they edit.

A live editing invite opens a room, not a saved copy. If nobody with the scenario is connected, ask for a snapshot link or a file instead. An audience link is different: viewers see the presentation, not the editable scenario or the facilitator’s private notes.

On your device

Where is my draft saved?

Cynario saves your work in this browser, not in an online account. Export a file if you want a backup or need someone to review it.

Keep a backup

Clearing your browser’s site data can erase your library. An exported file lets you open the scenario again.

Review it before training

The scenario file includes the text, choices and rules. A colleague can read it and compare versions before learners see it.

The technical version: On your device

The builder and player run client-side. Local authoring needs no central scenario service. A .cynario scenario document uses human-readable JSON, so reviewers can compare revisions in Git.

Choices and scores

What can a scenario rule do?

A rule can add a point or choose the next scene. It can’t read your files, use your clipboard, open other tabs or send your answers over the network.

Change the exercise

A rule can update a score when you leave a scene and use it to decide what happens next.

Show an answer in the story

A scene can use a saved answer in its text. Displaying that answer doesn’t give it the power to run commands.

The technical version: Choices and scores

The expression language is declarative. Its interpreter accepts a fixed allow-list of operations for comparisons, arithmetic, branching and helper functions. There is no eval or Function. The formula bar parses text into operations and validates them before storage; it never executes the formula as JavaScript.

There are no loops or iteration operators in the language, and recursion is depth-capped. Expression size is bounded. Variable lookups read own keys only and reject __proto__, prototype, and constructor. Numeric coercion maps non-finite values to 0; division by zero yields 0.

Actions write declared variables, not reserved or derived fields, and return a fresh state map. Randomness and player input are recorded once and re-read on replay. Text templates read state without writing it.

Slides and video

Can a slide see the rest of my library?

No. A slide deck runs in a separate frame that can display the slides but cannot read your library, the page around it or the secret in your share link.

Slides can be interactive

Cynario keeps the deck separate from the app. It doesn’t promise that a slide file contains no scripts.

You choose whether to load YouTube

The player contacts YouTube only after you approve loading that video. Until then the video provider receives no request for it.

The technical version: Slides and video

Slides use an opaque-origin sandboxed iframe (allow-scripts without allow-same-origin). The frame cannot access the parent page, library, session or share key. Under the shipped Content-Security-Policy, the controlled Presenter runtime is hash-authorized; arbitrary inline scripts in a deck are not.

The production script-src policy permits same-origin scripts, specific hashes and the YouTube player API. The wasm-unsafe-eval token permits WebAssembly compilation, not JavaScript eval. img-src permits only self, data: and blob: images. object-src and frame-ancestors are both set to none.

Production headers also specify two-year HSTS with includeSubDomains and preload, same-origin COOP, nosniff and no-referrer. Permissions-Policy disables camera, microphone, geolocation, payment, USB and interest-cohort.

Text and pictures

Can a picture in the text track who opens it?

A tracking image in ordinary scenario text won’t load from another website. You can still choose to follow a link yourself.

Text stays text

If a learner types an answer that looks like a command, Cynario displays it as text rather than running it.

Scripts are removed from ordinary text

Cynario filters the author’s formatting before showing it. Slide decks have a separate set of protections.

The technical version: Text and pictures

Bound values are HTML-escaped before markup is rendered. Rendered HTML passes through DOMPurify. Script tags and inline event handlers are removed, as are style, form, input, button, textarea and select tags and inline style attributes.

Navigation links may use HTTP(S), mailto:, tel:, anchors or permitted relative paths, not javascript:. Automatic fetch attributes (including src, srcset, poster and background) are restricted to inline or local targets. The production img-src policy independently blocks remote images.

Without a browser DOM, the sanitizer strips tags instead of returning unfiltered HTML. Import size limits and byte, tag-count and nesting-depth limits ahead of the template engine reject oversized or excessively nested markup.

Before recording player input, Cynario caps text length, normalizes it to Unicode NFC and strips unsafe control, zero-width and bidirectional override characters. Numeric input must be finite and within the configured range or submission is refused.

Opening a file

What happens if someone sends me a broken file?

Cynario checks the file on your device before adding it to your library. If a check fails, it tells you why and stops without saving the scenario.

The same checks apply to samples

A file from disk, pasted scenario text, a catalog download and a bundled example all go through import checks.

A failed check can’t be skipped

There is no “load anyway” option. Later checks are marked “not run” rather than shown as passes.

The technical version: Opening a file

The import gate inspects scenario shape, file and field size limits, the rule allow-list, reserved keys and nesting depth. Only a passing scenario can be sanitized into a fresh copy and saved. Passing these checks does not certify that the training advice is sound.

Automated tests cover hostile markup across render engines, tracking images, forbidden rule operations, prototype pollution, excessive nesting and size, and sanitizer failure behavior.

Catalog files

What does a signature tell me?

A valid signature tells you that a file hasn’t changed since someone signed it with a particular digital key. It doesn’t tell you who held the key or whether the advice is good.

Check who owns the key

If you rely on a particular publisher, confirm their public signing key with them through a channel you already trust.

Signed files still get checked

You choose which catalogs to use. Their files go through the same import and display checks whether they are signed or not.

The technical version: Catalog files

If a catalog entry declares a content hash, the bytes we fetch must hash to exactly that value. Cynario compares the SHA-256 digest of the downloaded bytes before parsing. A source policy may require a hash, not just check one if present.

A pinned publisher key requires an Ed25519 signature over the same content. Missing or invalid signatures fail closed. A signature-required policy also refuses an absent key. Bundled examples skip the network checks. Tests use signed fixtures; a passing test does not verify a live publisher.

Limits

What stays outside these protections?

A shared link can be copied, a connection can be noticed and a learner can retry. Encryption and signatures don’t prevent those things.

Recipients can pass a copy on

Chat apps, browser history and clipboard tools may keep the complete link. Without the secret in the link, even Cynario can’t recover a locked snapshot for you.

A live session isn’t anonymous

The service connecting the room may see where connections come from, when people join and how much data they exchange. It can’t read the protected content.

Signed results don’t prove fair play

A learner can skip ahead, change data on their device or try again. A signed result alone is not enough to supervise a high-stakes exam.

Your device holds a readable copy

A person with access to your browser profile or exported file may be able to read it. Protect those copies as you would any other sensitive training material.

The technical version: Limits

A portable result can establish that its bytes are intact and that a particular key signed them. The included device key does not establish participant identity, trusted device state or proctored conditions. High-stakes proctoring still needs an external trusted authority.

A static host, catalog source, signaling service, relay, or container operator may see IP addresses, timing, request paths, and ciphertext sizes. Zero-knowledge describes the content boundary, not network anonymity. Protected static sources use a separate password and publisher pin, not a self-contained snapshot link.

Try a scenario on your own device

Build a practice scene and play through it in your browser. When you’re ready to share, choose a snapshot for a copy or a live invite for a collaborator.