Skip to content

Threat model

What could go wrong in Sypnia Learn, and how each threat is answered.

Applies to EngineCloud
View as Markdown
ThreatAnswer
An exercise’s code escapes and reaches other learners or secretsit runs only in a runner sandbox: the branch and nothing else, no secrets, no production access, network only to package registries, time and memory limits, thrown away afterwards
A lesson file carries instructions aimed at the agentthe agent treats lesson text as data, never as orders; lesson files contain no scripts; checks are a fixed set of kinds, not code from the lesson
A course’s author reads learners’ dataauthors see how many learners pass each check, never who, unless a learner shares with the author’s organization
An agent fakes progressonly passing checks mark a lesson done; questions, deleting progress, the level and publishing are for people (403 person_required)
Forged check resultsthe runner’s results are signed and tied to the run and the commit
An explanation leaks a secret or customer datasecret values and masked columns are removed before anything is sent; rows only when the learner chooses
An organization watches its members’ learningit sees only what each member shares, and only lessons done
A lesson reads more of a project than it needsit reads with the learner’s own token, names and case text only
Fake product events trigger offersevents come signed (webhooks) or from a known source (EventBridge in Sypnia Cloud)
A harmful file inside a courseonly video, captions and images are accepted, SVG is cleaned, and files are served from the storage domain, never from the app’s

    Search pages, sections and terms