09:41:00

Category:Examination Platform

KASTARA — Secure Online Examination System

Computer-based testing locked down with Safe Exam Browser

Role
Full-stack Engineer
Year
2025
KASTARA — Secure Online Examination System
SEB kiosk lockdown
Integrity
One active session
Sessions
Seeded Mulberry32
Randomisation

The problem with online exams

KASTARA is an online exam system for schools and campuses that kept running into the same problem: once an exam moves onto a screen, cheating gets very easy. A student can open another tab, search for the answer, ask an AI chatbot, or hand their login to someone else who takes the test for them. The proctor in the room usually has no way to prove any of it happened.

How KASTARA keeps it fair

Fair exams come down to two things: making sure the exam is the only thing on the screen, and making sure the right person is the one taking it.

Locked inside Safe Exam Browser

The core idea is that the exam only opens inside Safe Exam Browser, a lockdown browser that blocks other apps, copy and paste, shortcuts, and developer tools. Students sign in on a normal browser first, and the system hands them over to SEB with a one-time token. Every request after that carries a key from SEB that the server checks, so trying to open the exam in Chrome just doesn't work.

One account, one session

Locking the browser isn't enough if someone can log in with the same account from another room, so each account can only have one active session, and signing in somewhere else ends the old one. While the exam is running, things like switching windows are recorded with a timestamp and show up for the proctor straight away, which gives them something concrete to act on instead of a hunch.

Built for the people running exams

I spent just as much time on the people who run the exams. Teachers can write questions with math and chemistry formulas. Questions and answer options are shuffled for each student using a fixed seed, so the order can always be reproduced later. Multiple choice is graded automatically and essays can be marked by hand. The same system also changes its wording depending on whether it's used by a high school, a university, or a service academy.

It's a single Nuxt 4 app, with Vue 3 on the front end and Nitro serving the API, Prisma on PostgreSQL for the data, and Upstash Redis for rate limiting.

Built with

  • Nuxt 4
  • Vue 3
  • TypeScript
  • Tailwind CSS v4
  • Pinia
  • Prisma ORM
  • PostgreSQL
  • Upstash Redis

Share

Comments

Join the conversation

Sign in with GitHub to leave a comment on KASTARA.

Pip · Personal AI assistant

What would you like to know?

I'm Pip. I know Saleh's experience, projects, writing, and how to work with him.

Answers are AI-generated and can be wrong.

Attachments

100%